[NTG-context] placing content in footers

Henning Hraban Ramm texml at fiee.net
Sat May 11 19:40:59 CEST 2019


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



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