[Tugindia] eqnarray and text alignment

Krishna Mohan Gundu gkmohan at gmail.com
Thu Feb 16 22:09:28 CET 2006


I use amsmath package for that. Try

\usepackage{amsmath}
\begin{align}
x&=y+1\\
\intertext{and}
z&=y-1
\end{align}

regards,
Krishna Mohan.

On 2/16/06, Ashis Kumar Mal <akmal at ece.iitkgp.ernet.in> 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.
>
> \begin{eqnarray}
> &x&=y+1\\
> and&& \notag\\
> &z&=y-1
> \end{eqnarray}
>
> The results are NOT at all good. I wanted to have "and" left aligned.
>
> Could somone suggest a better way.
>
> Best.
> -Ashis
> Kharagpur
>
>
> _______________________________________________
> Home:        http://www.tug.org.in/
> TeX FAQ:     http://www.tex.ac.uk/faq
> unsubscribe: http://tug.org/mailman/listinfo/tugindia
>



More information about the tugindia mailing list