2011/1/11 Florian Wobbe <[email protected]>:
>>> 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
>
> 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 \blank instead of \vskip, for example:
\setupthinrules[n=1, before={\blank[-0.8em]}]
\setupheader[text][after=\thinrules]
--
Best regards,
Li Yanrui (李延瑞)
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________