18

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?

1

2 Answers 2

9

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)

21

I tailored my own template for the section page by using \setbeamertemplate and stripping the unneeded part from the original \defbeamertemplate*{section page} in beamer/base/themes/inner/beamerinnerthemedefault.sty:

\setbeamertemplate{section page}
{
    \begin{centering}
    \begin{beamercolorbox}[sep=12pt,center]{part title}
    \usebeamerfont{section title}\insertsection\par
    \end{beamercolorbox}
    \end{centering}
}
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .