0

If i do:

\begin{align}
    a = b \\
    b = c \\
    c = d \\
\end{align}

The output will be like:

(1)        a = b
(2)        b = c
(3)        c = d

If I use algin* instead. No row will be enumerated.

Is there a way to get the following output?

           a = b
           b = c
(1)        c = d
ShreevatsaR
  • 45,428
  • 10
  • 117
  • 149
htellez
  • 195
  • See for example http://tex.stackexchange.com/questions/65207/selective-numbering-of-equations-with-align and the linked questions. – Torbjørn T. Apr 15 '13 at 09:36

1 Answers1

2

Rather than choosing which rows to enumerate you could let mathtools enumerate only the equations you reference.

\documentclass{article} 

\usepackage{mathtools}

\mathtoolsset{showonlyrefs}

\begin{document}

\begin{align}
  a = b \\
  b = c \label{eq:unused} \\
  c = d \label{eq:used} % Only this row will be enumerated as it's the
                        % only row that is referenced to.
\end{align}
\eqref{eq:used}

\end{document}
ShreevatsaR
  • 45,428
  • 10
  • 117
  • 149
N.N.
  • 36,163