Changes

Jump to navigation Jump to search
1,182 bytes added ,  19:14, 13 May 2013
Cure too-wide code fragments
< [[Structurals]] |
 
== Headers with centered content ==
</texcode>
The use of the TeX macros rlap and llap allows centering of content. Note that \pagenumber gets you the number prior to conversion; if you're using \setupuserpagenumber[numberconversion=...] then you'll want to use \userpagenumber instead.
== Using capitals ==
== Skipping headers or footers ==
You can suppress or bypass a header or footer on a chapter page like this:<texcode>% with header=high the text area of the page will extend up % into the space where the header normaly sits\setuphead[chapter][header=high,footer=none]  % header=empty leaves the header area intact, % but does not fill it with any text\setuphead[chapter][header=empty,footer=none] </texcode>Works only if the head title starts a new page. Since section does not do this by default, then you must write<texcode>\setuphead[section][page=yes,header=high,footer=none]</texcode> The options for 'header=' and 'footer=' are none,empty,high, nomarking. == Substituting a shorter lemma for a ''section'' header == Given a global setup such as Hans showed: <texcode>\setupheadertexts%[][section][chapter][]</texcode> Sometimes the ''section'' title is too long to fit in the header. Instead of manually inserting a new \setupheadertexts comamnd you may use something like <texcode>\startsection [title={Here is a section title too long to fit in the header}, marking={Here is a section title}]</texcode> Similarly, you can send shorter lemmas to the table of contents or to bookmarks. So the relevant keys include 
<texcode>
\setuphead[chapter][header=high,footer=none]title marking list bookmark
</texcode>
Also refer to this post about header and footer suppression: http://archive.contextgarden.net/message/20030329.110709.b9199ab7.en.html{{Getting started navbox}}

Navigation menu