Difference between revisions of "Command/setuppapersize"

From ConTeXt wiki
Jump to navigationJump to search
m (cleaned up, Patrick's question looks like it has been answered)
Line 47: Line 47:
 
== See also ==
 
== See also ==
 
<!-- something like [[cmd:goto|\goto]] -->
 
<!-- something like [[cmd:goto|\goto]] -->
 +
 +
[[PaperSetup]]
  
 
[[Category:Reference/en|setuppapersize]]
 
[[Category:Reference/en|setuppapersize]]

Revision as of 00:07, 23 August 2011

\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

PaperSetup