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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
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