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