mirror of https://github.com/matze/mtheme.git
use etoolbox for if statement
This commit is contained in:
parent
122e9f48ba
commit
6c2f5dd4ae
|
@ -159,11 +159,7 @@
|
|||
\newcommand{\metropolis@frametitlestrut@start}{
|
||||
\rule{0pt}{\metropolis@frametitle@padding +%
|
||||
\totalheightof{%
|
||||
\ifcsname metropolis@frametitleformat\endcsname%
|
||||
\metropolis@frametitleformat X%
|
||||
\else%
|
||||
X%
|
||||
\fi%
|
||||
\ifcsdef{metropolis@frametitleformat}{\metropolis@frametitleformat X}{X}%
|
||||
}%
|
||||
}%
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue