Knowledge base dedicated to Linux and applied mathematics.
Home > Latex > FAQ > Latex - FAQ > How to display formulas inside a box or frame in Latex ? \boxed
All the versions of this article: <English> <français>
To display formula inside a box or frame, we must use \boxed
function of amsmath package:
\usepackage{amsmath}
For exemple:
$$\boxed{u=1}$$
$$
\begin{equation}
\boxed{
\begin{array}{rcl}
x + -y + z -t & = & 0 \\
2x + 2y + 2z +3t & = & 0
\end{array}
}
\end{equation}
$$