LaTeX forum ⇒ Page LayoutRotate 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

Postby lynnlee » Sun Jun 02, 2013 8:53 am

Hello community,

I want to rorate one page with a landscape table. The code I use is the following.
  1. \usepackage{pdfpages}
  2.  
  3. \begin{sidewaystable}
  4. \begin{landscape}{angle=90}
  5. ...
  6. \end{lanscape}
  7. \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:

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

Postby localghost » Sun Jun 02, 2013 11:34 am

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


Thorsten
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ 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

Postby lynnlee » Mon Jun 03, 2013 6:52 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.

  1. \documentclass[a4paper,11pt]{article}
  2.  
  3. \begin{document}
  4. Text contents.
  5. \begin{sidewaystable}
  6. ...
  7. \end{sidewaystable}
  8. \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: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Mon Jun 03, 2013 10:24 am

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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ 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

Postby lynnlee » Mon Jun 03, 2013 1:00 pm

Thanks, Thorsten. I understand.

Lynn


Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 1 guest