GeneralThe caption and label in autocomplete

General information and discussion about TeXnicCenter
Post Reply
Zikes
Posts: 4
Joined: Tue Mar 04, 2008 2:28 pm

The caption and label in autocomplete

Post by Zikes »

Hi all!

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!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
Zikes
Posts: 4
Joined: Tue Mar 04, 2008 2:28 pm

Re: The caption and label in autocomplete

Post by Zikes »

Hmm.. now I noticed that this was reported in http://www.latex-community.org/viewtopic.php?f=31&t=231 as well. So any moderator could delete this thread now if they want.
Post Reply