Align the chapter-title to the middle of the header
Dear list, how can I align the text of the header in the double-page layout to the middle? I want something like that: \setupheadertexts [{\startalignment[middle] \definedfont[name:Gentium_Basic at 9pt]\getmarking[chapter] \stopalignment}][] [][] Of course, that does not work. By default, there are only the four places to set the text in the header: left and right in the header for both pages. How to place the chapter-title (or whatever) into the middle of the header? Thanks. Huseyin
On Mon, 23 Jul 2018, Huseyin Özoguz wrote:
Dear list,
how can I align the text of the header in the double-page layout to the middle?
I want something like that:
\setupheadertexts [{\startalignment[middle] \definedfont[name:Gentium_Basic at 9pt]\getmarking[chapter] \stopalignment}][] [][]
\setupheadertexts[chapter] Aditya
On 07/23/2018 03:59 PM, Huseyin Özoguz wrote:
Dear list,
how can I align the text of the header in the double-page layout to the middle?
I want something like that:
\setupheadertexts [{\startalignment[middle] \definedfont[name:Gentium_Basic at 9pt]\getmarking[chapter] \stopalignment}][] [][]
Of course, that does not work. By default, there are only the four places to set the text in the header: left and right in the header for both pages. How to place the chapter-title (or whatever) into the middle of the header?
Hi Huseyin, this should work: \setuppagenumbering[alternative=doublesided, location=] \setupheadertexts[center] %~ \setupheadertexts[\doifoddpageelse{odd}{even}] \starttext \dorecurse{10}{\Romannumerals{\recurselevel}\page} \stoptext Uncomment the commented line to get different headers for odd and even pages. I hope it helps, Pablo -- http://www.ousia.tk
participants (3)
-
Aditya Mahajan
-
Huseyin Özoguz
-
Pablo Rodriguez