views:

117

answers:

2

How can I make figures be renumbered in a TeX document? I want the main figures to be 1, 2, 3, ...etc. But then I want a section to have supplementary figures, S1, S2, S3, S4. The "S" does not have to appear in the figure name, but I do want to reset the counter.

+2  A: 

you can reset the figure counter with

\setcounter{figure}{0}
second
+1  A: 

Next to reseting the counter for the figures:

\setcounter{figure}{0}

You can also add the "S" by using:

\makeatletter 
\renewcommand{\thefigure}{S\@arabic\c@figure} 
TjibbeD