Command/setuppapersize

From ConTeXt wiki
< Command
Revision as of 10:36, 13 April 2010 by Thomas (talk | contribs) (cleaned up, Patrick's question looks like it has been answered)

\setuppapersize

Syntax

\setuppapersize[...,...,...][...,...,...]
[...,...,...] A3 A4 A5 A6 letter ... CD name landscape mirrored rotated 90 180 270
[...,...,...] A3 A4 A5 A6 letter ... name landscape mirrored rotated negative 90 180 270


Description

The first argument selects the area for typesetting and the second (optional)
argument the papersize for printing. 

options:
oversized        adds 1,5 cm on each side
doublesized      doubles the height
doubleoversized  doubles the height and adds 1,5 cm on each side

comment

The second argument is A4 by default (it would be better to use the same as the first argument for default value, but now it cannot be changed back for compatibility reasons). This means that you always have to provide the second argument if you want some othe paper size than A4.

For example if you want a landscape document, make sure to say landscape in both arguments:

\setuppapersize[A4,landscape][A4,landscape]

To define your own paper size see cmd:definepapersize.


Example

See also