some content
\begin{table}[t]
\begin{tabular}{c c c}
tabular content
\end{tabular}
\end{table}
\chapter{new chapter}
The output is:
First page:
some content
Second page:
table centered vertically
Third page:
new chapter
The problem is that table is centered vertically although its position is set to top [t] and second page's content is only table. How to force it to set it really on top?
Best Answer
If LaTeX doesn't find the way to put the table on top, it will keep the float until it finds a
\clearpage
command. In this case it's issued by\chapter
. It's better to give more than one choice, [tp] should suffice.It all depends on how much copy follows the table before the new chapter; if the
table
ends the chapter, there won't be many possibilities to place the float on top. Move thetable
environment back by some paragraphs, until it will be placed on top of the last page of the section.