% Create a slide introducing new sections.
\AtBeginSection[]{
\begin{frame}
- \frametitle{
- \ifx\insertpart\@empty%
- \else%
- Part \thepart, %
- \fi%
- Section \thesection
- }
\vfill
\begin{center}
\usebeamerfont{title}
\end{frame}
}
-% Define a new ``partsecframe'' environment that uses a default frame
-% title of ``<part>: <section>'' when no other frame title is given.
-\newenvironment{partsecframe}[1][%
- \ifx\insertpart\@empty%
- \else%
- \insertpart: %
- \fi%
- \insertsectionhead%
-]
- {\begin{frame}{#1}\vskip1em\par}
- {\end{frame}}
-
% Define a new ``refsframe'' environment for the bibliography.
% It automatically handles the frame breaks, and fixes the busted
% vertical spacing on slides >= 2. The extra curly braces ensure that