Idris S Hamid <[EMAIL PROTECTED]> writes:
Hi,
> Sometimes I make a definition like > > \def\TR{\it} > > for certain purposes (structural consistency, etc.). How do I modify > this to automatically do an italic correction the way \em is set up to > do in \ConTeXt?
I'd do it like this:
\def\TR{\aftergroup \emphasiscorrection\it}
see the examples:
\def\TR{\aftergroup \/\it} \startlines {\it this is a roof}right? {\TR this is a roof}right? {\TR this is a roof}, right? \def\TR{\aftergroup \emphasiscorrection\it} {\TR this is a roof}right? {\TR this is a roof}, right? \stoplines
But I bet that there is a more clever way.
Of course:
\def\MyIt{\groupedcommand\it\/}
\ruledhbox{\it oeps}
\ruledhbox{\MyIt{oeps}}
\ruledhbox{{\MyIt oeps}}
Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
_______________________________________________ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context