LinuxCzar

Engineering Software, Linux, and Observability. The website of Jack Neely.    

Inserting Section Names in Latex Beamer Documents

  December 7, 2010   Operations

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}
}

 Previous  Up  Next


comments powered by Disqus