Changes

Jump to navigation Jump to search
606 bytes added ,  13:34, 11 May 2014
Added the horoffset and voroffset setuplayout parameters
{{todo | Merge with [[PaperSetup]] and [[Paper sizes]] }}
< [[Visuals]] | [[Layers]] | [[Columns]] | [[Visual Debugging]] >
For more on [http://context.aanhet.net/svn/contextman/context-reference/en/co-pagedesign.pdf layout and page design] see the [http://context.aanhet.net/svn/contextman/context-reference/en/co-pagedesign.pdf manual chapter].
 
<div style="border: 3px solid red; background: #ffaaaa; padding: 0.4em;">
<div style="font-size: 1.3em; fontweight: bold">Warning!</div>
At the moment a layoutchange (setuplayout) inside a page is not proper working in mkiv duplex mode.
For more details and actual state see mailing list and [http://wiki.contextgarden.net/User_talk:Zenlima Bug Layoutchange inside page while duplexmode].
</div>
 
== Typesetting areas ==
The 25 typesetting areas of a ConTeXt page are divided into 5 columns and 5 rows. From left to right, one encounters {{code|leftedge}}, {{code|leftmargin}}, {{code|text}}, {{code|rightmargin}}, and {{code|rightedge}}. From top to bottom, the areas are called: {{code|top}}, {{code|header}}, {{code|text}}, {{code|footer}}, {{code|bottom}}. E.g. {{cmdcode|leftmargin}} is the margin area to the left of the main text area; {{code|{leftmargin,bottom}|}} is below it, at the same height as the {{code|bottom}} area. In between the two lies the area {{code|{leftmargin,footer}|}}.
The graphic below illustrates thingsthe areas and dimensions. The row and column names are written
along the edges of the page. The arrows correspond to layout dimensions; the
more important a dimension is (i.e. the more of the layout is pushed around
when you change it), the thicker its arrow and the larger its name.
[[Image:layout.pngsvg||||Diagram of \setuplayout[] dimensions]]
== Defining the layout ==
| {{cmd|rightedgewidth}}
| from right margin to right rim of paper
|-
| horoffset
| ?
| bleed from left of paper
|-
| voroffset
| ?
| bleed from top of paper
|}

Navigation menu