use insertframenumber instead of insertpagenumber

If we are using \only<> or other macro like this, it will show the
wrong number of slides in the footer. insertframenumber use the actual
frame number and it is not incremented when using \only<>
This commit is contained in:
Ronny Chevalier 2015-05-04 21:06:10 +02:00
parent 0107687402
commit b2bad03526
1 changed files with 2 additions and 2 deletions

View File

@ -282,9 +282,9 @@
\begin{beamercolorbox}[wd=\textwidth,ht=3ex,dp=3ex,leftskip=0.3cm,rightskip=0.3cm]{structure}% \begin{beamercolorbox}[wd=\textwidth,ht=3ex,dp=3ex,leftskip=0.3cm,rightskip=0.3cm]{structure}%
\hfill\usebeamerfont{page number in head/foot}% \hfill\usebeamerfont{page number in head/foot}%
\if@useTotalSlideIndicator% \if@useTotalSlideIndicator%
\insertpagenumber/\insertpresentationendpage% \insertframenumber/\inserttotalframenumber%
\else% \else%
\insertpagenumber% \insertframenumber%
\fi% \fi%
\end{beamercolorbox}% \end{beamercolorbox}%
} }