Graphics, Figures & Tables ⇒ Figure Format
Figure Format
I want to do the following via latex:
Instead of default format : Figure1 caption
I want to use the format : Figure 1-1 caption (Figure counter prefix with chapter number). Counter must be reset for each chapter.
I am a beginner at latex if some one kindly elaborate the steps for my ease.
Thanks all
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Figure Format
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Figure Format
Sir it makes me more confuse i am a beginner in latex if you kindly elaborate your answer it will help me morelocalghost wrote:A minimal example that especially shows the used document class would be very helpful. In chapter based classes figures are already numbered by chapter (though not as you want it).
Thorsten
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: Figure Format
At the moment it seems as if you are using the »article« class which formats float numbers as you described. For a numbering like you want you should at least migrate to the »report« class and reformat the numbering. But that is only a random shot.
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10