10 % Create a slide introducing new sections.
14 \ifx\insertpart\@empty%
23 \ifx\insertpart\@empty%
27 \insertsectionhead\par%
33 % Define a new ``partsecframe'' environment that uses a default frame
34 % title of ``<part>: <section>'' when no other frame title is given.
35 \newenvironment{partsecframe}[1][%
36 \ifx\insertpart\@empty%
45 % Define a new ``refsframe'' environment for the bibliography.
46 % It automatically handles the frame breaks, and fixes the busted
47 % vertical spacing on slides >= 2. The extra curly braces ensure that
48 % the change to the ``frametitle continuation'' template are only
50 \newenvironment{refsframe}[1][References] {
51 \splittopskip=2.13em % Fixes the vertical spacing of split frames.
52 \setbeamertemplate{frametitle continuation}{} % Same title for all frames.
53 \begin{frame}[allowframebreaks]{#1}