From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13462 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Re: italic correction Date: Tue, 23 Sep 2003 23:24:45 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <5.2.0.9.1.20030923232218.02159aa0@localhost> References: <3F707730.88A00C08@lamar.colostate.edu> <3F707730.88A00C08@lamar.colostate.edu> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: sea.gmane.org 1064352658 725 80.91.224.253 (23 Sep 2003 21:30:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Sep 2003 21:30:58 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Sep 23 23:30:56 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A1ukK-0006iB-00 for ; Tue, 23 Sep 2003 23:30:56 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 2D00F10B5D; Tue, 23 Sep 2003 23:30:48 +0200 (MEST) Original-Received: from mail.solcon.net (mail.solcon.net [212.45.33.5]) by ref.ntg.nl (Postfix) with ESMTP id 2588010B1C for ; Tue, 23 Sep 2003 23:24:57 +0200 (MEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mail.solcon.net (8.11.6/8.9.3) with ESMTP id h8NLOjK16037 for ; Tue, 23 Sep 2003 23:24:45 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 63102184FB; Tue, 23 Sep 2003 23:24:50 +0200 (CEST) Original-Received: from laptop-3.wxs.nl (unknown [10.100.1.1]) by server-1.pragma-net.nl (Postfix) with ESMTP id 08047184F8 for ; Tue, 23 Sep 2003 21:24:49 +0000 (UTC) X-Sender: hagen-mail@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Original-To: ntg-context@ntg.nl In-Reply-To: Original-References: <3F707730.88A00C08@lamar.colostate.edu> <3F707730.88A00C08@lamar.colostate.edu> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13462 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13462 At 19:25 23/09/2003 +0200, you wrote: >Idris S Hamid 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 | pragma@wxs.nl 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 -------------------------------------------------------------------------