Graphics, Figures & TablesNumber a Figure per Part

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Stevenet
Posts: 13
Joined: Sun Oct 30, 2011 6:34 pm

Number a Figure per Part

Post by Stevenet »

After a title page and before the chapter, i put a figure with a picture and a caption. I would that the figure number gets the part number, not the last chapter, since those figures are automatically numbered according to the previous chapter number.

So i need to renumber the figure, concerning the part, not the chapter. How can fix that?

Thank you for your time,

Steve,

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

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Number a Figure per Part

Post by kaiserkarl13 »

I think you're asking to get Figure 1.1 to refer to figure 1 in part 1, not figure 1 in chapter 1. If so, try this:

Code: Select all

\numberwithin{figure}{part}
Post Reply