Here is my part of script.
\begin{eqnarray}
\Rightarrow (n+1)^2+5(n+1)+1\nonumber
&=& n^2+2n+1+5n+5+1\nonumber\\
&=& (n^2+5n+1)+2n+6\nonumber\\
&=& 2k+2n+6 \cdots\text{for some $k\in\N$}\nonumber\\
&=& 2(k+n+3)\nonumber
\end{eqnarray}
Here, I used \nonumber but I'm being tired to put them everytime I type this thing…
Is there a way to turn off the autonumbering in equnarray?
Best Answer
Use
eqnarray*
instead ofeqnarray
to get an unnumbered multiline equation structure.However, you really shouldn't be using either
eqnarray
oreqnarray*
-- both environments have been seriously deprecated for many years. Instead, usealign
andalign*
, respectively. For more in-depth references on this subject, see the posting eqnarray vs align.One of the most annoying shortcomings of
eqnarray
oreqnarray*
is the poor spacing around the alignment point (usually=
): They insert far more much whitespace on either side of the alignment point than any of the other TeX and LaTeX methods do for typesetting equations. In the code below, compare the excessive amount of whitespace around the=
symbols in the first structure, generated witheqnarray*
, with the normal amount in the second structure, which is generated withalign*
.If nothing else can convince you to give up on
eqnarray
, consider the following: If you switch fromeqnarray
toalign
, you'll save yourself some typing -- the wordalign
is shorter thaneqnarray
-- and you need to type only one&
symbol to indicate the alignment point. :-)