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 Duplicates:

How to avoid splitting tables between sections.

How do I ensure that figures appear in the section they're associated with?

I have a couple of tables that are written consecutively (8 tables) and after all tables, I start a new section.

I want that LaTeX floats all those tables in some way (order of them is not important), but that it floats them before I start a new section, as it's really confusing when suddenly a table of the previous section appears in the new section.

Is this possible somehow?

share|improve this question

marked as duplicate by Caramdir, Hendrik Vogt, lockstep, Stefan Kottwitz Feb 23 '11 at 13: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 12 down vote accepted

The placeins package provides a \FloatBarrier command which prevents floats from floating beyond it. The package has a [section] option to place such a barrier at each section.

share|improve this answer
thanks, exactly what I was looking for! – Johannes Schaub - litb Feb 23 '11 at 6:47

Try \usepackage[section]{placeins}.

share|improve this answer

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