[Tugindia] Figure ref. numbering

Jitender Singh jsinghdrdo at gmail.com
Mon May 30 10:19:33 CEST 2011


I believe Vinay wants figure number to be independent of section number,
e.g. 1, 2 ,3 etc. For this, put label command below the caption.

\begin{figure}[htbp]
\includegraphics[width=0.5\textwidth]{fileName.png}
\caption{figure caption}
\label{fig:tiger}
\end{figure}

Regards,
Jitender Singh
On Mon, May 30, 2011 at 11:05 AM, vinay <vinay_elc at rediffmail.com> wrote:

> Dear TeXies,
> I am writing my project thesis using LaTeX. My OS is Ubuntu 9.10. The
> front-end is Kile.When I make reference to a particular figure in the
> explanatory text, the figure number corresponding  to the section
> is getting printed.
> Example:Suppose I am in Chapter 2, section 2. When  I say
> Fig.~\ref{fig:tiger}, the ouput is as follows:
> Fig. 2.2.1 for the first figure,FIg 2.2.2 for the 2nd figure 
> and so on. For the next section, it says Fig 2.3.1 etc..
> How to solve this problem?
> With regards,VinayMTech (Mechatronics)NITK, Surathkal
> _______________________________________________
> Home:        http://www.tug.org.in/
> TeX FAQ:     http://www.tex.ac.uk/faq
> unsubscribe: http://tug.org/mailman/listinfo/tugindia
>


More information about the tugindia mailing list