# [Tugindia] Table and graphics numbering problems

Shashi Kumar shashi.kumar at glyphinternational.com
Wed Dec 2 12:06:44 CET 2009

Hi,

Use below command in preamble to fix the problem.

\renewcommand \thefigure{\thechapter.\@arabic\c at figure}

Thanks,
Shashi

From: Chhama Chenkual <chhama5 at gmail.com>
Reply-To: TUGIndia Mailing List <tugindia at tug.org>
Date: Wed, 2 Dec 2009 15:43:40 +0530
To: TUGIndia Mailing List <tugindia at tug.org>
Subject: [Tugindia] Table and graphics numbering problems

Hi all,
I have created a report and I want the figures to be labeled figure 1.1,
1.2, 2.1 etc according to the chapters. But it keeps showing as figure 1,
figure 2 etc. I'd really appreciate it if you could help me. I've pasted
some codes that I think might be important:

\documentclass[12pt,a4paper]{report}

\usepackage[pdftex]{graphicx}

\usepackage{color}

\usepackage{fullpage}

\begin{figure}[h]

\begin{center}

\includegraphics[scale=0.50]{Diagram1.jpeg}

\caption{A typical Grid environment}

\end{center}

\end{figure}

Chhama Chenkual
http://chhamanator.wordpress.com
_______________________________________________
Home:        http://www.tug.org.in/
TeX FAQ:     http://www.tex.ac.uk/faq
unsubscribe: http://tug.org/mailman/listinfo/tugindia

-
Disclaimer And Confidentiality Notice- This e-mail transmission and any
attached
documents, files, or previous e- mail messages attached to it, may contain
information that is confidential. It is for the use of the intended
recipient(s) only. If you have received this e-mail in error, please notify
the sender immediately and then delete it. If you are not the intended
recipient, you must not use, disclose, or distribute this e-mail without the
senders prior permission. We have taken precautions to minimize the risk of
transmitting software viruses, but we advise you to carry out your own virus
checks on any attachment to this message. We do not accept liability for any
loss or damage caused by software viruses.

-
Disclaimer And Confidentiality Notice- This e-mail transmission and any attached
documents, files, or previous e- mail messages attached to it, may contain
information that is confidential. It is for the use of the intended
recipient(s) only. If you have received this e-mail in error, please notify
the sender immediately and then delete it. If you are not the intended
recipient, you must not use, disclose, or distribute this e-mail without the
senders prior permission. We have taken precautions to minimize the risk of
transmitting software viruses, but we advise you to carry out your own virus
checks on any attachment to this message. We do not accept liability for any
loss or damage caused by software viruses.