21 Feb
2012
21 Feb
'12
12:05 p.m.
Am 21.02.2012 um 10:19 schrieb Alasdair McAndrew:
I discovered this by hunting through font-ini.mkii:
\setupbodyfontenvironment [default] [em={\slanted\color[red]}]
Better \setupbodyfontenvironment[default][em={\sl\red}].
Seems to work well. You see, I want to use the same ConTeXt files for two purposes: to create a set of printable notes (without colour) and to make a set of displayable onscreen notes (with colour). This means that {\em this text} appears slanted in the printed notes, and slanted and red onscreen.
This is also possible with the method Aditya suggested. \startmode[screen] \definehighligh[emph][style=slanted,color=red] \stopmode \startnotmode[screen] \definehighligh[emph][style=slanted] \stopnotmode Wolfgang