\usefonttheme{mjo}
\usecolortheme{mjo}
-% Create a slide introducing new sections.
+% Introduce new sections with a slude announcing the current part and
+% section.
\AtBeginSection[]{
- \begin{frame}
- \vfill
+ \begin{frame}[c]
\begin{center}
\usebeamerfont{title}
\ifx\insertpart\@empty%
\fi%
\insertsectionhead\par%
\end{center}
- \vfill
+ \end{frame}
+}
+
+% Introduce new subsections with a slide announcing the current
+% subsection. This does NOT include the current part/section.
+\AtBeginSubsection[]{
+ \begin{frame}[c]
+ \begin{center}
+ \usebeamerfont{subsection}
+ \insertsubsectionhead
+ \end{center}
\end{frame}
}