Difference between revisions of "Page Layout"
Jump to navigation
Jump to search
m (changed Columnsets link to Columns) |
m (todo tag) |
||
Line 71: | Line 71: | ||
At [http://getfo.sourceforge.net/context_xml/index.html Paul Tremblay's] [[XML]] ConTeXt site, there's a lot about layout from a [[Formatting Objects|XML/FO]] perspective with some descriptive pictures. | At [http://getfo.sourceforge.net/context_xml/index.html Paul Tremblay's] [[XML]] ConTeXt site, there's a lot about layout from a [[Formatting Objects|XML/FO]] perspective with some descriptive pictures. | ||
+ | |||
+ | {{todo|Unfortunately it's not that easy to define a layout. We need documentation about which parameters define which length, what influences what else etc.}} |
Revision as of 18:36, 14 January 2006
< Visuals | Layers | Columns | Visual Debugging >
You can use these design areas in your page:
leftedge | leftmargin | text | rightmargin | rightedge | |
top | . | . | . | . | . |
header | . | . | header | . | . |
text | . | marginals | text | marginals | . |
footer | . | . | footer | . | . |
bottom | . | . | . | . | . |
There's also a "distance" between each of the areas, e.g. leftedgedistance, leftmargindistance (from the named area to the inner).
\setuplayout[backspace=20mm, width=160mm, topspace=20mm, top=0mm, header=0mm, footer=0mm, height=250mm]
You can make all the geometry information visible with \showlayout and the related commands.
See \setuplayout in the manual.
By using Layers, you can also place elements at specific places, as done in the BusinessCard example.
At Paul Tremblay's XML ConTeXt site, there's a lot about layout from a XML/FO perspective with some descriptive pictures.
TODO: Unfortunately it's not that easy to define a layout. We need documentation about which parameters define which length, what influences what else etc. (See: To-Do List) |