TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I change some pages into document into landscape mode, while leaving the others in portrait mode (or vice versa)?

share|improve this question
Should the header and footer also be in landscape mode? – Herbert Feb 13 '11 at 16:39
@Herbert: If yes, how to do this? – xport Jun 9 '11 at 23:48
The lscape and the rotating packages do not work together with the watermark package. fancyhdr cfoot size is not changing when the page is rotated. \textwidth is not changed when the page is rotated. Etc. So rotating is not a good solution. There should be a way to switch between landscape and portrait mode - at least PDF allows that so there should be a way to do it when the output is rendered as PDF. Anybody knows the correct answer? – nagylzs Apr 30 '15 at 7:50

Try the lscape package:

% lscape.sty Produce landscape pages in a (mainly) portrait document.

This modifies the margins and rotates the page contents but not the page number. Useful, for example, with large multipage tables, and is compatible with the packages longtable and supertabular.

If you are using pdfLaTeX, you should use pdflscape instead. The pdflscape package adds PDF support to the landscape environment of package lscape, by setting the PDF/Rotate page attribute. Pages with this attribute will be displayed in landscape orientation by conforming PDF viewers:

share|improve this answer
The page number appears on the left side of the page with this solution. – carloscinelli Aug 3 '14 at 17:27
nice package, but how do I landscape header and footer? (o.w. they turn out over the landscaped text) – mario Dec 28 '14 at 18:52
Right, but how can I go into landscape mode with rotating page numbers as well? – user2300369 Jan 5 at 15:48
@carloscinelli , this is the intention as when binding the pages physically together the page numbers need to be at the same place (bottom). The 'lscape' package is not able to fix this, see this thread for a solution: tex.stackexchange.com/questions/9071/… – Tom Lank. Mar 15 at 21:09

The lscape package has problems with doublesided documents!

The landscape pages of even pagenumbers (on the left side of the document) should be upside down from the ones of the odd pagenumbers (on the right side of the document).

To solve this problem in doublesided documents use package rotating:


It rotates the figures with respect to the page numbering. It also supports manual rotation with \begin{sideways} (90 degree counter-clockwise) and \begin{turn}{30} (30 degree rotation).

I found the solution here.

share|improve this answer

Found a much better solution that works with PDF files only. Use the pdflscape package instead of the lscape package. This will rotate the page inside the PDF too so it looks good. However, it still does not change \textwidth and other things. Interferes with other packages, so for example instead of \SetWatermarkAngle{19} you will have to manually set \SetWatermarkAngle{109} on landscape (in reality: rotated) pages.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.