summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/thmtools/thm-amsthm.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-06-09 22:20:52 +0000
committerKarl Berry <karl@freefriends.org>2010-06-09 22:20:52 +0000
commitade959d5f7adbbef896062a4245725f1369e1b1f (patch)
tree6890ee291e0535e02d4ff77abd23a5cf802e4f76 /Master/texmf-dist/source/latex/thmtools/thm-amsthm.dtx
parent4b653b7509fc5880c21ce05b56562dda6e8e12f2 (diff)
thmtools update (9jun10)
git-svn-id: svn://tug.org/texlive/trunk@18850 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/thmtools/thm-amsthm.dtx')
-rw-r--r--Master/texmf-dist/source/latex/thmtools/thm-amsthm.dtx13
1 files changed, 13 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/thmtools/thm-amsthm.dtx b/Master/texmf-dist/source/latex/thmtools/thm-amsthm.dtx
index cd61adfbe21..7ff3b98249d 100644
--- a/Master/texmf-dist/source/latex/thmtools/thm-amsthm.dtx
+++ b/Master/texmf-dist/source/latex/thmtools/thm-amsthm.dtx
@@ -134,6 +134,19 @@
}%
}
+\def\thmt@amsthmlistbreakhack{%
+ \leavevmode
+ \vspace{-\baselineskip}%
+ \par
+ \everypar{\setbox\z@\lastbox\everypar{}}%
+}
+
+\define@key{thmuse}{listhack}[\relax]{%
+ \addtotheorempostheadhook[local]{%
+ \thmt@amsthmlistbreakhack
+ }%
+}
+
% \end{macrocode}
%\iffalse (hide this from DocInput)
%</amsthm>