< [[Structurals]] | == Headers with centered content ==
ConTeXt offers the possibility to have mirrored headers (for odd and even pages); content can be in two parts, at the inner and outer margin of each page. But how do you get a header that will have one part of its content centered and one part in the outer margin? (This is a common setup for books: chapter title centered, page number in outer margin.) Hans posted this solution to the list:
The use of the TeX macros rlap and llap allows centering of content.
== Using capitals ==
In the previous example, the chapter title and the section title were fetched with the macro
<cmd >getmarking </cmd> which wraps around <cmd >fetchmark </cmd>.
However, in case you need a raw version of the mark, say for instance to put it uppercase, you may use this setup instead:
You can replace
<cmd >uppercase </cmd> by <cmd >WORD </cmd> and so on.
== Marginal headings and centered headings ==
The following file gives a way to achieve marginal and centered headings for doublesided documents. Experiment to achieve other effects!
== Skipping headers or footers = =
You can suppress or bypass a header or footer on a chapter page like this, as Hans showed:
Also refer to this post about header and footer suppression : http://archive.contextgarden.net/message/20030329.110709.b9199ab7.en.html