Graphics, Figures & Tables ⇒ Two sideways tables on the same page?
Two sideways tables on the same page?
I am quite new in this game.. Is it possible to get two sidewaystables into the same page? I am writing my master thesis and have two quite "long and narrow" tables which I would like to place below each other to make the lay-out look better.
NEW: TikZ book now 40% off at Amazon.com for a short time.

Re: Two sideways tables on the same page?
Hi silje,
There is an excellent article located here (go to "PDF version of paper")
http://www.tug.org/pracjourn/2007-1/mori/
Go to 3.2 Rotating Tables
I am sure that what you want to do can be done. There are probably several solutions, a few of which are in that article.
good luck!
There is an excellent article located here (go to "PDF version of paper")
http://www.tug.org/pracjourn/2007-1/mori/
Go to 3.2 Rotating Tables
I am sure that what you want to do can be done. There are probably several solutions, a few of which are in that article.
good luck!
Re: Two sideways tables on the same page?
Thank you very much! It says in the article that sidewaystable fills a whole page, but I will try to use another command.
Silje
Silje
-
- Posts: 26
- Joined: Mon Mar 09, 2009 3:19 pm
Re: Two sideways tables on the same page?
Did you find a way to do this?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Two sideways tables on the same page?
Follow the advice of PGScooter. Start a first approach on your own. In case of upcoming questions, feel free to ask.jazzgossen wrote:Did you find a way to do this?
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: 26
- Joined: Mon Mar 09, 2009 3:19 pm
Re: Two sideways tables on the same page?
I've tried a couple of different approaches.
Using sidewaystable, as stated above, requires a full page for each table.
I tried putting two sidewaystables in a minipage each, but then I get the error message "not in outer par mode".
If I just have a sideways environment inside the table environment (as opposed to sidewaystable), I get "Missing \endgroup inserted" after the caption.
I tried the lscape package and the landscape environment. If I put the tables inside a landscape environment, I do get two sideways tables on one page, but they are not floating. If I put the landscape environment inside the table environment, the tables aren't sideways anymore.
The only way of having floating sideways tables I could find in the article in PGScooter's post is the sidewaystable environment, but then I can only have one table on a page.
Using sidewaystable, as stated above, requires a full page for each table.
I tried putting two sidewaystables in a minipage each, but then I get the error message "not in outer par mode".
If I just have a sideways environment inside the table environment (as opposed to sidewaystable), I get "Missing \endgroup inserted" after the caption.
I tried the lscape package and the landscape environment. If I put the tables inside a landscape environment, I do get two sideways tables on one page, but they are not floating. If I put the landscape environment inside the table environment, the tables aren't sideways anymore.
The only way of having floating sideways tables I could find in the article in PGScooter's post is the sidewaystable environment, but then I can only have one table on a page.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Two sideways tables on the same page?
Nobody claims that there is no room for two tables inside this environment.jazzgossen wrote:[...] Using sidewaystable, as stated above, requires a full page for each table. [...]
Code: Select all
Code, edit and compile here:
\documentclass[11pt,a4paper,english]{article}\usepackage[T1]{fontenc}\usepackage[latin1]{inputenc}\usepackage{babel}\usepackage[font=small,labelfont=bf,tableposition=top]{caption}\usepackage{booktabs}\usepackage{rotating}\parindent0em\begin{document}\begin{sidewaystable}\caption{Table One}\label{tab:one}\centering\begin{tabular}{*{4}{c}} \topruleTable Head & Table Head & Table Head & Table Head \\ \midruleSome Values & Some Values & Some Values & Some Values \\Some Values & Some Values & Some Values & Some Values \\Some Values & Some Values & Some Values & Some Values \\Some Values & Some Values & Some Values & Some Values \\ \bottomrule\end{tabular}\vspace{2\baselineskip}\caption{Table Two}\label{tab:two}\centering\begin{tabular}{*{4}{c}} \topruleTable Head & Table Head & Table Head & Table Head \\ \midruleSome Values & Some Values & Some Values & Some Values \\Some Values & Some Values & Some Values & Some Values \\Some Values & Some Values & Some Values & Some Values \\Some Values & Some Values & Some Values & Some Values \\ \bottomrule\end{tabular}\end{sidewaystable}\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: 26
- Joined: Mon Mar 09, 2009 3:19 pm
Re: Two sideways tables on the same page?
Aha! That's it, thanks a lot!
Re: Two sideways tables on the same page?
Is it just me or sidewaystable does not respect right/left margins?
The tables are starting straight at the end of the paper, not where the margin should start.
Any ideas?
The tables are starting straight at the end of the paper, not where the margin should start.
Any ideas?
Two sideways tables on the same page?
Thank you! why didn't i think of just putting several tables inside the sideways environment.
If width of table is a problem just use:\resizebox{\textwidth}{!}{% } command:
Works well within the \sidewaystable environment also 
If width of table is a problem just use:\resizebox{\textwidth}{!}{% } command:
Code: Select all
Code, edit and compile here:
\resizebox{\textwidth}{!}{%\begin{tabular}table...\end{tabular}}
