Page LayoutRotate Page with landscape Table

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
lynnlee
Posts: 50
Joined: Fri Jan 04, 2013 10:15 am

Rotate Page with landscape Table

Post by lynnlee »

Hello community,

I want to rorate one page with a landscape table. The code I use is the following.

Code: Select all

\usepackage{pdfpages}

\begin{sidewaystable}
\begin{landscape}{angle=90}
...
\end{lanscape}
\end{sidewaystable}
But it is wrong. I do not know where to put the angle=90. Or I may need additional code in preamble? Any suggestion is appreciated.

Lynn

Recommended reading 2024:

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

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

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

Rotate Page with landscape Table

Post by localghost »

Why do you put a landscape environment into a sidewaystable environment?


Thorsten
lynnlee
Posts: 50
Joined: Fri Jan 04, 2013 10:15 am

Rotate Page with landscape Table

Post by lynnlee »

Hello Thorsten,

I took off the landscape environment, yes, it is not necessary here. With sidewaystable environment, the content of the table was rotated 90 degrees.That is what I need. But I also need the whole page with this rotated table to be rotated 90 degrees. The code I used is same as that in my first post. The table was inserted inside the text.

Code: Select all

\documentclass[a4paper,11pt]{article}

\begin{document}
Text contents.
\begin{sidewaystable}
...
\end{sidewaystable}
\end{document}
How to rotate the whole page with 90 degrees? This table occupies one page. Any suggestion is appreciated.

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

Rotate Page with landscape Table

Post by localghost »

lynnlee wrote:[…] But I also need the whole page with this rotated table to be rotated 90 degrees. […] How to rotate the whole page with 90 degrees? […]
What you want to do is not recommendable. You have a portrait document, hence the page style with its headers and footers should not vary. Take a look into a book with rotated tables. You won't find rotated headers and footers on those pages. This would be typographically questionable.
lynnlee
Posts: 50
Joined: Fri Jan 04, 2013 10:15 am

Re: Rotate Page with landscape Table

Post by lynnlee »

Thanks, Thorsten. I understand.

Lynn
Post Reply