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

Is it possible to use \listoftables and \listoffigures, but to have the lists divided by sections, similar to how the table of contents works?

share|improve this question
What do you mean by "divided by section"? Do you want to insert a space between the figures/tables at every section? Also, what \documentclass are you using, since \listoftables and \listoffigures are class-dependent? – Werner Dec 7 '12 at 16:58
David Carlisle below got what I meant. I want to have a section header before the figures / tables that are in that section. The document class is article. – TARehman Dec 7 '12 at 19:03
up vote 5 down vote accepted

It's easy to write to the file but you have to get the timing right so the heading comes in the logical place, easiest to put the heading in the first float of each section rather than at the heading.

enter image description here









share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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