This question already has an answer here:

I have the following problem:

My section 7.2 contains a lot of tables. Now it shows 2 tables, and then there is a space left on the page, that is not big enough for the next table. Therefore, section 7.3 starts at that empty space. However, after that, there are still two pages full of tables that belong to section 7.2, so I prefer section 7.3 to start after these tables.

Is this possible?

marked as duplicate by Jake, Stefan Kottwitz Jun 18 '13 at 19:10

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
    Welcome to TeX.SX! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – karlkoeller Jun 18 '13 at 18:41
  • Welcome to TeX.SX! You can have a look on our starter guide to familiarize yourself further with our format. – Claudio Fiandrino Jun 18 '13 at 18:55

Adding ! in arguments of table gives LaTeX more flexibility and \clearpage forces putting all floats before a new page.

For example book.cls sets


and ! overrides these restrictions.

  • ! gives LaTeX more flexibility? Doesn't this option force LaTeX to put it where you specify? +1 for \clearpage though - this can easily be hooked onto the beginning of \section to provide drop-in functionality. – Sean Allred Jun 18 '13 at 18:48
  • 2
    @SeanAllred ! is not Here. It omits limits of text part, floats part, etc., given by a style. – Przemysław Scherwentke Jun 18 '13 at 18:51
  • I'm a bit confused now - will this be in texdoc tabular or the like? – Sean Allred Jun 18 '13 at 18:53
  • 1
    @SeanAllred I have just added fragments of book.cls and additional comment to my answer. – Przemysław Scherwentke Jun 18 '13 at 19:11

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