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

beamersectioning

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

\frame{\sectionpage}

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.

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

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