Frequently Asked Question List for TeX


Typesetting things in landscape orientation

It’s often necessary to typeset part of a document in landscape orientation; to achieve this, one needs not only to change the page dimensions, but also to instruct the output device to print the strange page differently.

There are two “ordinary” mechanisms for doing two slight variations of landscape typesetting:

No currently available package makes direct provision for typesetting in both portrait and landscape orientation on the same page (it’s not the sort of thing that TeX is well set-up to do). If such behaviour was an absolute necessity, one might use the techniques described in “flowing text around figures”, and would rotate the landscape portion using the rotation facilities of the graphics package. (Returning from landscape to portrait orientation would be somewhat easier: the portrait part of the page would be a bottom float at the end of the landscape section, with its content rotated.)

To set an entire document in landscape orientation, one might use lscape around the whole document. A better option is the landscape option of the geometry package; if you also give it dvips or pdftex option, geometry also emits the rotation instructions to cause the output to be properly oriented. The memoir class has the same facilities, in this respect, as does geometry.

A word of warning: most current TeX previewers do not honour rotation requests in DVI files. Your best bet is to convert your output to PostScript or to PDF, and to view these “final” forms with an appropriate viewer.

FAQ ID: Q-landscape
Tags: layout