Inserting Section Names in Latex Beamer Documents
In my Latex Beamer presentations I like to have title frames that break
up each section. I was doing this with an \AtBeginSection
code
snippet that is easily findable in other Beamer documentation. However,
I really wanted not a partial table of contents but the name of the
section centered and a bit larger.
I finally came across the following commands:
\insertsection
\insertsubsection
These insert the long name of the section or subsection, respectively.
\insertsectionhead
\insertsubsectionhead
These insert the short name, or the text in the square brackets. This tip let me change my title frames to this:
\AtBeginSection[]
{
\begin{frame}
\begin{center}
\Large{\insertsection}
\end{center}
\end{frame}
}