The question
When I create slides for presentations in LaTeX with the Beamer class, I like to use constructions with overprint
like this:
\begin{frame}
\begin{block}{}
\begin{itemize}
\item Some general remarks about ALL plots
\end{itemize}
\end{block}
\begin{block}{}
\begin{center}
\begin{overprint}
\only<+>{
\incgraphics{width=7cm}{plot1.pdf}\\
Explanation of Figure 1
}
\only<+>{
\incgraphics{width=7cm}{plot2.pdf}\\
Explanation of Figure 2
}
% maybe more plots...
\end{overprint}
\end{center}
\end{block}
\end{frame}
The problem is that like this all slides created from one frame
are assigned the same page number which makes people complain that it's difficult to follow which slide I am on (when giving the talk via phone etc.).
How can I change this?
A minimal example to reproduce the problem
\documentclass{beamer}
\usetheme{Madrid}
\begin{document}
\begin{frame}
Common text\\
\begin{overprint}
\only<+>{
Figure 1 and explanation of Figure 1
}
\only<+>{
Figure 2 and explanation of Figure 2
}
\end{overprint}
\end{frame}
\end{document}
Partial answer
One can mess around with \setbeamertemplate
and use \insertpagenumber{}
instead of \insertframenumber{}
, but like this you lose generality (e.g. you cannot switch between themes easily).
Maybe there is a better solution?