[NTG-context] Hairline in header

Li Yanrui (李延瑞) liyanrui.m2 at gmail.com
Tue Jan 11 01:22:51 CET 2011


2011/1/11 Florian Wobbe <Florian.Wobbe at awi.de>:
>> \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][after=\hrule]
>

Hi Florian,

Maybe this can help you.

\setuplayout[header=1cm,headerdistance=1cm]
\setupheader[text][after=\vskip-0.8em\thinrule]
\starttext
\dorecurse{12}{\input knuth\par}
\stoptext

-- 
Best regards,

Li Yanrui (李延瑞)


More information about the ntg-context mailing list