\begin{eqnarray}I sometimes get that I should not use eqnarray that extensive, but it works for me.
\begin{array}{rl}
&x = foo \\
& y = bar
\end{array}
\end{eqnarray}
Another solutions with equation and aligned environments here.
\begin{eqnarray}I sometimes get that I should not use eqnarray that extensive, but it works for me.
\begin{array}{rl}
&x = foo \\
& y = bar
\end{array}
\end{eqnarray}