GeneralPutting boxes around an equation

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Noobix Cube
Posts: 24
Joined: Tue Dec 02, 2008 11:45 pm

Putting boxes around an equation

Post by Noobix Cube »

How do you put a box around a numbered equation?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

Post by localghost »

The amsmath package offers a simple box to matk equations.

Code: Select all

\begin{equation}\label{eqn:einstein}
  \boxed{E=mc^2}
\end{equation}
More capabilities are given with the empheq package from the mh bundle.


Best regards
Thorsten¹
Post Reply