I want to use \pause
inside \only
as in the example below. Sometimes it works well (see slides 2 and 3), but sometimes it doesn't (see slides 5 and 6). Why?
\documentclass{beamer}
\setbeamertemplate{footline}
{
\hfill \insertframenumber{} / \inserttotalframenumber\hspace*{2ex}
}
\begin{document}
\begin{frame}
\frametitle{An example}
\only<1>{
insert a picture for instance
}
\pause
\only<2-3>{
\begin{itemize}
\item here is my first remark
\pause
\item and here is my second
\end{itemize}
}
\only<4>{
insert a 2nd picture
}
\pause
\only<5-6>{
\begin{itemize}
\item bla bla bla
\pause
\item ...
\end{itemize}
}
\end{frame}
\end{document}
On purpose, I want the footline to display the number of frames, that is only "1/1" in this example.
Best Answer
I don't have my LaTeX here, but this ought to work. You have to rewrite each
\pause
to proper<n-m>
syntax.