# autonum breaks align* and equation*

The autonum package apparently doesn't like me to declare math modes to be unnumbered, and prefers to do this on its own. Can't really tell if this is intended behavior and if so, why.

\documentclass{article}
\usepackage{amsmath}
\usepackage{autonum}
\begin{document}

\begin{align*}
x &= a+b
\end{align*}

\end{document}

-

## 1 Answer

The idea of the autonum package is to automatically number only those equations that you reference in the text. Therefore using unnumbered maths environments alongside autonum does not make sense. Page 1 of the documentation says 'never use the starred form'.

-
Hmm, I guess I should have read the manual. I was including some tex files which predated working with autonum and they used the starred versions pretty liberally. I didn;t think it would have bothered autonum. Thanks for your reply. My bad. –  fg nu Jul 19 '12 at 15:01
@FgNu, Ian Thompson is completely correct with his reasoning. When I switched to using autonum myself, I searched for starred math environments and replaced them by their unstarred version in my documents, as I optimized for consistency. I now see, that this reduces compatibility to old documents. Is there interest to have a package option deciding between consistency (starred versions forbidden) and compatibility (starred versions as without autonum)? –  Patrick Häcker Jul 19 '12 at 20:23
I think that actually should not be a problem. I can just put together a simple python script to go through my files and turn all starred environments into unstarred environments. –  fg nu Jul 20 '12 at 10:03