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.

Joseph Wright
  • 259,911
  • 34
  • 706
  • 1,036

1 Answers1

4

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

egreg
  • 1,121,712
  • 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. – Reinstate Monica Sep 02 '12 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 02 '12 at 20:48