Closed jolars closed 10 months ago
With an up-to-date beamer version it works if you first set the footline
template and then adjust the page number in head/foot
template to your liking:
\documentclass{beamer}
\setbeamertemplate{footline}[frame number]
\setbeamertemplate{page number in head/foot}[appendixframenumber]
\begin{document}
\begin{frame}
\frametitle{A Slide Before the Appendix}
\end{frame}
\appendix
\begin{frame}
\frametitle{A Slide In the Appendix}
This slide is in the appendix and is (incorrectly?) counted towards the total number of main frames.
\end{frame}
\begin{frame}
\frametitle{A Slide In the Appendix}
This slide is in the appendix and is (incorrectly?) counted towards the total number of main frames.
\end{frame}
\end{document}
If you mean that changing the order of the commands would matter, then I think not. And I already tried it. I still get 1/3, 2/3, and 3/3.
Changing the order works with beamer v3.70 or newer. And yes, the order of the commands does matter because \setbeamertemplate{footline}[frame number]
will set the page number in head/foot
and thus overwrite what you previously set.
Changing the order works with beamer v3.71. And yes, the order of the commands does matter because
\setbeamertemplate{footline}[frame number]
will set thepage number in head/foot
and thus overwrite what you previously set.
Alright, thanks! I couldn't find anything in the changelog regarding this so I figured it bug would still be around. Okay, thanks again!
It seems like the
appendixframenumber
option to thepage number in head/foot
template has no effect when it is used together with theframe number
option of thefootline
template. Here is a working example:The first slides looks like this:
But I would expect the frame numbering to be 1/1 here, not 1/2.
The last slide looks like this:
The frame numbering is 2/2 but I would expect it to be 2/1.
If I use
\setbeamertemplate{footline}[page number]
instead, then it works as expected (I get 1/1 and 2/1), but I would assume that this would work when using frame numbers also. I am using beamer 3.69.