# Reset slide counter after \pause in Latex Beamer

\begin{itemize}
\item text1
\pause\item text2
\pause\item text3
\end{itemize}

\begin{figure}

\includegraphics<1>[width=\textwidth]{pics/graphic1.jpg}

\includegraphics<2-3>[width=\textwidth]{pics/graphic2.jpg}

\end{figure}


I want to make images appear one after the other along with the text that describes them. I've tried these:

But none seems to work. I came to suspect that the \pause is the problem. Latex seems to start counting the slides on which to let the images appear after the pauses, as if the code after the \pause is still affected by it, even though the itemize environment is closed. Is there a way to reset the counter? I am aware that putting the images before the itemize environment helps, but I would like to know how to make my slides exactly the way I want them.

-

## migrated from stackoverflow.comNov 5 '13 at 23:37

This question came from our site for professional and enthusiast programmers.

Is this what you seek? Use scale to size your images.

\documentclass[11pt]{beamer}

\usepackage{graphicx}
\begin{document}
\begin{frame}[c]
\setbeamercovered{dynamic}       % Remove this for clean background.
\begin{itemize}
\frametitle{title}
\item <1> text1
\item <2> text2
\visible<2>{\includegraphics[scale=0.5]{image1.jpg}}
\item <3> text3
\visible<3>{\includegraphics[scale=0.5]{image2.jpg}}
\end{itemize}
\end{frame}

\end{document}

-