[NTG-context] centered headertexts ??

Peter Rolf indiego at gmx.net
Wed Jul 26 18:44:33 CEST 2006


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 at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 
> 



More information about the ntg-context mailing list