Commit d0ff7576 authored by Phillip Raffeck's avatar Phillip Raffeck
Browse files

Add support for frame subtitles

Currently replaces frametitle icon, if both icon and subtitle are set.
parent 17c82ce5
Pipeline #47090 passed with stage
in 30 seconds
......@@ -163,6 +163,8 @@
\setbeamerfont*{subtitle}{size=\large}
\setbeamerfont{frametitle}{size=\large,%
series=\bfseries}
\setbeamerfont{framesubtitle}{parent=frametitle,%
size=\footnotesize}
\setbeamerfont{caption}{size=\small}
\setbeamerfont{caption name}{series=\bfseries}
\setbeamerfont{description item}{series=\bfseries}
......
......@@ -281,7 +281,11 @@
]{frametitle}%
\neo@frametitlestrut@start%
\insertframetitle%
\usebeamertemplate*{frametitle icon}%
\ifx\insertframesubtitle\@empty
\usebeamertemplate*{frametitle icon}%
\else
\hfill{\usebeamerfont{framesubtitle}\insertframesubtitle}%
\fi
\nolinebreak%
\neo@frametitlestrut@end%
\end{beamercolorbox}%
......@@ -384,7 +388,11 @@
\usebeamerfont{frametitle}%
\neo@frametitlestrut@start%
\insertframetitle%
\usebeamertemplate*{frametitle icon}%
\ifx\insertframesubtitle\@empty
\usebeamertemplate*{frametitle icon}%
\else
\hfill{\usebeamerfont{framesubtitle}\insertframesubtitle}%
\fi
\nolinebreak%
\neo@frametitlestrut@end%
\end{beamercolorbox}%
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment