Rudy’s OBTF Rudolf Adamkovič

Home / LaTeX


Boxing

In equation, use \boxed{...}:

\begin{equation*}
  \boxed{x} = 1
\end{equation*}
\begin{equation*} \boxed{x} = 1 \end{equation*}

but in align, use \Aboxed{...} from mathtools:

\begin{align*}
  x & = 1 \\
  \Aboxed{y & = 2}
\end{align*}
\begin{align*} x & = 1 \\ \Aboxed{y & = 2} \end{align*}

© 2025 Rudolf Adamkovič under GNU General Public License (GPL) version 3 or later.
Made with Emacs and secret alien technologies of yesteryear.