|attributes=
}}
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>setupheadertexts</syntax>
== [[Help:Reference|Syntax]] ==
</table>
or
<table cellspacing="4" cellpadding="2" class="cmd">
<tr>
<td colspan="2" class="cmd">\setupheadertexts<span class="first" style="color:red;">[...]</span></td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[...]</td>
<td><strong>text</strong> in the middle of the header</td>
</tr>
</table>
Note that these can be combined, so if you want a header with text on the left, middle, and right of the page you can use:
<texcode>
\setupheadertexts[middle text]
\setupheadertexts[on the left][on the right]
</texcode>
There are predefined keywords for popular values, like <code>chapter</code> and <code>pagenumber</code>,
eg:
<texcode>
\setupheadertexts[chapter]
\setupheadertexts[][pagenumber][pagenumber][]
</texcode>
== Description ==
=== Multiline header ===
<texcodecontext source="yes">\setuppapersize[A7,landscape]
\startsetups[headertext]
\startframed[frame=off,align=flushleft,width=fit]
\starttext
\showframe
aaa
\stoptext
</texcodecontext> (The result is not shown as headers - here, on Wiki - are trimmed out from the produced .pdf, so there is nothing to show.)
== See also ==