PDA

View Full Version : Strange error regarding table in latex


ladil123
Jun17-09, 12:38 PM
Hello!

Im having trouble creating my pdf file with texmaker.
I have a large document and I have created many tables in my code.

But now when I have written the code below for a table texmaker wont create the pdf file when it should.
It only says "process started", but nothing happens?

Have anyone had a similair problem? Or have I missed something trivial in my code below?
Thanks!


\begin{table}[H]
\begin{center}
\begin{tabular}{ | l | c | }
\hline
Type & Setting \\ \hline
Average size & 0.07 \\ \hline
Minimum size & 0.08 \\ \hline
Grading factor & 1.2 \\ \hline
Maximum angle & 35\\ \hline
end{tabular}
\caption{\emph{bla bla.}\label{tab:meshtab}}
\end{center}
\end{table}

cristo
Jun17-09, 12:41 PM
\begin{table}[H]
\begin{center}
\begin{tabular}{ | l | c | }
\hline
Type & Setting \\ \hline
Average size & 0.07 \\ \hline
Minimum size & 0.08 \\ \hline
Grading factor & 1.2 \\ \hline
Maximum angle & 35\\ \hline
end{tabular}
\caption{\emph{bla bla.}\label{tab:meshtab}}
\end{center}
\end{table}

You're missing a \ before end in the bold line.

ladil123
Jun17-09, 12:47 PM
Thanks man!

That was lame of me... I have starred at this table for 30 minutes.....

thanks

cristo
Jun17-09, 01:01 PM
That was lame of me... I have starred at this table for 30 minutes.....


Haha, no worries. Sometimes it just takes a fresh set of eyes!