Am 31.08.2011 um 07:04 schrieb Alasdair McAndrew:

> This brings up a question I have - how do I obtain, say, all {\tt  } text in 
> blue and all {\em } text in red?  I seem to be using MkII, and I don't have 
> access to the \definehighlight command.

\definestartstop[emph][style=italic,color=red]
\definestartstop[mono][style=mono,color=blue]

\setupbodyfontenvironment[default][em=emph]

\starttext

text {\em text} text {\emph text} text \emph{text} text

text {\mono text} text \mono{text} text

\stoptext

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