Hi,
I made a sidewaystable (it needs 1 whole page), but the table isn't printed where it has to be. If I use [h] or [h!], it is placed at the end of the document.
If I use nothing or [!htbp], than the table is placed 1 page too late. If I put [H], there is no table at all... (I do have the usepackage float). If I use [H] for other tables (normal ones, not sideways), than it is working fine.
\usepackage{float}
...
\begin{sidewaystable}[h!]
\caption{..}
\label{..}
\begin{tabular}{p{3.95cm}p{4cm}p{3.7cm}p{1.28cm}p{1.24cm}p{1.28cm}p{1.24cm}p{1.28cm}p{1.14cm}}
...
\end{tabular}
\end{sidewaystable}
How can I fix this?
Bye, Lieselotter
Graphics, Figures & Tables ⇒ placement of a sideways table
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
placement of a sideways table
The sidewaystable environment doesn't accept any placement parameters. It always appears directly on a whole page where declared in the source. This table is always shifted to the next page because it is very unlikely that there is nothing on the current page.
Best regards
Thorsten¹
Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 8
- Joined: Wed Jan 21, 2009 1:24 pm
Re: placement of a sideways table
Actually, it skips 1 page.
In stead of placing my table on the next page, there is 1 whole page of text first (that is written after the table in the source...) and than the table
In stead of placing my table on the next page, there is 1 whole page of text first (that is written after the table in the source...) and than the table
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
placement of a sideways table
Perhaps an example shows how this works. This may help for better understanding.
The current page is filled completely. The table is output as soon as possible. Uncomment the lines right before the sidewaystable environment and you will see the effect. I guess that is what's happening to your document.
Code: Select all
\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage{lmodern}
\usepackage{rotating}
\usepackage{blindtext}
\parindent0em
\begin{document}
\blindtext[5]
% \medskip
% \blindtext
\begin{sidewaystable}
\rule{\textheight}{0.8\textwidth}
\caption{Dummy}\label{tab:dummy}
\end{sidewaystable}
\medskip
\blindtext
\end{document}
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 8
- Joined: Wed Jan 21, 2009 1:24 pm
Re: placement of a sideways table
thank you for the explanation! it was very helpful
apparently, the \pagebreak I put before my table was the problem
Greetings,
Lieselotter
apparently, the \pagebreak I put before my table was the problem
Greetings,
Lieselotter