[Tex/LaTex] How to you change what \frame{\sectionpage} does in beamer


I am using beamer to make a presentation. I would like to have a page after I start a new section with only the section title on it. When I use the command


I end up getting a page saying "Section 1" and then "the section title". I would however like to only have "the section title" and remove "Section 1". How can I do this?

Best Answer

You can use the \insertsection command to get the current section name and fashion your own sectionpage.

\section{Section name A}
\section{Section name B in the frametitle}
\begin{frame}{\insertsection} \end{frame}

To modify the current one you can look up for the \AtBeginSection in the manual p.97 (v.3.12)