TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

up vote 5 down vote accepted

Since you are already using the caption package, simply add


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.