Changes

Jump to navigation Jump to search
480 bytes added ,  17:44, 19 February 2018
Hints about different layouts
{{todo | Merge with [[PaperSetup]] and [[Paper sizes]] }}< [[Visuals]] | [[Layers]] | [[Columns]] | [[Visual Debugging]] | [[Paper sizes]] >
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 ==
Page size and paper size are set with {{cmd|setuppapersize}}. Many paper sizes are already defined by name; see the list of [[PaperSizes|paper sizes]]. To define a new paper size, use {{cmd|definepapersize}}.
 
{{todo | Merge with [[PaperSetup]] }}
== Example layout ==
width=160mm,
topspace=20mm,
header=0mm,
footer=0mm,
height=250mm]
\definelayout[3][reset]
</texcode>
 
For the page numbers you can use absolute numbers (as above), relative numbers (like +1, -2) or the keywords odd, even, first and last.
 
<texcode>
\setuplayout[ % default layout (right page)
...
]
\definelayout[even][ % different layout on left pages
...
]
</texcode>
 
If you define additional layouts in a doublepage (duplex) setup, remember to think mirrored: leftmargin defines the right margin, backspace is the distance from the spine to the right edge of the text area etc.
 
.
<div style="border: 3px solid red; background: #ffcccc; 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>
== Advanced features ==

Navigation menu