[NTG-context] \setupheadertexts \setupfootertexts

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Fri Aug 2 23:36:47 CEST 2019


Hans Hagen schrieb am 02.08.2019 um 23:10:
> On 8/2/2019 10:26 PM, Alan Braslau wrote:
>
>> \setupheader [lefttext=,leftoddtext=,middletext=,...]
>>
>> This would be logical.
> we have a lot or areas ... and if you really want you can do this ...
>
> \setuplayouttext
>   [header][text]
>   [lefttext=L,
>    middletext=M,
>    righttext=\doifoddpageelse{RO}{RE}]
>
> \setuplayouttext
>   [footer][text]
>   [lefttext=L,
>    middletext=M,
>    righttext=\doifoddpageelse{RO}{RE}]
>
> \setuppagenumbering
>   [alternative=doublesided]
>
> \starttext
>    test \page test \page test
> \stoptext
>
> Has been there for ages ... (but I never use that method).
I has the same question a few years ago but I never used it
because it has a few limitations like missing style/color support.

\setuplayouttext[header][text][lefttext=L,middletext=M,righttext=R]

%\setupheadertexts[M]
%\setupheadertexts[L][R]

\setupheader
   [color=red,style=bold]

\setuppagenumbering
   [alternative=doublesided]

\starttext
\dorecurse{2}{\page[dummy]}
\stoptext

Wolfgang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190802/6aa5e6ee/attachment.html>


More information about the ntg-context mailing list