This commit is contained in:
samcarter 2022-11-23 11:26:57 +01:00 committed by GitHub
commit db9442cafc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 13 deletions

View File

@ -418,19 +418,22 @@
% %
% \begin{macrocode} % \begin{macrocode}
\patchcmd{\beamer@@frametitle} \patchcmd{\beamer@@frametitle}
{{% {\gdef\insertframetitle{{%
\gdef\insertframetitle{{#2\ifnum\beamer@autobreakcount>0\relax{}\space% #2%
\usebeamertemplate*{frametitle continuation}\fi}}% \ifnum\beamer@autobreakcount>0
\gdef\beamer@frametitle{#2}% \relax{}\space%
\gdef\beamer@shortframetitle{#1}% \beamer@insertframetitlecontinuation%
}} \fi%
{{% }}%
\gdef\insertframetitle{{\metropolis@frametitleformat{#2}\ifnum% }
\beamer@autobreakcount>0\relax{}\space% {\gdef\insertframetitle{{%
\usebeamertemplate*{frametitle continuation}\fi}}% \metropolis@frametitleformat{#2}%
\gdef\beamer@frametitle{#2}% \ifnum\beamer@autobreakcount>0
\gdef\beamer@shortframetitle{#1}% \relax{}\space%
}} \beamer@insertframetitlecontinuation%
\fi%
}}%
}
{} {}
{\PackageError{beamerfontthememetropolis}{Patching frame title failed}\@ehc} {\PackageError{beamerfontthememetropolis}{Patching frame title failed}\@ehc}
% \end{macrocode} % \end{macrocode}