Re: [NTG-context] Hairline in header

2011-03-03 Thread Willi Egger
Hi, Of course this is a very elaborate solution which comes in handy, if you want special effects. however for the simple case of a rule you could also use just: \setupbackgrounds[header][text][frame=off, bottomframe=on,rulethickness=1pt] Willi On 3 Mar 2011, at 16:39, Wolfgang Schuster wrote:

Re: [NTG-context] Hairline in header

2011-03-03 Thread Wolfgang Schuster
Am 02.03.2011 um 22:12 schrieb Dr. David Endler: > Hi Wolfgang, > > Is there also a possibility to have 2 lines below the header with different > color and different thickness? You can use TeX’s own mechanism to draw the rules or use MetaPost. % solution 1: %\startsetups headerrules % \bl

Re: [NTG-context] Hairline in header

2011-01-11 Thread Florian Wobbe
>> Thanks, that works. I wonder if you can configure this with \setupthinrules. >> \setupthinrules[before=\vskip-0.8em] does no work. >> > > Hm, if you use: > \setupthinrules[n=1, before=\vskip-0.8em] > \setupheader[text][after=\thinrules] > > it can work. > > However ConTeXt advises to use \bl

Re: [NTG-context] Hairline in header

2011-01-11 Thread 李延瑞
2011/1/11 Florian Wobbe : >>> how can I move the thinrule further up in this example? I'd like to use >>> \thinrule but still want the position like this: >>> >>> \setupheader[text][after=\hrule] >>> >> >> Hi Florian, >> >> Maybe this can help you. >> >> \setuplayout[header=1cm,headerdistance=1cm]

Re: [NTG-context] Hairline in header

2011-01-11 Thread Florian Wobbe
>> how can I move the thinrule further up in this example? I'd like to use >> \thinrule but still want the position like this: >> >> \setupheader[text][after=\hrule] >> > > Hi Florian, > > Maybe this can help you. > > \setuplayout[header=1cm,headerdistance=1cm] > \setupheader[text][after=\vsk

Re: [NTG-context] Hairline in header

2011-01-10 Thread 李延瑞
2011/1/11 Florian Wobbe : >> \setupheader[text][after=\thinrule] >> \setuplayout[header=1cm,headerdistance=1cm] >> \starttext >> \dorecurse{12}{\input knuth\par} >> \stoptext > > Hi, > > how can I move the thinrule further up in this example? I'd like to use > \thinrule but still want the position

Re: [NTG-context] Hairline in header

2011-01-10 Thread Florian Wobbe
> \setupheader[text][after=\thinrule] > \setuplayout[header=1cm,headerdistance=1cm] > \starttext > \dorecurse{12}{\input knuth\par} > \stoptext Hi, how can I move the thinrule further up in this example? I'd like to use \thinrule but still want the position like this: \setupheader[text][af

Re: [NTG-context] Hairline in header

2010-11-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Thanks, that's it. Cheers, Lukas On Thu, 04 Nov 2010 10:01:18 +0100, Wolfgang Schuster wrote: \setupheader[text][after=\thinrule] \setuplayout[header=1cm,headerdistance=1cm] \starttext \dorecurse{12}{\input knuth\par} \stoptext

Re: [NTG-context] Hairline in header

2010-11-04 Thread Wolfgang Schuster
Am 04.11.2010 um 09:07 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: > Hello, > > how to add the hairline (or a kind of the horizontal rule) under the header > area? \setupbackgrounds[header][text][bottomframe=on] \setuplayout[header=1cm,headerdistance=1cm] \starttext \dorecurse{12}{\input

[NTG-context] Hairline in header

2010-11-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, how to add the hairline (or a kind of the horizontal rule) under the header area? I'd like to achieve something like in the 1.pdf (attached; created by LaTeX). My code till now: --- \setuppagenumbering[location=footer,middle] \setupheader[][style=small] \setupheadertexts[LLL][RRR] \s