4

Possible Duplicate:
Selective numbering of equations with align

I would like to know, how to number only one specific line among many, in the align environment.

For instance, I don't want to number all the step of my equation, only the final result.

2 Answers2

7

You can use the \notag command

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
x=5\notag\\
y=2\notag\\
z=1
\end{align}
\end{document}

enter image description here

percusse
  • 157,807
6

You can use \notag or \nonumber to get rid of numbers.

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
ax^2+bx+c
        & = 0\nonumber\\
ax^2+bx
        & = -c\nonumber\\
ax^2+bx
        & = -c
\end{align}
\end{document}
David Carlisle
  • 757,742
  • \nonumber seems to be preferable. See https://tex.stackexchange.com/questions/48965/what-is-the-difference-between-notag-and-nonumber-in-align-environment – Johannes Jul 29 '19 at 14:57