[Tex/LaTex] Using Text in `eqnarray`

equations

I have been told that there was a way to use text within eqnarray; however, I have not been able to find or create any workable code. Any help is appreciated.

Best Answer

\documentclass{report}
\usepackage{amsmath}

\begin{document}

\begin{eqnarray}
\text{left} &=& \text{right}
\end{eqnarray}
\begin{align}
\text{left} &=  \text{right}
\end{align}
\end{document}

enter image description here

edit: (by bbeeton, without consulting Sigur)

Consider the following slightly extended example:

\documentclass{report}
\usepackage{amsmath}

\begin{document}
\begin{eqnarray*}
\text{left} &=& \text{middle} = \text{right}
\end{eqnarray*}
\begin{align*}
\text{left} &= \text{middle} = \text{right}
\end{align*}
\end{document}

output of example code

(There isn't any facility for adding extra alignment points in eqnarray; they are changed to "new line" breaks, after being reported as an error.)

Now is it obvious what the (or at least one) problem is with eqnarray?

Related Question