[NTG-context] placing content in footers

Henning Hraban Ramm texml at fiee.net
Sun May 12 14:30:36 CEST 2019


Am 2019-05-11 um 19:40 schrieb Henning Hraban Ramm <texml at fiee.net>:

> Am 2019-05-11 um 16:35 schrieb Pablo Rodriguez <oinos at gmx.es>:
> 
>> Dear list,
>> 
>> I have the following sample:
>> 
>>   \setuppapersize[A8]
>>   \setuppagenumbering
>>       [alternative=doublesized]
>>   \setupfootertexts
>>       [even-right]
>>       [even-left]
>>       [odd-right]
>>       [odd-left]
>>       %~ [even-middle]
>>       %~ [odd-middle]
>>   \starttext
>>   \mbox{}\page\mbox{}
>>   \stoptext
>> 
>> Is there any way to place content in the middle of doublesided footers,
>> besides left and right contents?
> 
> \setuppagenumbering[alternative=doublesided]
> \setupheadertexts[]
> \setupheadertexts[\setups{text right}][][][\setups{text left}]
> 
> \startsetups[text right]
>  \rlap{\pagenumber}
>  \hfill
>  \getmarking[chapter]
>  \hfill
>  \llap{Un Nom}
> \stopsetups
> 
> \startsetups[text left]
>  \rlap{Una Person}
>  \hfill
>  \getmarking[section]
>  \hfill
>  \llap{\pagenumber}
> \stopsetups

Sorry, I didn’t take time to comment on that example – of course it’s about headers not footers (they work the same) and shows a way to spread three pieces of text instead just centering one, which is much easier.


Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD



More information about the ntg-context mailing list