Difference between revisions of "Command/setuppapersize"
< Command
Jump to navigation
Jump to search
m (→comment: No longer true) |
m (→Description) |
||
Line 22: | Line 22: | ||
== Description == | == Description == | ||
− | + | As the name suggests, <cmd>setuppapersize</cmd> sets the paper size for typesetting (the first argument) as well as the paper size for printing (the second argument). The second argument is optional; if omitted, it defaults to the value of the first argument. | |
− | |||
− | + | For example: | |
+ | <texcode> | ||
+ | \setuppapersize[letter] | ||
+ | </texcode> | ||
− | + | sets the paper size to <tt>letter</tt> paper, which is a pre-defined paper size. Other pre-defined paper sizes include: | |
− | |||
− | |||
− | To define your own paper size see | + | * <tt>letter</tt>, <tt>ledger</tt>, <tt>tabloid</tt>, <tt>legal</tt>, <tt>folio</tt>, and <tt>executive</tt> sizes from the North American paper standard; |
+ | * sizes <tt>A0</tt> – <tt>A10</tt>, <tt>B0</tt> – <tt>B10</tt>, and <tt>C0</tt> – <tt>C10</tt> from the A, B, and C series of the ISO-216 standard; | ||
+ | * sizes <tt>RA0</tt> – <tt>RA4</tt> and <tt>SRA0</tt> – <tt>SRA4</tt> from the RA and SRA series of ISO-217 paper standard; | ||
+ | * sizes <tt>C6/C5</tt>, <tt>DL</tt>, and <tt>E4</tt> from ISO-269 standard envelope sizes; | ||
+ | * <tt>envelope 9</tt> – <tt>envelope 14</tt> sizes from the American postal standard; | ||
+ | * sizes <tt>G5</tt> and <tt>E5</tt> from the Swedish SIS-014711 standard. These are used for Swedish theses; | ||
+ | * size <tt>CD</tt> for CD covers; | ||
+ | * size <tt>S3</tt> – <tt>S6</tt>, <tt>S8</tt>, <tt>SM</tt>, and <tt>SW</tt> for screen sizes. These sizes are useful for presentations. <tt>S3</tt> – <tt>S6</tt> and <tt>S8</tt> have an aspect ratio of 4:3. <tt>S3</tt> is 300pt wide, <tt>S4</tt> is 400pt wide, and so on. <tt>S6</tt> is almost as wide as a <tt>A4</tt> paper. <tt>SM</tt> and <tt>SW</tt> are for medium and wide screens; they have the same height as <tt>S6</tt>; | ||
+ | * a few more paper sizes, which are not mention here. See <tt>page-lay.mki(i|v)</tt> for details. | ||
+ | |||
+ | To define your own paper size, see <cmd>definepapersize</cmd>. | ||
+ | |||
+ | In addition to paper sizes, the second argument takes some special options: | ||
+ | * <tt>samesized </tt>: same size as the first argument | ||
+ | * <tt>oversized </tt>: adds 1,5cm to each side | ||
+ | * <tt>doublesized </tt>: doubles the size | ||
+ | * <tt>doubleoversized</tt>: doubles the size and adds 1,5 cm to each side | ||
== Example == | == Example == |
Revision as of 00:24, 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
As the name suggests, \setuppapersize sets the paper size for typesetting (the first argument) as well as the paper size for printing (the second argument). The second argument is optional; if omitted, it defaults to the value of the first argument.
For example:
\setuppapersize[letter]
sets the paper size to letter paper, which is a pre-defined paper size. Other pre-defined paper sizes include:
- letter, ledger, tabloid, legal, folio, and executive sizes from the North American paper standard;
- sizes A0 – A10, B0 – B10, and C0 – C10 from the A, B, and C series of the ISO-216 standard;
- sizes RA0 – RA4 and SRA0 – SRA4 from the RA and SRA series of ISO-217 paper standard;
- sizes C6/C5, DL, and E4 from ISO-269 standard envelope sizes;
- envelope 9 – envelope 14 sizes from the American postal standard;
- sizes G5 and E5 from the Swedish SIS-014711 standard. These are used for Swedish theses;
- size CD for CD covers;
- size S3 – S6, S8, SM, and SW for screen sizes. These sizes are useful for presentations. S3 – S6 and S8 have an aspect ratio of 4:3. S3 is 300pt wide, S4 is 400pt wide, and so on. S6 is almost as wide as a A4 paper. SM and SW are for medium and wide screens; they have the same height as S6;
- a few more paper sizes, which are not mention here. See page-lay.mki(i|v) for details.
To define your own paper size, see \definepapersize.
In addition to paper sizes, the second argument takes some special options:
- samesized : same size as the first argument
- oversized : adds 1,5cm to each side
- doublesized : doubles the size
- doubleoversized: doubles the size and adds 1,5 cm to each side