LaTeX Strange error regarding table in latex

AI Thread Summary
The discussion revolves around a user experiencing issues with Texmaker when trying to create a PDF from a large document containing tables. The user reports that the process starts but does not complete, prompting a request for help. Another participant identifies a coding error, specifically a missing backslash before "end" in the table code, which is crucial for proper syntax. The user acknowledges the oversight and expresses relief, noting the difficulty in spotting such errors after prolonged focus on the code. The conversation highlights common challenges in LaTeX coding and the value of collaborative troubleshooting.
ladil123
Messages
42
Reaction score
0
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 won't 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}
 
Physics news on Phys.org
\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.
 
Thanks man!

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

thanks
 
ladil123 said:
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!
 

Similar threads

Replies
3
Views
3K
Replies
3
Views
2K
Replies
9
Views
2K
Replies
5
Views
6K
Replies
1
Views
2K
Back
Top