General ⇒ The caption and label in autocomplete
The caption and label in autocomplete
I'm new here but I just solved what has been a total harrasment from Texniccenter. When using the autocomplete function in Texniccenter on tables etc. it produces...
\begin{table}{ccc}
\label{}
\caption{}
\end{table}
However. This is faulty if you want to use \ref{} command later (or previous).
\caption is "fragile" and needs to be before \label
I haven't found out how to change the autocomplete in texniccenter so at this point I'm left with changing this manually. It took me a long time to find this on google etc. so I thought I'd make a note of it here.
Take care!
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis