I am having problems with a table in landscape orientation. This table occupies an entire page and it is preceded by a chapter title. Even though there is nothing else on the page, the table is placed on a new page. I already tried to reduce the number of rows on the table, but even if it has only one row, it is still placed on a new page.
Here is what I have:
\begin{landscape}
\chapter{Title}
\begin{table}[h]
\centering
\begin{tabular}{|c|l|l|}
....
\end{tabular}
\end{table}
\end{landscape}
I also tried to have a sidewaystable, but I keep having the same problem. Even without the landscape environment, the title stays on one page and the table is in the next one. So I have one page with a title and nothing else and another one with a table.
Can anyone help me understand what the problem is? Thank you.
Best Answer
You can use the
hvfloat
package; in this way, you can control at will the rotation of the table and its eventual caption; thenonFloat=true
option guarantees that no flotation will happen: