Changes

Jump to navigation Jump to search
132 bytes added ,  18:48, 25 April 2019
m
</texcode>
The use of the TeX macros {{cmd|rlap }} and {{cmd|llap }} allows centering of content. Note that \{{cmd|pagenumber }} gets you the number prior to conversion; if you're using \{{cmd|setupuserpagenumber}}[numberconversion=...] then you'll want to use \{{cmd|userpagenumber }} instead.
== 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 ==
You can suppress or bypass a header or footer on a chapter page like this:
<texcode>
\setuphead[chapter][header=high,footer=none] % with header=high the text area of the page will extend up % into the space where the header normaly sits% or:\setuphead[chapter][header=emptyhigh,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
The options for 'header=' and 'footer=' are none,empty,high,nomarking.
== Adding Substituting a line below the shorter lemma for a ''section'' header ==There are two ways Given a global setup such as <texcode>\setupheadertexts%[][section][chapter][]</texcode> Sometimes the ''section'' title is too long to achieve this:fit in the header. Instead of manually inserting a new \setupheadertexts comamnd you may use something like 
<texcode>
\setupbackgroundsstartsection [title={Here is a section title too long to fit in the header][text][bottomframe}, marking=on{Here is a section title}]
</texcode>
The above method will require the header=high option if Similarly, you want can send shorter lemmas to skip the line on pages where a chapter begins (with header=empty the line will still be there but with no text)table of contents or to bookmarks. The second method allows skipping the header (including So the line) with both the header={empty|high} option.relevant keys include 
<texcode>
\setupheader[text][after={\blackrule[width=\textwidth,height=\linewidth,depth=0pt]}]title marking list bookmark
</texcode>
 
{{Getting started navbox}}
419

edits

Navigation menu