[Tex/LaTex] Subfigures in beamer documents

beamernumberingsubfloats

I'm using beamer package to produce slides. I put many figures on a slide by using the subfigure package. The problem is that for captions, the subfigure are labeled "a", "b".. "m", "n" and so on, for subfigures appearing on different slides. How could I reset the subfigure numbering when passing to a new slide?

Best Answer

Instead of doing this for every figure, you could define it once in the preamble:

\makeatletter
\@addtoreset{subfigure}{figure}
\makeatother

Alternatively, using the chngcntr package:

\usepackage{chngcntr}
\counterwithin{subfigure}{figure}

Though I would expect such a reset per figure as default subfigure behavior, but you did not post your code.

Related Question