TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have the following code:

[m] &= [n] \nonumber \\

  &= b  

If I cross reference the equation, with Equation~\ref{eq:m}, I want only the equation number, without the word 'tag'. Can this be done? Thanks a lot.

share|improve this question

Use \ltx@label, which is the default \label inside a display environment. From the amsmath documentation:

... we store the default definition of \label in \ltx@label and then define a new version of \label for use in math display environments. \label@in@display merely issues a warning message if there is already a pending label (which will be discarded) and then stores the label in \df@label.

Below I've wrapped it inside a user interface \ltxlabel:

enter image description here

\usepackage{amsmath}% http://ctan.org/pkg/amsmath
  [m] &= [n] \nonumber \\
      &= b \refstepcounter{equation}\ltxlabel{eq:m}\tag{\theequation,~tag}
See Equation~\ref{eq:m}.

Since you're using amsmath, you may consider using \eqref.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.