blob: 08d5289178ce04eddddd0bdba106d98669ec2103 (
plain)
1
2
3
4
5
6
7
8
9
|
\ProvidesPackage{thmdef-tcolorbox}
\define@key{thmdef}{tcolorbox}[{}]{%
\thmt@trytwice{}{%
\RequirePackage{tcolorbox}%
\RequirePackage{thm-patch}%
\addtotheorempreheadhook[\thmt@envname]{\begin{tcolorbox}[#1]}%
\addtotheorempostfoothook[\thmt@envname]{\end{tcolorbox}}%
}%
}
|