Commit 7c0aa6dc authored by Miroslav Kratochvil's avatar Miroslav Kratochvil
Browse files

support frame subtitles

parent 7bc2792f
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
\setbeamerfont{section number}{size=\Huge} \setbeamerfont{section number}{size=\Huge}
\setbeamerfont{block title}{size=\normalsize, series=\bfseries} \setbeamerfont{block title}{size=\normalsize, series=\bfseries}
\setbeamerfont{block title alerted}{size=\normalsize, series=\bfseries} \setbeamerfont{block title alerted}{size=\normalsize, series=\bfseries}
\setbeamerfont*{subtitle}{size=\large} \setbeamerfont{framesubtitle}{size=\footnotesize, series=\normalfont}
\setbeamerfont{frametitle}{size=\large, series=\bfseries} \setbeamerfont{frametitle}{size=\large, series=\bfseries}
\setbeamerfont{caption}{size=\small} \setbeamerfont{caption}{size=\small}
\setbeamerfont{caption name}{series=\bfseries} \setbeamerfont{caption name}{series=\bfseries}
......
...@@ -4,7 +4,10 @@ ...@@ -4,7 +4,10 @@
\begin{tikzpicture} \begin{tikzpicture}
\node[anchor=north west, text width=\paperwidth-12mm, minimum height=24pt] (thetitle) at (6mm,0) { \node[anchor=north west, text width=\paperwidth-12mm, minimum height=24pt] (thetitle) at (6mm,0) {
\insertframetitle \insertframetitle
\ifx\insertframesubtitle\@empty\else\par\normalfont\insertframesubtitle\fi \ifx\insertframesubtitle\@empty\else\par\begingroup%
\usebeamercolor[fg]{framesubtitle}\usebeamerfont{framesubtitle}\par%
\insertframesubtitle%
\endgroup\fi
}; };
\iflcsb@standout \iflcsb@standout
\path (0,0);%alignment dummy \path (0,0);%alignment dummy
......
Markdown is supported
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