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 \begin{equation} and \end{equation}, 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:


\slugcomment{This is a slug comment.}

\shorttitle{A Short title!}

\hypersetup{colorlinks=true,citecolor=blue,pdftitle={PDF title},pdfauthor={Nestor}}

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

\affil{My department, my university}
\altaffiltext{1}{My affiliation.}
Let's start with Einstein's equation:
E=mc^2. \nonumber
Easy, right?

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:

 E=mc^2.  \nonumber
|improve this answer|||||
  • 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
  • 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 \[...\]:

Let's start with Einstein's equation:
Easy, right?

enter image description here

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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