summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/thmtools/thmdef-thmbox.sty
blob: 280d41035162a6fbf2f1e989ede0fe0250694450 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
%%
%% This is file `thmdef-thmbox.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% thmdef-thmbox.dtx  (with options: `thmbox')
%% This is a generated file.
%% 
%% This file is part of the `thmtools' package.
%% The `thmtools' package has the LPPL maintenance status: maintained.
%% Current Maintainer is Ulrich M. Schwarz, ulmi@absatzen.de
%% 
%% Copyright (C) 2008-2014 by Ulrich M. Schwarz.
%% 
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, version 1.3a.
%% This version is obtainable at
%% http://www.latex-project.org/lppl/lppl-1-3a.txt
%% 
%% 
\NeedsTeXFormat {LaTeX2e}
\ProvidesPackage {thmdef-thmbox}[2014/04/21 v66]
\define@key{thmdef}{thmbox}[L]{%
  \thmt@trytwice{%
  \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]}%
  }{}%
}%
\endinput
%%
%% End of file `thmdef-thmbox.sty'.