When using beamer with the subfigure package, the subfigure labels (a), (b) etc. are not reset at the beginning of a new figure.
Example:
\documentclass{beamer}
\usepackage{subfigure}
\begin{document}
\begin{frame}
\begin{figure}[htbp]
\centering
\subfigure[Text 1]{Testing subfigure}
\subfigure[Text 2]{Testing subfiguare even more}
\end{figure}
\end{frame}
\begin{frame}
\begin{figure}[htbp]
\centering
\subfigure[Text 1]{Testing subfigure}
\subfigure[Text 2]{Testing subfiguare even more}
\end{figure}
\end{frame}
\end{document}
How can I fix this?
subfigure
package is obsolete. Use thesubfig
package package instead.subcaption
instead of the deprecatedsubfigure
.subfig
is also deprecated.subfig
is not deprecated.