Difference between revisions of "Command/adaptlayout"
< Command
Jump to navigation
Jump to search
(classification, bad description) |
(Description and example.) |
||
Line 15: | Line 15: | ||
<tr valign="top" class="second"> | <tr valign="top" class="second"> | ||
<td class="cmd">[[Command/keyword:height|height]]</td> | <td class="cmd">[[Command/keyword:height|height]]</td> | ||
− | <td>[[Command/value: | + | <td>[[Command/value:max|max]] +/-[[Command/value:dimension|dimension]]</td> |
</tr> | </tr> | ||
<tr valign="top" class="second"> | <tr valign="top" class="second"> | ||
<td class="cmd">[[Command/keyword:lines|lines]]</td> | <td class="cmd">[[Command/keyword:lines|lines]]</td> | ||
− | <td>[[Command/value:number|number]] </td> | + | <td>[[Command/value:number|number]]: +1, -1, etc </td> |
</tr> | </tr> | ||
</table> | </table> | ||
− | |||
== Description == | == Description == | ||
Line 28: | Line 27: | ||
Use this only in the last phase of corrections. | Use this only in the last phase of corrections. | ||
+ | == Example == | ||
+ | |||
+ | <context source=yes> | ||
+ | \setuppapersize[A10, landscape][A8, landscape] | ||
+ | \setuppaper[nx=2, ny=2] | ||
+ | \setuparranging[XY] | ||
+ | |||
+ | \showgrid | ||
+ | \showframe | ||
− | == | + | \adaptlayout[1][lines=-1] |
− | < | + | \adaptlayout[3][height=+10mm] |
+ | |||
+ | \startlines | ||
+ | \input reich | ||
+ | \input reich | ||
+ | \stoplines | ||
+ | </context> | ||
== See also == | == See also == | ||
− | + | * {{cmd|adaptpapersize}} | |
== Help from ConTeXt-Mailinglist/Forum == | == Help from ConTeXt-Mailinglist/Forum == |
Revision as of 20:35, 8 June 2012
\adaptlayout
Syntax
\adaptlayout[...,...,...][...,...=...,...] | |
[...,...,...] | page number(s) |
height | max +/-dimension |
lines | number: +1, -1, etc |
Description
Adapt the layout of one page to fit more or less lines in it. Use this only in the last phase of corrections.
Example
\setuppapersize[A10, landscape][A8, landscape] \setuppaper[nx=2, ny=2] \setuparranging[XY] \showgrid \showframe \adaptlayout[1][lines=-1] \adaptlayout[3][height=+10mm] \startlines \input reich \input reich \stoplines
See also
Help from ConTeXt-Mailinglist/Forum
All issues with: