Graphics, Figures & Tables ⇒ Advanced Numeration of Figures&Tables
Advanced Numeration of Figures&Tables
Now I have the following automatic numeration:
Section 1
Figure 1
Figure 2
Section 2
Figure 3
Figure 4
Section 3
Figure 5
Figure 6
But I want:
Section 1
Figure 1.1
Figure 1.2
Section 2
Figure 2.1
Figure 2.2
Section 3
Figure 3.1
Figure 3.2
How can I achieve this?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Advanced Numeration of Figures&Tables
welcome to the board!
If you're already using amsmath, you could achieve that by
Code: Select all
\numberwithin{figure}{section}
\numberwithin{table}{section}
Code: Select all
\usepackage{chngcntr}
\counterwithin{figure}{section}
\counterwithin{table}{section}
Stefan