Is there a way to get beamer to automatically stick in a slide with a centered title whenever I use \section{title} or \subsection{title} or (heaven forbid) \subsubsection{title}? I'm hoping some package or command will do this for every time one of these commands is used, but I would settle for a \maketitle type command that would work within each section or subsection.

  • 1
    Welcome to the site, Minirogue. – John Wickerson Jun 4 '13 at 18:43
  • I think this thread is not fully covered. At least, the output of the accepted answer is not nice enough. – Léo Léopold Hertz 준영 Dec 28 '16 at 17:43

You can use the macros \AtBeginSection, \AtBeginSubsection and \AtBeginSubsubsection to automatically execute something at the beginning of each (sub)(sub)section. To create a title frame, beamer offers the commands \sectionpage and \subsectionpage. \subsubsectionpage is missing by default, but you can easily define it yourself:



% Add support for \subsubsectionpage
\setbeamertemplate{subsubsection page}
    {\usebeamerfont{subsubsection name}\usebeamercolor[fg]{subsubsection name}\subsubsectionname~\insertsubsubsectionnumber}
    \begin{beamercolorbox}[sep=4pt,center]{part title}
      \usebeamerfont{subsubsection title}\insertsubsubsection\par
\def\subsubsectionpage{\usebeamertemplate*{subsubsection page}}


\section{Section 1}
\subsection{Subsection 1}
\subsection{Subsection 2}
\subsubsection{Subsubsection 1}
\section{Section 2}

a \subsubsectionpage

  • I think I may want to modify some of this to my preferences, but this is exactly what I was looking for. Thanks! – Minirogue Jun 5 '13 at 16:17
  • 1
    I tried to just use \AtBeginSection{\frame{\sectionpage}}, I get a ! Missing \endgroup inserted. at the very end of the document. Do you have an idea what is causing this or should I ask a full question? – Martin Ueding Jul 24 '14 at 17:11
  • 4
    Is there a way to remove the "Section X" over title and have just the actual section title? – Luís de Sousa Jul 22 '15 at 13:00
  • 2
    Yes, on the code above just delete this part: \begin{centering} {\usebeamerfont{subsubsection name}\usebeamercolor[fg] {subsubsection name}\subsubsectionname~\insertsubsubsectionnumber} \vskip1em\par – Brian Mayer Jan 15 '16 at 3:43
  • @BrianMayer I cannot reproduce your proposal. It is a just reproduction of diobonas proposal. - - Please, post a full answer if you think you can answer Luis' question. – Léo Léopold Hertz 준영 Dec 28 '16 at 17:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.