% \iffalse meta-comment % % Copyright (C) 2010-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. % The license can be obtained from % http://www.latex-project.org/lppl/lppl-1-3c.txt % %\fi % %\iffalse (hide this from DocInput) %<*beamer> %\fi % \begin{macrocode} \newif\ifthmt@hasoverlay \def\thmt@parsetheoremargs#1{% \parse{% {\parseOpt<>{\thmt@hasoverlaytrue\def\thmt@overlay{##1}}{}}% {\parseOpt[]{\def\thmt@optarg{##1}}{% \let\thmt@shortoptarg\@empty \let\thmt@optarg\@empty}}% {\ifthmt@hasoverlay\expandafter\@gobble\else\expandafter\@firstofone\fi {\parseOpt<>{\thmt@hasoverlaytrue\def\thmt@overlay{##1}}{}}% }% {% \def\thmt@local@preheadhook{}% \def\thmt@local@postheadhook{}% \def\thmt@local@prefoothook{}% \def\thmt@local@postfoothook{}% \thmt@local@preheadhook \csname thmt@#1@preheadhook\endcsname \thmt@generic@preheadhook \protected@edef\tmp@args{% \ifthmt@hasoverlay <\thmt@overlay>\fi \ifx\@empty\thmt@optarg\else [{\thmt@optarg}]\fi }% \csname thmt@original@#1\@xa\endcsname\tmp@args \thmt@local@postheadhook \csname thmt@#1@postheadhook\endcsname \thmt@generic@postheadhook \let\@parsecmd\@empty }% } }% % \end{macrocode} %\iffalse (hide this from DocInput) %</beamer> %\fi