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? Many thanks for your help, Pablo -- http://www.ousia.tk
Am 2019-05-11 um 16:35 schrieb Pablo Rodriguez
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
Am 2019-05-11 um 19:40 schrieb Henning Hraban Ramm
Am 2019-05-11 um 16:35 schrieb Pablo Rodriguez
: 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
On 5/12/19 2:30 PM, Henning Hraban Ramm wrote:
Am 2019-05-11 um 19:40 schrieb Henning Hraban Ramm:
Am 2019-05-11 um 16:35 schrieb Pablo Rodriguez:
[...] 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.
Many thanks for your reply, Hraban. Pablo -- http://www.ousia.tk
Pablo Rodriguez schrieb am 11.05.2019 um 16:35:
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 Where did you learn to use \mbox? Is there any way to place content in the middle of doublesided footers, besides left and right contents? \setuppagenumbering [alternative=doublesided]
\setupfootertexts [\doifoddpageelse{right page}{left page}] \setupfootertexts [inner margin] [outer margin] [outer margin] [inner margin] \starttext %\dorecurse{2}{\dontleavehmode\page} \dorecurse{2}{\page[dummy]} \stoptext Wolfgang
On 5/11/19 8:26 PM, Wolfgang Schuster wrote:
Pablo Rodriguez schrieb am 11.05.2019 um 16:35:
[...] \mbox{}\page\mbox{}
Where did you learn to use \mbox?
I don’t remember (probably in my LaTeX times, before moving to ConTeXt). I know that you don’t like it, but I didn’t know about \page[dummy].
Is there any way to place content in the middle of doublesided footers, besides left and right contents? \setuppagenumbering [alternative=doublesided]
\setupfootertexts [\doifoddpageelse{right page}{left page}]
\setupfootertexts [inner margin] [outer margin] [outer margin] [inner margin]
Many thanks for your help. I didn’t know that \setupfootertexts could be invoked twice. Pablo -- http://www.ousia.tk
participants (4)
-
Alan Braslau
-
Henning Hraban Ramm
-
Pablo Rodriguez
-
Wolfgang Schuster