6

Possible Duplicates:

Keeping tables/figures close to where they are mentioned

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?

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.

12

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.

4

Try \usepackage[section]{placeins}.

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