Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| composition:texte:pages:changer_l_orientation_d_un_document3 [2018/06/03 13:13] – samcarter | 2_composition:texte:pages:changer_l_orientation_d_un_document3 [2021/01/30 11:35] (Version actuelle) – Suppression de la page reportée sur la page française. yannick.tanguy | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | --- | ||
| - | title: Typesetting things in landscape orientation | ||
| - | category: formatting | ||
| - | tags: layout | ||
| - | permalink: / | ||
| - | date: 2014-06-10 | ||
| - | --- | ||
| - | |||
| - | It's often necessary to typeset part of a document in landscape | ||
| - | orientation; | ||
| - | dimensions, but also to instruct the output device to print the | ||
| - | strange page differently. | ||
| - | |||
| - | There are two " | ||
| - | of landscape typesetting: | ||
| - | | ||
| - | |||
| - | - If you have a single floating object that is wider than it is | ||
| - | deep, and will only fit on the page in landscape orientation, | ||
| - | the [`rotating`](https:// | ||
| - | `sidewaysfigure` and `sidewaystable` | ||
| - | environments which create floats that occupy a whole page. | ||
| - | | ||
| - | |||
| - | Note that [`rotating`](https:// | ||
| - | loads the [`float`](https:// | ||
| - | answers in these FAQs, for example that on | ||
| - | [float placement](FAQ-floats). | ||
| - | loads [`rotating`](https:// | ||
| - | [`float`](https:// | ||
| - | - If you have a long sequence of things that need to be typeset in | ||
| - | landscape (perhaps a code listing, a wide `tabbing` | ||
| - | environment, | ||
| - | [`supertabular`](https:// | ||
| - | [`pdflscape`](https:// | ||
| - | using pdfLaTeX or `dvips` and generating PDF from | ||
| - | that). | ||
| - | clears the current page and restarts typesetting in landscape | ||
| - | orientation (and clears the page at the end of the environment | ||
| - | before returning to portrait orientation). | ||
| - | |||
| - | 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 | ||
| - | [" | ||
| - | rotate the landscape portion using the rotation facilities of the | ||
| - | [`graphics`](https:// | ||
| - | 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, | ||
| - | [`lscape`](https:// | ||
| - | `landscape` option of the [`geometry`](https:// | ||
| - | also give it `dvips` or `pdftex` option, | ||
| - | [`geometry`](https:// | ||
| - | output to be properly oriented. | ||
| - | facilities, in this respect, as does [`geometry`](https:// | ||
| - | |||
| - | 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 " | ||
| - | |||

