Difference between revisions of "Layout"

From ConTeXt wiki
Jump to navigationJump to search
(removed thumb indexes. They don't use layers...)
Line 68: Line 68:
 
See <cmd>setuplayout</cmd> in the manual.
 
See <cmd>setuplayout</cmd> in the manual.
  
By using [[Layers]], you can also place elements at specific places, as done in the [[BusinessCard]] example. Another use for this is for adding a graphic to every page to indicate chapters (sometimes known as a [[thumb index]]).
+
By using [[Layers]], you can also place elements at specific places, as done in the [[BusinessCard]] example.

Revision as of 09:47, 17 February 2005

< Visuals | Layers | Columnsets >

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.

See \setuplayout in the manual.

By using Layers, you can also place elements at specific places, as done in the BusinessCard example.