1

Normally I would use \begin{equation}, of course. But I got a huge file (more than two hundred pages) where many equations are formatted like this:

\begin{eqnarray}
  a = b + 1 % no & here!
\end{eqnarray}

AFAICT the visual difference is minimal. Still, should I convert all this to \begin{equation}?

(I suspect that the bigger problem might be the missing & characters around the =. If I add them, I get exactly the same output as with \[...\], which should be the right thing.)

I use the svmono document class, if that is important.

5

1 Answer 1

4

Use equation for single line equations (or \[...\] for unnumbered ones) and never ever use eqnarray. See eqnarray vs align for more information.

2
  • This suggests that I convert all equations. However, the link and the documents linked from it and the answers do not seem to give any information for my specific question: single line, no alignment (i.e. no &). No source says anything bad (or good) about that (unless I missed something). So while your answer certainly is good general advice, I am not sure how it applies here. Sep 2, 2012 at 20:41
  • @WolframH If you don't want to edit your document, fine. But you'll do yourself a favor using the right environment for each equation or group thereof. This doesn't include eqnarray. :)
    – egreg
    Sep 2, 2012 at 20:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .