Support for framesubtitle
This commit is contained in:
@@ -301,9 +301,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
\setbeamertemplate{frametitle}{%
|
\setbeamertemplate{frametitle}{%
|
||||||
\vspace{1em}%
|
\vspace{1em}\hspace{-\beamer@leftsidebar}\begin{beamercolorbox}[wd=\beamer@leftsidebar]{frametitle}%
|
||||||
\beamercolorbox[leftskip=-\beamer@leftsidebar]{frametitle}%
|
|
||||||
\strut\usebeamerfont{frametitle}\parbox{\dimexpr\beamer@leftsidebar}{\strut%
|
|
||||||
\ifx\insertsection\empty\else%
|
\ifx\insertsection\empty\else%
|
||||||
\color{accent}\thesection.%
|
\color{accent}\thesection.%
|
||||||
\ifx\insertsubsection\empty%
|
\ifx\insertsubsection\empty%
|
||||||
@@ -316,7 +314,15 @@
|
|||||||
\scalebox{.7}{\theframesinsubsection}%
|
\scalebox{.7}{\theframesinsubsection}%
|
||||||
\fi%
|
\fi%
|
||||||
\fi%
|
\fi%
|
||||||
\fi}\insertframetitle\endbeamercolorbox%
|
\fi
|
||||||
|
\end{beamercolorbox}%
|
||||||
|
\begin{beamercolorbox}{frametitle}%
|
||||||
|
\insertframetitle%
|
||||||
|
\end{beamercolorbox}
|
||||||
|
\ifx\insertframesubtitle\empty\else%
|
||||||
|
\begin{beamercolorbox}{framesubtitle}%
|
||||||
|
\usebeamerfont{subtitle}\insertframesubtitle%
|
||||||
|
\end{beamercolorbox}\fi%
|
||||||
}
|
}
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|||||||
BIN
example.pdf
BIN
example.pdf
Binary file not shown.
Reference in New Issue
Block a user