Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Possible Duplicate:
Continuous v. per-chapter/section numbering of figures, tables, and other document elements

I'm using the book class. I want to count my figures as "Figure 1.", "Figure 2.", etc. throughout my document. The numbers should not reset when new chapter, section or subsection begins. The counter should just keep on going until the very end of the document. How do I accomplish this? (I'm also using the caption package to customize my captions, by the way.)

share|improve this question

marked as duplicate by lockstep, Thorsten, egreg, Torbjørn T., Joseph Wright Mar 20 '12 at 21:31

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

up vote 5 down vote accepted

Since you are already using the caption package, simply add

\captionsetup{figurewithin=none}

to the preamble, after loading the package.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.