Difference between revisions of "Command/adaptlayout"

From Wiki
Jump to navigation Jump to search
m (Category: Layout)
m (Improve example visuals)
Line 35: Line 35:
  
 
\showgrid
 
\showgrid
\showframe
+
\showframe[cut,text]
 +
\setuppagenumbering[location={header,inright}]
  
 
\adaptlayout[1][lines=-1]
 
\adaptlayout[1][lines=-1]

Revision as of 08:41, 25 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[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: