Take the 2-minute tour ×
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.

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.

share|improve this question
    
possible duplicate of Selective numbering of equations with align See also Make align* number the last equation, which is at least a little related. –  Torbjørn T. Aug 18 '12 at 23:59
add comment

marked as duplicate by Torbjørn T., cmhughes, percusse, Gonzalo Medina, Harish Kumar Aug 19 '12 at 1:09

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers

up vote 5 down vote accepted

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

share|improve this answer
    
I think we jumped here together. I changed my answer to \nonumber. –  Harish Kumar Aug 18 '12 at 23:45
    
@HarishKumar No problem. Today, I had this more than twice :) –  percusse Aug 18 '12 at 23:47
    
Thanks to both of you for that quick fix! –  Bibi541 Aug 18 '12 at 23:58
add comment

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}
share|improve this answer
add comment

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