Difference between revisions of "Command/old adaptlayout"

From Wiki
Jump to navigation Jump to search
m (Category: Layout)
m (Garulfoo moved page Command/adaptlayout to Command/old adaptlayout)
 
(3 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>adaptlayout</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
Line 26: Line 29:
 
Adapt the layout of one page to fit more or less lines in it.
 
Adapt the layout of one page to fit more or less lines in it.
 
Use this only in the last phase of corrections.
 
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 ==
 
== Example ==
Line 35: Line 44:
  
 
\showgrid
 
\showgrid
\showframe
+
\showframe[cut,text]
 +
\setuppagenumbering[location={header,inright}]
  
 
\adaptlayout[1][lines=-1]
 
\adaptlayout[1][lines=-1]

Latest revision as of 12:01, 9 June 2024

\adaptlayout

Syntax (autogenerated)

\adaptlayout[...,...][...=...,...]
[...,...]number
heightmax dimension
linesnumber


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.

To affect the current page (often more useful than defining absolute page numbers), just omit the first argument:

\adaptlayout[lines=-1]

Example

\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

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: