[Tugindia] eqnarray and text alignment

Aditya Mahajan adityam at umich.edu
Thu Feb 16 18:48:07 CET 2006

On Thu, 16 Feb 2006, Ashis Kumar Mal wrote:

> Hello,
> I wish to format the following maths equations seperated by text
> such as:
>        x=y+1
> and
> 	z=y-1
> using eqnarry environment.
> I tried this code.

Do not use eqnarry. It is bad for a variety of reasons. See

You should use amsmath for alignment, and use can get the result  that you 
want as follows

   x &= y+1 \\
   z &= y -1


More information about the tugindia mailing list