summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/thmtools/thmdef-mdframed.sty
blob: 1dde5be1bb2d574a6928711048dc91110682e6fd (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
%%
%% This is file `thmdef-mdframed.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% thmdef-mdframed.dtx  (with options: `mdframed')
%% 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 Yukai Chou, muzimuzhi@gmail.com
%% 
%% Copyright (C) 2008-2014 by Ulrich M. Schwarz
%% Copyright (C) 2019      by Frank Mittelbach
%% Copyright (C) 2020-     by Yukai Chou
%% 
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, version 1.3c.
%% This version is obtainable at
%% http://www.latex-project.org/lppl/lppl-1-3c.txt
%% 
%% 
\NeedsTeXFormat {LaTeX2e}
\ProvidesPackage {thmdef-mdframed}[2020/08/01 v0.72]
\define@key{thmdef}{mdframed}[{}]{%
  \thmt@trytwice{}{%
    \RequirePackage{mdframed}%
    \RequirePackage{thm-patch}%
    \addtotheorempreheadhook[\thmt@envname]{\begin{mdframed}[#1]}%
    \addtotheorempostfoothook[\thmt@envname]{\end{mdframed}}%
  }%
}
\endinput
%%
%% End of file `thmdef-mdframed.sty'.