ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "John R. Culleton" <john@wexfordpress.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: pagenumber in header line.-SOLVED
Date: Tue, 30 Jan 2007 11:13:34 -0500	[thread overview]
Message-ID: <200701301113.34905.john@wexfordpress.com> (raw)





>4                                                            ROBERT S. CABLE

>but what I want is the two components in the middle thus:
>                        4 ROBERT S. CABLE

>If I insert \hfil etc. the pagenumbering gets replaced with the word
>
>"pagenumber". 



>Solution?

I received a few solutions that didn't work for me.  Thanks to those who wrote 
me. But a little plain TeX trickery did it nicely as follows:

---------------------------------------------------------------------------
\setupheadertexts[text]
[][\CapStretch{INVESTING ON AUTOPILOT}\kern 1em\number\pageno\hfil]
[\number\pageno\kern 1em \CapStretch{ROBERT S. CABLE}\hfil][]
-------------------------------------------------------------------------

Since a centered header with page number included is a recurring requirement 
perhaps this should go in the wiki. Or perhaps not :<)



--
John Culleton
Able Indexing and Typesetting
Precision typesetting (tm) at reasonable cost.
Satisfaction guaranteed.
http://wexfordpress.com

             reply	other threads:[~2007-01-30 16:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-30 16:13 John R. Culleton [this message]
2007-01-31  8:55 ` luigi scarso

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=200701301113.34905.john@wexfordpress.com \
    --to=john@wexfordpress.com \
    --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).