[NTG-context] header in the middle on doublesided layout

Mojca Miklavec mojca.miklavec.lists at gmail.com
Mon Mar 22 22:04:09 CET 2010

On Mon, Mar 22, 2010 at 12:58, luigi scarso wrote:
> On Mon, Mar 22, 2010 at 12:29 PM, Mojca Miklavec wrote:
>> I would like to set a different header on left and right page, but I
>> would like it to be centered on page. How do I do that?
>> I am now hacking with
>>    \setupheadertexts[\hbox{\kern-5mm\myheaderright}][][][\hbox{\myheaderleft\kern-5mm}]
>>    \def\myheaderright{\hbox to "textwidth+10mm"{...}}
>> but that's a bit ugly.
>> Mojca
> Why don't you use setups ?

I do use setups on the outer level (not on the inner), but that hardly
makes a difference (\setups{Header:Left} and \myleftheader are almost

\startsetups[header with logo]

and then another structure full of hboxes, struts & kerns ... but I
find it ugly to use explicit kerning just to get the header alignment

But apparently everyone is hacking with boxes here. That's also OK if
there's no better option.


More information about the ntg-context mailing list