[texhax] fbox in align environment
Sebastian Canagaratna
s-canagaratna at onu.edu
Tue Jun 16 04:06:21 CEST 2009
Thanks, Krishnan. Your solution meets all the needs. Thanks.
Sebastian
On Tue, Jun 16, 2009 at 05:48:25AM +0530, E. Krishnan wrote:
> On Sun, 14 Jun 2009, Sebastian Canagaratna wrote:
>
>> Say you have three equations in an align environment. You want to box
>> only one of them, say the last one. How does one do this?
>
>
> Please check whether this meets your needs:
>
> \usepackage{amsmath}
>
> \begin{equation*}
> \setlength{\arraycolsep}{0pt}
> \renewcommand{\arraystretch}{1.25}
> \begin{array}{r@{\;}c@{\;}r@{\;}}
> x+y+2 & = & 1\\
> 2x+3y-4z & = & 2\\
> \hline
> \multicolumn{1}{|r@{\;}}{3x-2y+z}
> & \multicolumn{1}{c@{\;}}{=}
> & \multicolumn{1}{r@{\;}|}{3}\\
> \hline
> \end{array}
> \end{equation*}
>
>
>
>
>
> --
> Krishnan
More information about the texhax
mailing list