latextextypesettingmathematical-typesetting

adding prefix to figure caption in LaTeX?


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.


Solution

  • The answer is to use the following command:

    \renewcommand{\figurename}{Supplementary Figure}