Difference between revisions of "Command/setuppapersize"

From ConTeXt wiki
(Create reference page)
 
m (cleaned up, Patrick's question looks like it has been answered)
Line 1: Line 1:
<!-- please remove this and the following line if you have checked this page -->
 
{{Reference_Cleanup}}
 
 
{{Reference
 
{{Reference
 
|name=setuppapersize
 
|name=setuppapersize
Line 42: Line 40:
  
 
To define your own paper size see [[cmd:definepapersize]].
 
To define your own paper size see [[cmd:definepapersize]].
 
I have seen something like "oversized", what is it? --pg
 
 
 
  
  

Revision as of 10:36, 13 April 2010

\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