Am 22.07.2010 um 16:37 schrieb Hans Hagen:

> On 22-7-2010 3:50, Andreas Harder wrote:
>> \definetextbackground
>>   [test]
>>   [location=paragraph,
>>    % frame=off,  % ->  no round corners anymore
>>    corner=round, % ->  corner=1|2|3… would be nice
>>    leftoffset=.5\bodyfontsize,
>>    rightoffset=.5\bodyfontsize,
>>    topoffset=.5\bodyfontsize,
>>    bottomoffset=.5\bodyfontsize]
>> 
>> \setuphead
>>   [subject]
>>   [after=,
>>    command=\MyHead]
>> 
>> \def\MyHead#1#2%
>>   {\framed
>>     [background=color,
>>      backgroundcolor=gray,
>>      frame=off,
>>      offset=.5\bodyfontsize,
>>      corner=3]{#1#2}}
>> 
>> \starttext
>> \subject{Test}
>> \starttest
>>   \input tufte
>> \stoptest
>> \stoptext
>> 
> \setuphead
>  [subject]
>  [after=\nointerlineskip,
>   command=\MyHead]

Thank you Hans, that killed the space.

Greeting,
        Andreas
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

Reply via email to