\frame{\maketitle}
\frame{{Contents}\tableofcontents}

\section{First section}

\subsection{Title Pages for Sectioning}
\frame{\sectionpage}
\frame{\subsectionpage}

\subsection{Blocks}

\frame{{Test frame}%
  \begin{block}{Test block}
    Test block content
  \end{block}
  \begin{alertblock}{Test alerted block}
    Test alerted content
  \end{alertblock}
  \begin{exampleblock}{Test example block}
    Test example content
  \end{exampleblock}
  }

\section{Second section}

\subsection{Third subsection}

\frame{{Test frame}
\[
  \int_{-\infty}^{\infty} {\mathrm{e}^{-x^2}\,\mathrm{d}x} = \sqrt{\pi}
\]
}

\subsection{Fourth subsection}

\frame{{Test frame}
\begin{itemize}
  \item First item
  \item Second item
  \item Third item
\end{itemize}
}

\endinput