ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Peter Rolf <indiego@gmx.net>
Subject: Re: centered headertexts ??
Date: Wed, 26 Jul 2006 18:44:33 +0200	[thread overview]
Message-ID: <44C79BF1.8040901@gmx.net> (raw)
In-Reply-To: <9116CE2A-4BDC-41EC-AF76-7412E5085D3B@st.estfiles.de>

Steffen Wolfrum wrote:
> Hi,
> 
> apologies, I guess this one is a pretty easy question, but after  
> trying (almost) every combination I gave up...
> 
> How do I get xxx and yyy set in the header's center??
> 
> 
Look at

http://wiki.contextgarden.net/Headers_and_Footers

Marginal headings and centered headings



\setupheadertexts[] [\setups{text a}] [\setups{text b}] []

\startsetups[text a]
\vtop{%
  \startalignment[center]
  XXX
%  \getmarking[chapter]
  \stopalignment
}
\stopsetups

\startsetups[text b]
\vtop{%
  \startalignment[center]
  YYY
%  \getmarking[section]
  \stopalignment
}
\stopsetups


> 
> \setuppagenumbering [alternative=doublesided,location= 
> {header,marginedge}]
> \setupheadertexts[][xxx][yyy][]
> 
> 
> \starttext
> 
> \input tufte
> 
> \input knuth
> 
> \input tufte
> 
> \input knuth
> 
> \input tufte
> 
> \input knuth
> 
> \stoptext
> 
> 
> 
> As always, thank you very much,
> Steffen
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 
> 

  reply	other threads:[~2006-07-26 16:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-26 16:04 Steffen Wolfrum
2006-07-26 16:44 ` Peter Rolf [this message]
2006-07-27 10:28 ` Hans Hagen

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=44C79BF1.8040901@gmx.net \
    --to=indiego@gmx.net \
    --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).