I am getting very frustrated with my report! It is the first thing I have written using Latex and I am finding certain things very difficult.
I was writting my script on one of the computers in my office. Unfortunately this PC is the only one for a few programmes so I had to move to another one. I opened up my .tex file and corrected a spelling mistake. When I compile my document I am getting the error message: "not in outer par mode" for the 25 tables I have in my report and lots of warnings about my references not being defined.
I really don't understand what has changed. I literally changed a spelling and nothing in the code?! Everything was working perfectly on the other PC.
This is a table I have copied directly from my code
Code: Select all
\documentclass[a4paper,12pt]{report}
\usepackage{caption}
\begin{document}
\begin{table}
\begin{tabular} {lllll}
\hline
& x & y & z & U$_{eq}$\\
\hline
P(1) & 754.9(5) & 2317.7(4) & 7316.8(3) & 192.4(12)\\
O(1) & 2021.7(17) & 1160.2(11) & 7856.3(10) & 278(3)\\
N(1) & 4256(2) & 8954.9(13) & 7548.7(12) & 283(3)\\
O(2) & -1010.1(15) & 2036.3(11) & 6697.6(10) & 273(3)\\
C(2) & 50(2) & 3540.0(15) & 8285.0(13) & 224(3)\\
C(3) & 328(2) & 4911.9(15) & 7545.9(13) & 222(3)\\
O(4) & 1527.7(16) & 4878.8(10) & 6596.6(10) & 241(3)\\
C(5) & 2278(2) & 3563.1(15) & 6352.0(13) & 205(3)\\
O(21) & -1927.6(17) & 3427.6(13) & 8763.5(10) & 314(3)\\
C(21) & 1442(3) & 3398.9(18) & 9252.4(15) & 312(4) \\
O(31) & -422.9(19) & 5966.7(12) & 7739.3(11) & 331(3)\\
C(51) & 1991(3) & 3519.7(18) & 5107.5(14) & 293(4)\\
C(52) & 4463(2) & 3401.8(15) & 6628.7(13) & 220(3)\\
O(53) & 5417.4(16) & 2412.4(12) & 6201.0(11) & 317(3)\\
O(54) & 5214.3(18) & 4116.8(13) & 7198.9(12) & 361(3)\\
C(61) & 6428(3) & 9146.8(18) & 7668.8(18) & 385(5)\\
C(62) & 6804(3) & 9757(2) & 8707(2) & 465(5)\\
C(63) & 3922(3) & 8559(2) & 6419.0(16) & 407(5)\\
C(64) & 1778(3) & 8753(2) & 6101.7(18) & 451(5)\\
C(65) & 3323(2) & 8009.7(16) & 8520.5(14) & 269(3)\\
C(66) & 4343(3) & 6625.6(17) & 8718.0(16) & 330(4)\\
\hline
\end{tabular}
\caption[Atomic co-ordinates ($\times$ 10$^{4}$) and equivalent isotropic displacement parameters for trieth-\textbf{3}.]{Atomic co-ordinates ($\times$ 10$^{4}$) and equivalent isotropic displacement parameters for trieth-\textbf{3}. (\AA\,$\times$ 10$^{4}$) with standard uncertainties (s.u.s) in parentheses. U$_{eq}$ is defined as 1/3 of the trace of the orthogonalized U$_{ij}$ tensor.}
\end{table}
\end{document}
Any suggestions would be appreciated.
Thanks,
Katie