# How to change certain pages into landscape/portrait mode

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

-
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

Try the lscape package:

% lscape.sty Produce landscape pages in a (mainly) portrait document.
\usepackage{lscape}
...
\begin{landscape}
...
\end{landscape}


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:

\usepackage{pdflscape}
...
\begin{landscape}
...
\end{landscape}

-