summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/thmtools/source/thmdef-mdframed.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/thmtools/source/thmdef-mdframed.dtx')
-rw-r--r--macros/latex/contrib/thmtools/source/thmdef-mdframed.dtx3
1 files changed, 1 insertions, 2 deletions
diff --git a/macros/latex/contrib/thmtools/source/thmdef-mdframed.dtx b/macros/latex/contrib/thmtools/source/thmdef-mdframed.dtx
index 85c5d9bd2d..cae264b04e 100644
--- a/macros/latex/contrib/thmtools/source/thmdef-mdframed.dtx
+++ b/macros/latex/contrib/thmtools/source/thmdef-mdframed.dtx
@@ -24,8 +24,7 @@
\thmt@trytwice{}{%
\RequirePackage{mdframed}%
\RequirePackage{thm-patch}%
- \addtotheorempreheadhook[\thmt@envname]{%
- \begin{mdframed}[#1]}%
+ \addtotheorempreheadhook[\thmt@envname]{\begin{mdframed}[#1]}%
\addtotheorempostfoothook[\thmt@envname]{\end{mdframed}}%
}%
}