Changes

Jump to navigation Jump to search
654 bytes added ,  16:05, 12 November 2019
no edit summary
|attributes=
}}
 
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>adaptlayout</syntax>
== [[Help:Reference|Syntax]] ==
<tr valign="top" class="first">
<td class="cmd">[...,...,...]</td>
<td>page number (s) </td>
</tr>
<tr valign="top" class="second">
<td class="cmd">[[Command/keyword:height|height]]</td>
<td>[[Command/value:dimensionmax|dimensionmax]] +/-[[Command/value:maxdimension|maxdimension]] </td>
</tr>
<tr valign="top" class="second">
<td class="cmd">[[Command/keyword:lines|lines]]</td>
<td>[[Command/value:number|number]] : +1, -1, etc </td>
</tr>
</table>
 
== Description ==
Adapt the layout of one page to fit more or less lines in it.
Use this only in the last phase of corrections.
To affect the current page (often more useful than defining absolute page numbers), just omit the first argument:
<texcode>
\adaptlayout[lines=-1]
</texcode>
== Example ==
 <!-- Please fill in an example if you can -context source=yes>\setuppapersize[A10, landscape][A8, landscape]\setuppaper[nx=2, ny=2]\setuparranging[XY] \showgrid\showframe[cut,text]\setuppagenumbering[location={header,inright}] \adaptlayout[1][lines=-1]\adaptlayout[3][height=+10mm] \startlines\input reich\input reich\stoplines</context>
== See also ==
<!-- something like [[* {{cmd:goto|\goto]] -->setuplayout}}* {{cmd|adaptpapersize}}
== Help from ConTeXt-Mailinglist/Forum ==
All issues with:
{{Forum|{{SUBPAGENAME}}}}
[[Category:CommandsCommand/Layout|adaptlayout]]

Navigation menu