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

___________________________________________________________________________________
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