# What's the difference between align and align*?

After some brief searching I can't find the difference between align and align*. Google summarily ignoring the * is making it harder I think.

Can you tell me the difference between these two?

Moreover, can you tell me where you generally go for this type of information? As a relatively new user I'm still building up my resources.

-
–  Stefan Kottwitz Jan 23 '11 at 1:22
Herbert Voß' "mathmode" is very useful for math typesetting problems. –  Caramdir Jan 23 '11 at 3:56

The star at the end of the name of a displayed math environment causes that the formula lines won't be numbered. Otherwise they would automatically get a number.

You can read about that in the amsmath user's guide since align belongs to amsmath.

Such information can usually be found in the package documentation. Type texdoc packagename at the command prompt or visit http://ctan.org/pkg/packagename. If you use google or another search engine, look for starred and commandname.


-

"One could take a look in the manual out of sheer desperation." (based on Herbert Voß)

Googling should have told you that align and align* are part of the amsmath package. Page 3 of its documentation reveals:

The amsmath package provides a number of additional displayed equation structures beyond the ones provided in basic LaTeX. The augmented set includes:

[...] align align* [...]

Except for split, each environment has both starred and unstarred forms, where the unstarred forms have automatic numbering using LaTeX’s equation counter.

You could also simply try out what the difference might be:

\documentclass{article}

\usepackage{amsmath}

\begin{document}

\begin{align}
a_1& =b_1+c_1\\
a_2& =b_2+c_2-d_2+e_2
\end{align}

\begin{align*}
a_1& =b_1+c_1\\
a_2& =b_2+c_2-d_2+e_2
\end{align*}

\end{document}

-