I want to have an equation array (the environment eqnarray
) contained in a box. The only way I know is to use the \boxed
command. This works for
\begin{eqnarray}
\boxed{1+1}&=&2
\end{eqnarray}
but fails for
\begin{eqnarray}
\boxed{1+1&=&2}
\end{eqnarray}
How should I box the whole thing?
eqnarray
it is broken in many ways (2) see themathtools
andempheq
packages