Theses, Books, Title pagesnumbering of figures/tables per chaper

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Post Reply
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

numbering of figures/tables per chaper

Post by templateuser »

Hello,

Currently, the figures/tables are numbered continuously. But I'm interested in numbering them per chapter (1.1, 1.2..., 2.1, 2.2 ... etc). Is it possible?
I already try to add "figurewithin=chapter" in \captionsetup{} but it doesn't work...

And another question:
Is it possible to modify the List of figures/tables to see the different chapter?
For exemple to obtain something like:
"Chapter 1 blablabla...
figure 1 ...
figure...
Chapter 2 blablabla...
figure n
figure n+1
..."

thank you in advance.
Cheers
Anne

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

numbering of figures/tables per chaper

Post by Vel »

Hi Anne,

To number figures and tables by chapter, add the following to the preamble:

Code: Select all

\numberwithin{figure}{chapter}
\numberwithin{table}{chapter}
Regarding splitting the list of figures and tables by chapter, have a look here: http://tex.stackexchange.com/questions/ ... of-figures

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
Post Reply