LaTeX forum ⇒ GeneralPutting boxes around an equation

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

Putting boxes around an equation

Postby Noobix Cube » Wed Dec 03, 2008 5:09 am

How do you put a box around a numbered equation?

User avatar
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany

Postby localghost » Wed Dec 03, 2008 10:06 am

The amsmath package offers a simple box to matk equations.
  1. \begin{equation}\label{eqn:einstein}
  2. \boxed{E=mc^2}
  3. \end{equation}

More capabilities are given with the empheq package from the mh bundle.

Best regards
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

Return to “General”

Who is online

Users browsing this forum: Bing [Bot], Jamesbancy, Jeffreyabubs and 6 guests