[Tex/LaTex] How to change certain pages into landscape/portrait mode

landscape

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

Best Answer

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}