[texhax] figurs numbering and bibliography

Alex Scorpan scorpan at gmail.com
Fri Jul 14 21:00:15 CEST 2006


> Hello all, I'm kinda new to LaTex, but things are going well. I'm
> writing a report for my PhD thesis, using the article class.
> Well, how can I set the figures numbers according to their section?

Try, in your preamble,

	\makeatletter
	\@addtoreset{figure}{section}
	\makeatother
	\renewcommand\thefigure{\thesection.\arabic{figure}}

or, especially if you already use {amsmath},

	\usepackage{amsmath}
	\numberwithin{figure}{section}
	\renewcommand\thefigure{\thesection.\arabic{figure}}

Alex


More information about the texhax mailing list