Willi Egger wrote:
Hi,
Her the following works:
\definedescription [Desc] [location=top,hang=3,headstyle={\color[red]}]
or
\definedescription [Desc]
[location=top,hang=3,headstyle={\switchtobodyfont[34pt]\bf\color[red]}]
Willi
VnPenguin wrote:
Hi all, I'm trying to define a description:
\definedescription [Desc] [location=top,hang=3,headcolor=red]
But my PDF has not color for description header (I have already \setupcolors[state=start]).
Another test:
\definedescription [Desc] [location=top,hang=3,headstyle={\switchtobodyfont[16pt]\red\bf}]
Does not work :(
Question: How to define color & font size for description header ? The document of description is not complet. Search on Wiki & Mailing list can not help me.
this shoudl work: \setupcolors[state=start] \definedescription [Desc] [location=top,hang=3,headstyle=bold,headcolor=red] \starttext \Desc {test} test \stoptext in {\switchtobodyfont[16pt]\red\bf} the \red may fail in some cases due to implicit grouping Hans