16

How can I change the caption of all figures in LaTeX to include a prefix? For example, make all figures appear as "Supplementary Figure 1", "Supplementary Figure 2", ... rather than "Figure 1", "Figure 2"?

thanks.

2 Answers2

23

The answer is to use the following command:

\renewcommand{\figurename}{Supplementary Figure}
10

To number labels with prefix 'S', use: \renewcommand{\thepage}{S\arabic{page}}
\renewcommand{\thesection}{S\arabic{section}}
\renewcommand{\thetable}{S\arabic{table}}
\renewcommand{\thefigure}{S\arabic{figure}}

To modify the text used at the start of a caption: \renewcommand{\figurename}{Supplemental Material, Figure}

Source: https://www.stat.berkeley.edu/~paciorek/computingTips/Customizing_numbering_pages.html

Cendo
  • 201
  • 2
  • 3