![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 25.03.10 00:37, schrieb Michael Saunders:
1. central headers with margin overhanging:
I find that the following line:
\setupheadertexts[margin][\rlap{\getmarking[section]}\hfill][\hfill\llap{\getmarking[subsection]}]
will set up a header nicely, overhanging the margins. To be clear, I meant that: the left header text begins at the leftmost extreme of the left margin and goes as far right as it needs to, even above the text area, and the right header text begins whereever it has to, even above the text, to end at the rightmost extreme of the right margin.
On the other hand, this code:
\setupheadertexts[\setups{text a}] \startsetups[text a] \rlap{\getmarking[section]}\hfill \hfill --center text here-- \hfill \hfill\llap{\getmarking[subsection]} \stopsetups
can place a center header text.
Is there a way to do both?
\setuplayout [backspace=6cm, width=middle] \setupheadertexts [margin] [\leftaligned{very long leftmargin text}] [\rightaligned{very long rightmargin text}] \setupheadertexts[text in the middle] \showframe \starttext \input knuth \stoptext or \setuplayout [backspace=6cm, width=middle] \setupheader [margin] [lefttext=\leftaligned{very long leftmargin text}, righttext=\rightaligned{very long rightmargin text}] \setupheader [text] [middletext={text in the middle}] \showframe \starttext \input knuth \stoptext Wolfgang