%%
%% 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 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-thmbox}[2023/05/04 v0.76]
\define@key{thmdef}{thmbox}[L]{%
  \thmt@trytwice{%
    \let\oldproof=\proof
    % backup \\proof, gh32
    \expandafter\let\csname old\@backslashchar proof\expandafter\endcsname
                    \csname    \@backslashchar proof\endcsname
    \let\oldendproof=\endproof
    \let\oldexample=\example
    \let\oldendexample=\endexample
    \RequirePackage[nothm]{thmbox}
    \let\proof=\oldproof
    % restore thmbox's change to \\proof, gh32
    \expandafter\let\csname    \@backslashchar proof\expandafter\endcsname
                    \csname old\@backslashchar proof\endcsname
    \let\endproof=\oldendproof
    \let\example=\oldexample
    \let\endexample=\oldendexample
    \def\thmt@theoremdefiner{\newboxtheorem[#1]}%
  }{}%
}%
\endinput
%%
%% End of file `thmdef-thmbox.sty'.
