Is there an easy way to put a box around a theorem in LaTeX
? For example to state an important theorem.
I tried using page 20 of the ntheorem
documentation,
but I do not know how to use the package.
framedpackagestheorems
Is there an easy way to put a box around a theorem in LaTeX
? For example to state an important theorem.
I tried using page 20 of the ntheorem
documentation,
but I do not know how to use the package.
Best Answer
You can use
\newmdtheoremenv
from the mdframed package:If you only want to frame some theorems, then you can define a new environment using the
mdframed
environment and some previously defined theorem-like environment: