I use TeXnicCenter 1.0 stable rc1
Trivial question:
I want to insert label in equation. Of course I can write it manually and it works but I suppose that should be possible with right click on equation in "Navigator" window, and choosing "insert label" from context menu.
But for some reason it is not possible - right click on some equation gives context menu with grayed "insert label", "insert reference" and "insert reference to page", so they are not clickable at all!
On the other side - right click on Headers (in Navigator) works fine!
I am obviously missing something.
General ⇒ Unable to "insert label"
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
Unable to "insert label"
LaTeX.org admin
Unable to "insert label"
The "insert label" command is used to insert an alrady specified label of that item. For example, if you have an equation defined as
Then, upon clicking on "insert label", TeXnicCenter (TXC) will insert
So, if you want to add a label to an equation, you should include the
Code: Select all
\begin{equation}\label{eq:simple}
a=b
\end{equation}
eq:simple
and, if you click "insert reference", TXC will write \eqref{eq:simple}
.So, if you want to add a label to an equation, you should include the
\label
statement manually (unless another way to do that exists).