# AASTex package: how to unnumber equations?

I'm using the AASTex package and I've been wondering how to unnumber equations (I hate numbers in equations that you don't even cite later!). So far I've tried the usual:

• Tried to put the \nonumber line after the equation (inside the and , of course), but it doesn't work.
• Tried to do \begin{equation*} and \end{equation*}, but the package didn't recognize the command. I tried adding the \usepackage{amsmath} package, but this causes various features of the AASTex package to fail.

Here's a working example of my LaTeX code:

\documentclass[manuscript]{aastex}
\newcommand{\vdag}{(v)^\dagger}
\newcommand{\myemail}{myemail@myuniversity.com}

\slugcomment{This is a slug comment.}

\shorttitle{A Short title!}
\shortauthors{N\'estor}

\usepackage[bookmarks,bookmarksopen,bookmarksdepth=2]{hyperref}
\begin{document}

\title{This is a glorious title that appears up.}

\author{N\'estor\altaffilmark{1}}
\affil{My department, my university}
\email{myemail@myuniversity.com}
\altaffiltext{1}{My affiliation.}
\tableofcontents
\pagebreak
\section{Introduction}
$$E=mc^2. \nonumber$$
Easy, right?
\end{document}


Any ideas?

-

As you can read on page 5 of the given documentation you can use \nonumber only in the environment eqnarray (but eqnarray should no longer be used!). Add this to your MWE:

\begin{eqnarray}
E=mc^2.  \nonumber
\end{eqnarray}

-
The aastex class defines its own eqnarray so I don't know if the standard "eqnarray should no longer be used" advise applies here. –  Gonzalo Medina Aug 26 '12 at 3:37
I think it is important enouph to have an eye on this? My experience with aastex is pretty less (one student asked me for aastex) and I didn't test the difference between the two environments. Could be interesting ... –  Kurt Aug 26 '12 at 3:50
Ugh I don't know which to accept! The two answers are great! I think I'll accept this one, because it uses "internal" definitions of aastex (plus the reference to the documentation). Thanks to both of you! –  Néstor Aug 26 '12 at 4:16
You can use $...$:
\documentclass[manuscript]{aastex}
$E=mc^2.$