Graphics, Figures & TablesChapter title plus sideways table

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
engineer
Posts: 1
Joined: Mon Apr 04, 2011 11:34 pm

Chapter title plus sideways table

Post by engineer »

I have an appendix chapter, which consists of a single sideways table. Because sideways table always occupies a whole page, I would get two pages, one which only contains the chapter title, the second one contains the actual table.

Is there any way to get them on the same page? The table would be small enough to fit below the title.

Thanks in advance!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Chapter title plus sideways table

Post by localghost »

The rotating package offers some other mechanisms to turn a table. Some interesting examples and other tips and tricks are compiled in the document »Using imported Graphics in LaTeX and pdfLaTeX«.


Best regards and welcome to the board
Thorsten
seanathon
Posts: 1
Joined: Wed Nov 24, 2010 2:46 pm

Chapter title plus sideways table

Post by seanathon »

I am having an identical problem with this!

EDIT: I managed to solve this by making this the beginning of the table:

Code: Select all

\begin{table}[h]\footnotesize
gilmard
Posts: 1
Joined: Fri Sep 28, 2012 10:00 pm

Chapter title plus sideways table

Post by gilmard »

Hi, I have the same problem with my sidewaystable and I have no idea how to correct it. I have 2 appendices including each 1 table. I want to put the table right below the title of the section, but it moves to the next page! Could you please help?

the code:

Code: Select all

\usepackage{lscape}
\usepackage{rotating}
\usepackage{adjustbox}
\usepackage{ctable}

\appendix
\section{A}\label
\begin{sidewaystable}[h]\footnotesize
\centering
\caption{A1}
\begin{adjustbox}{width=\textwidth,totalheight=\textheight,keepaspectratio}
\begin{tabular}{p{6cm} l c c c c c c c p{5cm} c p{5cm} c p{3cm} c p{5cm} c}
...
\end{tabular}
\label{APX1}
\end{adjustbox}
\end{sidewaystable}
bsn
Posts: 1
Joined: Thu Apr 18, 2013 9:48 pm

Re: Chapter title plus sideways table

Post by bsn »

I have the same problem. Changing the size of the sideways table does not help. Changing the orientation of the table is not optional - it has be sideways in my dissertation. I would appreciate any suggestions.
yuli2513
Posts: 1
Joined: Thu Jun 21, 2018 4:15 pm

Chapter title plus sideways table

Post by yuli2513 »

I found the solution to this. As long as you put the \begin{sidewaystable} command before the heading's code (e.g. \chapter{XXX}), the heading will be rotated and will show up right on top of your table. I hope this will help for those who have a very wide table and when even the \footnotesize command does not help.
Post Reply