Implement section page using the built-in beamer template

This commit is contained in:
Ross Churchley 2015-05-20 13:13:23 -07:00
parent ebcb4c9be4
commit 44a705195c
1 changed files with 25 additions and 11 deletions

View File

@ -206,20 +206,34 @@
%}}} %}}}
%{{{ --- Sections --------------------- %{{{ --- Sections ---------------------
\setbeamertemplate{section page}
{
\vspace{2em}
\centering
\begin{minipage}{22em}
\usebeamercolor[fg]{section title}
\usebeamerfont{section title}
\insertsectionHEAD\\[-1ex]
\progressbar{\textwidth}
\end{minipage}
\par
}
% Insert frame with section title at every section start % Insert frame with section title at every section start
\if@noSectionSlide\else%
\AtBeginSection[] \AtBeginSection[]
{ {
\if@noSectionSlide% \ifbeamer@inframe
\else% \sectionpage
\else
\begingroup \begingroup
\setbeamercolor{background canvas}{parent=palette primary} \setbeamercolor{background canvas}{parent=palette secondary}
\begin{frame}[plain] \frame[plain]{\sectionpage}
\vspace{2em}\usebeamerfont{section title}
\progressbar{\textwidth}
\end{frame}
\endgroup \endgroup
\fi% \fi
} }
\fi
%}}} %}}}
%{{{ --- Captions --------------------- %{{{ --- Captions ---------------------