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