How do I turn off equation auto numbering
Do a \begin{align*}
... \end{align*}
. That should do the trick.
If you only want some of the lines in an align environment to not be numbered, just put \nonumber
before the end characters on each of the lines you don't want to have numbers. Otherwise, use align*
as JCL suggested so that none of the lines will be numbered.
As a sidenote, the mathtools
package, which makes some improvements on amsmath
, provides a way of labeling only those equations that are referenced in the text.
\documentclass{article}
\usepackage{mathtools}
\mathtoolsset{showonlyrefs}
\begin{document}
\begin{gather}
a = b \label{eq1} \\
c = d \label{eq2}
\end{gather}
Some text, \eqref{eq2}.
\end{document}
In this case, only the second of the equations, c = d
, is numbered, as that is the only one being referenced in the text.
Notes
- three compiler passes are required for the references to show up properly
- this does not work with
cleveref
, but thecleveref
manual mentions another package,autonum
, that performs the same task, yet is compatible withcleveref
. - the manual of the present version (dated 2012/05/10) notes two bugs, one can cause that the number is printed close to, or on top of, the equation, the other relates to
ntheorem
. Refer to the manual for details.