From 37692430a0ed6d4bc09b544c26cbc8ba41255965 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Wed, 19 May 2010 23:24:59 +0000
Subject: thmtools 24 (18may10)

git-svn-id: svn://tug.org/texlive/trunk@18359 c570f23f-e606-0410-a88d-b1316a301751
---
 .../source/latex/thmtools/thmdef-thmbox.dtx        | 26 ++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 Master/texmf-dist/source/latex/thmtools/thmdef-thmbox.dtx

(limited to 'Master/texmf-dist/source/latex/thmtools/thmdef-thmbox.dtx')

diff --git a/Master/texmf-dist/source/latex/thmtools/thmdef-thmbox.dtx b/Master/texmf-dist/source/latex/thmtools/thmdef-thmbox.dtx
new file mode 100644
index 00000000000..8da999bfdaa
--- /dev/null
+++ b/Master/texmf-dist/source/latex/thmtools/thmdef-thmbox.dtx
@@ -0,0 +1,26 @@
+% \iffalse meta-comment
+%
+% Copyright (C) 2010 by Ulrich M. Schwarz
+% See file COPYING for more details.
+%\fi
+%
+%\iffalse (hide this from DocInput)
+%<*thmbox>
+%\fi
+%    \begin{macrocode}
+\define@key{thmdef}{thmbox}[L]{%
+  \let\oldproof=\proof
+  \let\oldendproof=\endproof
+  \let\oldexample=\example
+  \let\oldendexample=\endexample
+  \RequirePackage[nothm]{thmbox}
+  \let\proof=\oldproof
+  \let\endproof=\oldendproof
+  \let\example=\oldexample
+  \let\endexample=\oldendexample
+  \def\thmt@theoremdefiner{\newboxtheorem[#1]}%
+}%
+%    \end{macrocode}
+%\iffalse (hide this from DocInput)
+%</thmbox>
+%\fi
-- 
cgit v1.2.3

