ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: <denis.maier@unibe.ch>
To: <ntg-context@ntg.nl>
Subject: Re: Align in setup header/footer
Date: Fri, 25 Jun 2021 10:36:07 +0000	[thread overview]
Message-ID: <5870592160554d14b6b8b2732c330737@unibe.ch> (raw)
In-Reply-To: <97ab2c9f8c34431cb8e297f772855da1@unibe.ch>

but you'll perhaps have to put the stuff inside a hbox first

\definehbox[pagenumber][12.5mm]

\setupfootertexts
	    [] [{\getmarking[chapter]}\hboxpagenumber{\hfill\pagenumber}]
        [\hboxpagenumber{\pagenumber\hfill}{\getmarking[part]}]    []


> -----Ursprüngliche Nachricht-----
> Von: Maier, Denis Christian (UB)
> Gesendet: Freitag, 25. Juni 2021 12:31
> An: ntg-context@ntg.nl
> Betreff: AW: [NTG-context] Align in setup header/footer
> 
> You can use \hfill
> 
> > -----Ursprüngliche Nachricht-----
> > Von: ntg-context <ntg-context-bounces@ntg.nl> Im Auftrag von Jan U.
> > Hasecke
> > Gesendet: Freitag, 25. Juni 2021 12:23
> > An: ntg-context@ntg.nl
> > Betreff: Re: [NTG-context] Align in setup header/footer
> >
> >
> > Hi Denis,
> >
> > Am 25.06.21 um 09:50 schrieb denis.maier@unibe.ch:
> > > Or, for more complex footers/headers you can use:
> > > \setupfootertexts
> > >      [left on odd page] % out
> > >      [right on odd page] % in
> > >      [right on even page] % in
> > >      [left on even page] % out
> >
> > In fact it is something like this
> >
> > \setupfootertexts
> >    [margin]
> >    []
> >    [\pagenumber]
> >    [\pagenumber]
> >    []
> >
> > I want to align the number inside of this area to the right or the
> > left respectively.
> >
> > I only found setuplayouttext to style the area, except that there is
> > no key "align".
> >
> > juh
> >
> ________________________________________________________________
> > ___________________
> > 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
> >
> ________________________________________________________________
> > ___________________
___________________________________________________________________________________
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:[~2021-06-25 10:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-25  7:24 Jan U. Hasecke
2021-06-25  7:50 ` denis.maier
2021-06-25  7:55   ` denis.maier
2021-06-25 10:23   ` Jan U. Hasecke
2021-06-25 10:31     ` denis.maier
2021-06-25 10:36       ` denis.maier [this message]
2021-06-25 11:15         ` Jan U. Hasecke
2021-06-25 11:19         ` Wolfgang Schuster

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=5870592160554d14b6b8b2732c330737@unibe.ch \
    --to=denis.maier@unibe.ch \
    --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).