[Tex/LaTex] Aligning two columns in one equation!


Consider the following


               X_{n}^{I}= t_{1}\nu_{1}^{n}+r_{1}\nu_{2}^{n}, \quad -N\leq n<-d, \\
               X_{n}^{II}= t_{2}\nu_{1}^{n}+r_{2}\nu_{2}^{n}, \quad \ -d<n<-1, \\
               X_{n}^{III}=t_{3}\nu_{1}^{n}+r_{3}\nu_{2}^{n}, \quad \quad 1<n<d, \\
               X_{n}^{IV}=t_{4}\nu_{1}^{n}+r_{4}\nu_{2}^{n}, \quad \quad d<n\leq N, \\


how can I make sure that the = sign in the left column is aligned as well as the inequalities on the right?

Best Answer

One option is to try the array environment instead of the cases one.


       X_{n}^{I}  & t_{1}\nu_{1}^{n}+r_{1}\nu_{2}^{n}, & -N \leq& <-d, \\
       X_{n}^{II} & t_{2}\nu_{1}^{n}+r_{2}\nu_{2}^{n}, & -d    <& <-1, \\
       X_{n}^{III}& t_{3}\nu_{1}^{n}+r_{3}\nu_{2}^{n}, &  1    <& <d, \\
       X_{n}^{IV} & t_{4}\nu_{1}^{n}+r_{4}\nu_{2}^{n}, &  d    <& \leq N, \\
\end{array}\right .


enter image description here