Graphics, Figures & Tables ⇒ placement of a sideways table
-
- Posts: 8
- Joined: Wed Jan 21, 2009 1:24 pm
placement of a sideways table
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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
placement of a sideways table
Best regards
Thorsten¹
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
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
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}
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
apparently, the \pagebreak I put before my table was the problem
Greetings,
Lieselotter