Graphics, Figures & TablesCustom figure numbering

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
vishnu79
Posts: 1
Joined: Wed Jun 29, 2016 9:07 am

Custom figure numbering

Post by vishnu79 »

Hi,
I am getting a manuscript ready for a conference.
As per the requirements, I can have 6 figures (named Fig. 1, 2 etc) and 3 supplemental figures (named Fig. S1, Fig. S2 etc) in my submission.
How do I have 2 different figure numbering schemes in the same tex file?

Thanks in advance for your help,
Vishnu

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Custom figure numbering

Post by Johannes_B »

\renewcommand{\thefigure}{S\value{figure}}; untested, because no example is provided.

Don't forget to reset the counter.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply