How to Restart Figure and Page Numbering in LaTeX

When you’re creating a document with LaTeX, you sometimes want to restart the page numbering. In my case, it’s because I have an appendix (supplementary methods) section in a paper I’m writing. I want to be able to reference the figures in this section starting at 1 rather than starting at the number of the last figure I added. Thanks to a bit of googling, I came across the following solution.

Right after the appendix section declaration, add the following lines (supports tables also):

\setcounter{figure}{0}
\setcounter{table}{0}

Then you just reference the figures as you normally would, but you of course would want to describe them adequately. For example, I reference my supplementary figures like this:

Please refer to Supplementary Figure \ref{fig:myfigureid}.

This seemed to work really well for me. There might be some intricacies that I’m missing, but hopefully it will get you on the right path. Please let me know if you know of any other important considerations in doing this.

Leave a Reply