For example, I would like to print out, on the first frame of section X, and again the first frame of section X-subsection 1, the beginning (end) page number of section X, subsection 1. Can I do that?

In the following example, I would want to print "Section 3, subsection 1 starts on page: 5" on page 4 and page 5 and the numbers will be updated if the structure is updated automatically.

\setbeamertemplate{footline}[frame number]


\section{section without subsections}
\begin{frame}{section without subsections}
    slide 1

\section{section with subsection starting right away}
\subsection{subsection at the beginning of section}
\begin{frame}{section with subsection starting right away}{subsection at the beginning of section}
    slide 2

\subsection{section with subsection starting right away}{second subsection}
\begin{frame}{second subsection}
  slide 3

\section{section with subsection starting later}
\begin{frame}{section with subsection starting later}{section with subsection starting later}
    slide 4

\subsection{section with subsection starting later}{first subsection after a slide}
\begin{frame}{first subsection after a slide}
    slide 5


Your Answer

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

Browse other questions tagged or ask your own question.