# Aligning twice in eqnarray

I do have the following equations wich are aligned on the equal sign. Would it be possible to also align them on the R?

\begin{eqnarray}
\delta O_{1x} &=& R \, ^E\omega_x \, \delta t \nonumber \\
\delta O_{1y} &=& - R \, ^E\omega_y \, \delta t \nonumber
\end{eqnarray}


-

Instead of eqnarray, you should use the environments provided by the amsmath package (refer to Avoid eqnarray!, by Lars Madsen); here's an option using alignat:

\documentclass{article}
\usepackage{amsmath}
\begin{document}

\begin{alignat*}{2}
\delta O_{1x} &= & R \, ^E\omega_x \, \delta t \\
\delta O_{1y} &= - &R \, ^E\omega_y \, \delta t
\end{alignat*}

\end{document}

-
And (as you know, but I just wanted to point this out) if you use the * version, you don't need the \nonumbers. –  Loop Space Aug 5 '11 at 13:55
@Andrew: I was just editing my answer when you wrote your comment ;-) –  Gonzalo Medina Aug 5 '11 at 13:57
"Speedy fingers", that's me! Nah, I was half way through typing an answer when yours appeared so I had to find something wrong with it. –  Loop Space Aug 5 '11 at 14:39
@Andrew: That's one of the most awful moments in this site: when in the middle of writting your own answer you see the dreadful message announcing that another answer has been posted. –  Gonzalo Medina Aug 5 '11 at 16:19
Thanks for your help guys and for letting me know that eqnarray is bad! –  Fabio Varesano Aug 6 '11 at 10:30