Strange error regarding table in latex

Click For Summary

Discussion Overview

The discussion revolves around an issue with LaTeX code in creating a PDF document using Texmaker, specifically related to a table that fails to compile. Participants explore potential errors in the code and seek solutions.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant describes a problem where Texmaker does not generate a PDF file, indicating that the process starts but does not complete.
  • The same participant shares their LaTeX code for the table, asking if others have experienced similar issues or if they have overlooked something trivial.
  • Another participant points out a missing backslash before "end" in the LaTeX code, suggesting this as a potential source of the problem.
  • The original poster expresses gratitude for the correction and acknowledges their oversight after spending considerable time on the issue.
  • A later reply offers reassurance, suggesting that sometimes a fresh perspective can help identify mistakes.

Areas of Agreement / Disagreement

Participants generally agree on the identification of a coding error, but the discussion does not explore any further unresolved issues or alternative explanations for the original problem.

Contextual Notes

The discussion does not address any specific limitations or assumptions beyond the identified coding error.

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 0 ·
Replies
0
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 5 ·
Replies
5
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K