## LaTeX forum ⇒ Page Layout ⇒ Rotate Page with landscape Table Topic is solved

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

### Rotate Page with landscape Table

Hello community,

I want to rorate one page with a landscape table. The code I use is the following.
\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

Tags:

localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm
Why do you put a landscape environment into a sidewaystable environment?

Thorsten
LaTeX Community Moderator

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

lynnlee
Posts: 50
Joined: Fri Jan 04, 2013 10:15 am
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.

\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

localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm
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.
LaTeX Community Moderator

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

lynnlee
Posts: 50
Joined: Fri Jan 04, 2013 10:15 am
Thanks, Thorsten. I understand.

Lynn