General ⇒ Putting boxes around an equation
-
- Posts: 24
- Joined: Tue Dec 02, 2008 11:45 pm
Putting boxes around an equation
How do you put a box around a numbered equation?
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Putting boxes around an equation
The amsmath package offers a simple box to matk equations.
More capabilities are given with the empheq package from the mh bundle.
Best regards
Thorsten¹
Code: Select all
\begin{equation}\label{eqn:einstein}
\boxed{E=mc^2}
\end{equation}
Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10