On Mon, 22 Sep 2008, Taco Hoekwater wrote: > Steffen Wolfrum wrote: >> >> But this above never closes the italics, while ... >> >> \def\Colorit{\strut\groupedcommand\it\color[magenta]\/} >> >> ... gives an error. >> >> >> Someone can help? > > Worryingly lowlevel: > > \def\emphasistypeface{\it\color[magenta]}
This has to be used {\emphasistypeface ....}. If you want something that works as \emph{....} as well as {\emph ...} and can also be passed as an option to all the style= keys, try \definealternativestyle [emph] [{\it\color[magenta]}] [] Aditya ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________