# figures numbering to 3 levels rather than 2

For some reason my current 'report' has started numbering figures to 3 levels... so if something is within chapter 1, but section 1.3, the figure gets numbered 1.3.1...

This isn't what I want... it's too much granularity for me. I just figures numbered in order within the chapter... so 1.1, 1.2, 1.3 as they appear, regardless of the section within the chapter in which they appear.

Could anyone help? Thanks.

• – lockstep Aug 29 '12 at 14:29
• Use `\numberwithout{figure}{section}\numberwithin{figure}{chapter}`. This should remove the `figure` counter slaving to the `section` counter and re-insert it to slave after `chapter`. – Werner Aug 29 '12 at 15:56
• numberwithout...? does that exist? I just googled it and only numberwithin came up. It also gives me an error in latex..."undefined control sequence". Any ideas? Thanks – Rob D Aug 29 '12 at 17:36

Assuming you're also using the `amsmath` package, you could issue the command
``````\numberwithin{figure}{chapter}
to reset the numbering system for `figure`-type floats. Try issuing this command toward the end of the preamble, i.e., after any packages that may affect the numbering system for figures are loaded.
• @RobD - My bad, it should have been `\numberwithin{figure}{chapter}` (as lockstep has already pointed out). – Mico Aug 29 '12 at 15:46