Changes

Jump to navigation Jump to search
111 bytes removed ,  13:15, 30 March 2012
m
replace <cmd>tags with {{cmd| template.
The names in the column and row headers are the keywords for <{{cmd>|setuplayout</cmd>}}, the words inside of the table are given to clarify ConTeXT terminology. There are also keywords suffixed by "distance" to set the distance
between each of the areas, e.g. <tt>leftedgedistance</tt>, <tt>leftmargindistance</tt> (from the named area to the inner).
<tr>
<td>paperheight</td>
<td><{{cmd>|paperheight</cmd>}}</td>
<td>height of paper page</td>
</tr>
<tr>
<td>paperwidth</td>
<td><{{cmd>|paperwidth</cmd>}}</td>
<td>width of paper page</td>
</tr>
<tr>
<td>printpaperheight</td>
<td><{{cmd>|printpaperheight</cmd>}}</td>
<td>differs from paperheight when using [[Imposition]] (arranging)</td>
</tr>
<tr>
<td>printpaperwidth</td>
<td><{{cmd>|printpaperwidth</cmd>}}</td>
<td>differs from paperwidth when using [[Imposition]] (arranging)</td>
</tr>
<tr>
<td>topspace</td>
<td><{{cmd>|topspace</cmd>}}</td>
<td>above header: from top rim of paper to to top rim of header</td>
</tr>
<tr>
<td>backspace</td>
<td><{{cmd>|backspace</cmd>}}</td>
<td>from left rim of paper to left rim of main text area</td>
</tr>
<tr>
<td>height</td>
<td><{{cmd>|makeupheight</cmd>}}</td>
<td>sum of heights of text area, header and footer (plus distances)</td>
</tr>
<tr>
<td>width</td>
<td><{{cmd>|makeupwidth</cmd>}}</td> <td>width of the main text area. <{{cmd>|makeupwidth</cmd> }} is normally same as <{{cmd>|textwidth</cmd>}}, but it can be different, for example in columns</td>
</tr>
<tr>
<td>top</td>
<td><{{cmd>|topheight</cmd>}}</td>
<td>height of the top area</td>
</tr>
<tr>
<td>topdistance</td>
<td><{{cmd>|topdistance</cmd>}}</td>
<td>between top and header</td>
</tr>
<tr>
<td>header</td>
<td><{{cmd>|headerheight</cmd>}}</td>
<td>height of header area</td>
</tr>
<tr>
<td>headerdistance</td>
<td><{{cmd>|headerdistance</cmd>}}</td>
<td>between header and text</td>
</tr>
<tr>
<td>textheight</td>
<td><{{cmd>|textheight</cmd>}}</td>
<td>height of text area</td>
</tr>
<tr>
<td>footerdistance</td>
<td><{{cmd>|footerdistance</cmd>}}</td>
<td>between text and footer</td>
</tr>
<tr>
<td>footer</td>
<td><{{cmd>|footerheight</cmd>}}</td>
<td>height of footer area</td>
</tr>
<tr>
<td>bottomdistance</td>
<td><{{cmd>|bottomdistance</cmd>}}</td>
<td>between footer and bottom</td>
</tr>
<tr>
<td>bottom</td>
<td><{{cmd>|bottomheight</cmd>}}</td>
<td>space below footer (but isn't calculated automatically)</td>
</tr>
<tr>
<td>bottomspace</td>
<td><{{cmd>|bottomspace</cmd>}}</td>
<td>space from bottom footer to bottom rim of paper</td>
</tr>
<tr>
<td>cutspace</td>
<td><{{cmd>|cutspace</cmd>}}</td>
<td>from right rim of paper to right rim of main text area</td>
</tr>
<tr>
<td>leftedge</td>
<td><{{cmd>|leftedgewidth</cmd>}}</td>
<td>from left rim of paper to left rim of left margin</td>
</tr>
<tr>
<td>leftedgedistance</td>
<td><{{cmd>|leftedgedistance</cmd>}}</td>
<td>between leftegde and left margin</td>
</tr>
<tr>
<td>leftmargin</td>
<td><{{cmd>|leftmarginwidth</cmd>}}</td>
<td>width of left margin (marginals space)</td>
</tr>
<tr>
<td>leftmargindistance</td>
<td><{{cmd>|leftmargindistance</cmd>}}</td>
<td>between left margin and text</td>
</tr>
<tr>
<td>textwidth</td>
<td><{{cmd>|textwidth</cmd>}}</td> <td>width of text area. when columns are used, the value of <{{cmd>|textwidth</cmd> }} can differ from <{{cmd>|makeupwidth</cmd>}}</td>
</tr>
<tr>
<td>rightmargindistance</td>
<td><{{cmd>|rightmargindistance</cmd>}}</td>
<td>between text area and right margin</td>
</tr>
<tr>
<td>rightmargin</td>
<td><{{cmd>|rightmarginwidth</cmd>}}</td>
<td>width of right margin (marginals area)</td>
</tr>
<tr>
<td>rightedgedistance</td>
<td><{{cmd>|rightedgedistance</cmd>}}</td>
<td>between right margin and right edge</td>
</tr>
<tr>
<td>rightedge</td>
<td><{{cmd>|rightedgewidth</cmd>}}</td>
<td>from right margin to right rim of paper</td>
</tr>
for standard US Letter-sized paper (8.5" &times; 11.0")
If you need a special paper size, have a look at our list of [[PaperSizes|paper sizes]] (ConTeXt's, standardized and traditional), and use <{{cmd>|definepapersize</cmd> }} if it's not already defined.
You can make all the geometry information visible with <{{cmd>|showlayout</cmd> }} and the [[Visual Debugging|related commands]].
See <{{cmd>|setuplayout</cmd> }} and <{{cmd>|setuppapersize</cmd> }} in the manual.
=== How to setup your layout ===

Navigation menu