[texhax] font size in display
Philip G. Ratcliffe
philip.ratcliffe at fastwebnet.it
Fri May 18 00:59:34 CEST 2007
> When, using amsmath I have the following source code:
> **************************************************************
> \begin{eqnarray*}
> \frac{1}{2}\int_{0}^{2\pi/3}\sin\theta\ d\theta
> & =\frac{1}{2} \left(-\cos\theta\right)
> & =-\frac{1}{2}\cos\frac{2\pi}{3}+\frac{1}{2}\cos0 \\
> & =-\frac{1}{2} \left(-\frac{1}{2} \right)+\frac{1}{2}
> \left(1\right) & =\frac{1}{4}.
> \end{eqnarray*}
> **************************************************************
> the various fractions come out different sizes: in the first,
> third, and last group
> they come out in what appears to be displaystyle, but in the
> second and next-to-last group
> they come out markedly smaller. What is going on?
Well, you're using LaTeX's eqnarray instead of amsmath's align - why?
Have you read a LaTeX manual explaining the use of eqnarray?
In fact, the eqnarray syntax is
\begin{eqnarray}
a & = & 1 \\
b & = & 2
\end{eqnarray}
that is, the second entry should just be a relation.
Anyway, amsmath defines a much better array environment and also comes with
a perfectly readable manual.
Cheers, Phil
More information about the texhax
mailing list