Difference between revisions of "Command/setuppapersize"
< Command
Jump to navigation
Jump to search
m (→See also) |
m (→Description) |
||
Line 21: | Line 21: | ||
== Description == | == Description == | ||
− | + | ||
The first argument selects the area for typesetting and the second (optional) | The first argument selects the area for typesetting and the second (optional) | ||
− | argument the papersize for printing. | + | argument the papersize for printing. If the second argument is omitted, it defaults to the value of the first argument. |
+ | |||
+ | Options for the second argument are: | ||
+ | |||
+ | * <tt>oversized</tt> : adds 1,5 cm on each side | ||
+ | * <tt>doublesized</tt> doubles the size | ||
+ | * <tt>doubleoversized</tt> doubles the size and adds 1,5 cm on each side | ||
− | |||
− | |||
− | |||
− | |||
− | |||
== comment == | == 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. | 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. |
Revision as of 00:11, 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. If the second argument is omitted, it defaults to the value of the first argument.
Options for the second argument are:
- oversized : adds 1,5 cm on each side
- doublesized doubles the size
- doubleoversized doubles the size 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.