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.

1

2 Answers 2

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

2
  • I think we jumped here together. I changed my answer to \nonumber.
    – user11232
    Commented Aug 18, 2012 at 23:45
  • @HarishKumar No problem. Today, I had this more than twice :)
    – percusse
    Commented Aug 18, 2012 at 23:47
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}
1

Not the answer you're looking for? Browse other questions tagged .