[OS X TeX] Asymmetric size in eqnarray

Herb Schulz herbs at wideopenwest.com
Wed Apr 20 00:21:36 EDT 2005


On 4/19/05 9:54 PM, "Bruce McKellar" <b.mckellar at ph.unimelb.edu.au> wrote:

> The following produces a pair of equations in the same line, each of
> which have fractions.  But the fractions in the two equations are of
> different size.  How do I force the fractions to have the same size and
> improve the appearance of the output?
> 
> Thanks
> 
> Bruce McKellar
> 
> \begin{eqnarray}
> &j_N=\sqrt{\frac{N}{2}(\frac{N}{2}+1)} \hspace{0.5cm}
> &j_M=\sqrt{\frac{M}{2}\left(\frac{M}{2}+1\right)}\\
> &m=\frac{N-M}{2} &J=\sqrt{|m|(|m|+1)}
> \end{eqnarray}
> 
> +++++++++++++++++++++++++++++
> Bruce H J McKellar
> Professor of Theoretical Physics
> University of Melbourne
> Vic, Australia  3010
> 

Howdy,

Use the amsmath package and then

\begin{align}
j_N&=\sqrt{\frac{N}{2}(\frac{N}{2}+1)}
     &j_M&=\sqrt{\frac{M}{2}(\frac{M}{2}+1)}\\
m&=\frac{N-M}{2}
     &J&=\sqrt{|m|(|m|+1)}\\
\end{align}

does it. It is very strange though; I couldn't get consistent results with
eqnarray.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list