Consider the following example:
\documentclass{article}
\usepackage{amsmath,amssymb}
\begin{document}
\begin{align}
\prod a+bm && \text{is a square in} && \mathbb{R}\\
\prod a+b\theta && \text{is a square in} && \mathbb{R}[\theta]
\end{align}
\begin{eqnarray}
\prod a+bm & \text{is a square in} & \mathbb{R}\\
\prod a+b\theta & \text{is a square in} & \mathbb{R}[\theta]
\end{eqnarray}
\end{document}
The amount of white spce used by eqnarray
is exactly what I want, whereas align
adds a (in my opinion) freakishly large amount of white space. So I could just stick with eqnarray
, but I've read that I should always (under any circumstances) refrain from using it.
So my question is, how do I make my equation look nice using align
?
Best Answer
You could use the
alignat
environment, which is similar toalign
.In the »Math mode« document you can find more about advanced math typesetting.
Update:
As requested the same example but with all columns left aligned.