Graphics, Figures & TablesFigure Format

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
sabahmed
Posts: 36
Joined: Thu Aug 04, 2011 8:55 pm

Figure Format

Post by sabahmed »

Hello
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
Last edited by sabahmed on Wed Sep 28, 2011 5:51 am, edited 1 time in total.

Recommended reading 2024:

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

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

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Figure Format

Post by localghost »

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
sabahmed
Posts: 36
Joined: Thu Aug 04, 2011 8:55 pm

Figure Format

Post by sabahmed »

localghost 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
Sir it makes me more confuse i am a beginner in latex if you kindly elaborate your answer it will help me more
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Figure Format

Post by localghost »

Just follow the link in my last reply and you get detailed instructions. We just need more information in form of a concrete code example that will enable us to help you.

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.
Post Reply