Changes

Jump to navigation Jump to search
1,196 bytes added ,  11:00, 25 May 2013
m
Stray brace
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:paper|paper]]</td> <td>[[Reference/enCommand/value:name|name]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:page|page]]</td> <td>[[Reference/enCommand/value:name|name]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:nx|nx]]</td> <td>[[Reference/enCommand/value:number|number]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:ny|ny]]</td> <td>[[Reference/enCommand/value:number|number]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:width|width]]</td> <td>[[Reference/enCommand/value:dimension|dimension]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:height|height]]</td> <td>[[Reference/enCommand/value:dimension|dimension]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:topspace|topspace]]</td> <td>[[Reference/enCommand/value:dimension|dimension]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:backspace|backspace]]</td> <td>[[Reference/enCommand/value:dimension|dimension]] </td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Reference/enCommand/keyword:option|option]]</td> <td>[[Reference/enCommand/value:max|max]] [[Reference/enCommand/value:fit|fit]] </td>
</tr>
</table>
== Description ==
This command is only used in connection with {{cmd|setuparranging|[XY] arranging only!}}. It lets you set up the number of rows and columns, and the spaces between them, as well as letting you add an offset to the resulting grid.
This command provides == Example ==Consider an A4 sheet of labels which carries 12 labels. The topspace before the first label is 21 mm, the means to setup left and right space alongside the edges of the parameters needed for sheet is 8 mm. The horizontal and vertical adjustments are only applied when {{cmd|setuplayout|[XYlocation=middle] arrangement}} is passed at some point in the document. Next to this it is possible to adjust If the horizontal {{code|dx}} and vertical placement of {{code|dy}} parameters are 0, the {{code|1=location=middle}} option will cause the total of label-pages to be distributed evenly over the arranged partspace keeping top and bottom and left and right space equally large.  <texcode>\definepapersize[Label][height=42.3mm,width=97mm]\setuppapersize[Label][A4]\setuppaper [topspace=21mm, backspace=8mm, dx=0.5mm, dy=0mm, nx=2, ny=6] \setuplayout [page=Label, topspace=4mm, backspace=5mm, margin=0mm, width=87mm, height=34.3mm, header=0mm, footer=0mm] \setuplayout[location=middle] \showframe\definelayer[Label][width=\paperwidth, height=\paperheight]\setuparranging[XY]
\starttext\dorecurse{12} {\setlayerframed [Label] [preset=leftbottom,y= Example .9cm,x=0mm] [frame=off, style=\tfx] {\CONTEXT\ is fun!} \startstandardmakeup \placelayer[Label]\page \stopstandardmakeup}\stoptext<!-- Please fill in an example if you can --/texcode>
== See also ==
<!* {{cmd|setuparranging}}* {{cmd|setuppapersize}}* {{cmd|setuplayout}} == Help from ConTeXt-- something like [[cmdMailinglist/Forum ==All issues with:goto{{Forum|\goto]] -->{{SUBPAGENAME}}}}
[[Category:ReferenceCommand/enLayout|setuppaper]]

Navigation menu