| 1 |
orientation 1.0 (January 10, 2021) |
| 2 |
Set page orientation for dvips/Ghostscript |
| 3 |
Daniel Benjamin Miller <[email protected]> |
| 4 |
|
| 5 |
When using dvips with Ghostscript, the various PDF auto-rotation modes may |
| 6 |
sometimes need some tweaking. Using the auto-rotation feature of Ghostscript |
| 7 |
may suffice in most cases: it sets the orientation of the pages of the PDF |
| 8 |
according to text direction (either per-page or for the whole document). |
| 9 |
|
| 10 |
But sometimes we don't want this. For instance, Ghostscript may not obey |
| 11 |
the orientation set by geometry or other packages. |
| 12 |
|
| 13 |
We have eight commands available, in two categories. |
| 14 |
|
| 15 |
These commands orient the current page and all following pages: |
| 16 |
|
| 17 |
* \setportrait |
| 18 |
* \setlandscape |
| 19 |
* \setupsidedown |
| 20 |
* \setcounterlandscape |
| 21 |
|
| 22 |
These commands orient the current page only: |
| 23 |
|
| 24 |
* \thispageportrait |
| 25 |
* \thispagelandscape |
| 26 |
* \thispageupsidedown |
| 27 |
* \thispagecounterlandscape |
| 28 |
|
| 29 |
If you don't process your file with dvips and Ghostscript/ps2pdf, then don't |
| 30 |
expect any of these commands to do anything. |
| 31 |
|
| 32 |
Made available under the CC-Zero Dedication, 2021 |
| 33 |
For more info: https://creativecommons.org/publicdomain/zero/1.0/ |