Math & ScienceRendering equation labels

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
episanty
Posts: 26
Joined: Tue Mar 24, 2009 2:24 am

Rendering equation labels

Post by episanty »

Hi!

I'm working on a longish document with a fair number of equations, and I was wondering if there was a way to force LaTeX into rendering, next to the equation number, the equation label used to describe it -- perhaps in the margin and in a paler font or something. The thing is, when I'm using the rendered text to write or correct, or for back reference, I see the equation I want -- but then I have to slog through the source file to find the equation label.

It's really no biggie for me (right now), but I can imagine that when writing longer texts this would be a great help. Is there some way to do this?

thanks,
episanty

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Rendering equation labels

Post by localghost »

Just use the showlabels package.


Best regards
Thorsten
episanty
Posts: 26
Joined: Tue Mar 24, 2009 2:24 am

Re: Rendering equation labels

Post by episanty »

thanks!

also, is there a way to print only the equation numbers which are referenced later on? that is, to make \begin{equation}a=b\label{one}\end{equation} behave like \begin{equation*}etc, unless there is a \ref{one} somewhere in the text?

thanks again,
episanty
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Rendering equation labels

Post by localghost »

Load the mathtools package from the mh bundle and refer to its manual (Section 3.2.2 - Showing only referenced tags, p. 9f).
Post Reply