I'm using mdframed to make a framed theorem environment but I'm having some trouble with the spacing below the theorem. This is my MWE:
\documentclass{article}
\usepackage{amsmath}
\usepackage[amsmath,thmmarks]{ntheorem}
\usepackage[ntheorem]{mdframed}
\mdfdefinestyle{thm}{ % saving some space
skipabove=3cm,
skipbelow=3cm,
splittopskip=\topskip,
splitbottomskip=\topskip
}
\newmdtheoremenv[style=thm]{thm}{Theorem}
\begin{document}
Text above.
\begin{thm}
A theorem.
\end{thm}
Text below.
\end{document}
I want the spacing above and below the theorem to be the same but it isn't and changing skipbelow
doesn't seem to have any effect.
Can anybody explain to me why what I am doing is wrong?
mdframed
package and itsmdframed
environment, but i am not sure.