ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Huseyin Özoguz" <h.oezoguz@mmnetz.de>
To: ntg-context@ntg.nl
Subject: Align the chapter-title to the middle of the header
Date: Mon, 23 Jul 2018 15:59:36 +0200	[thread overview]
Message-ID: <d0e20b0e-a2ee-855d-0f5d-89adf1fe051b@mmnetz.de> (raw)

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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2018-07-23 13:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-23 13:59 Huseyin Özoguz [this message]
2018-07-23 14:59 ` Aditya Mahajan
2018-07-23 15:01 ` Pablo Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d0e20b0e-a2ee-855d-0f5d-89adf1fe051b@mmnetz.de \
    --to=h.oezoguz@mmnetz.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).