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:
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
>> 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
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]
>> 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
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
> \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
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
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
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
10 matches
Mail list logo