Changes

Jump to navigation Jump to search
400 bytes added ,  15:21, 4 September 2017
no edit summary
Note that when setting the state, before or after each applies to all parts of the page and it is therefore best to set these by themselves as the first example below shows. For this reason state=high also affects the footer in that it removes the footer leaving no whitespace.
== Example Examples ==
<texcode>\setupheader[state=empty]</texcode>
<texcode>\setupheader[strut=yes,style=bold]</texcode>
<texcode>\setupheader[text][after=\vskip 4pt \hrule]</texcode>
 
=== Header with thin line bellow ===
 
This is how to define header with thin line bellow, which does not appear on empty/blank page:
 
<context mode=mkiv source=yes>
\setupheader
[text]
[before={\startframed[frame=off,bottomframe=on,framecolor=blue,]},
after={\stopframed},
]
\setupheadertexts[Text left][Text right]
\starttext
Page 1
\page[empty,blank]
Page 2
\stoptext
</context>
== See also ==
105

edits

Navigation menu