X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["999" "Wed" "24" "November" "93" "17:22:04" "EST" "Werenfried Spit" "SPIT@VM.CI.UV.ES" nil "22" "Re: automatic italic correction" "^Date:" nil nil "11"]) Return-Path: Received: from sc.ZIB-Berlin.DE (mailserv) by dagobert.ZIB-Berlin.DE (4.1/SMI-4.0/24.6.93) id AA11708; Wed, 24 Nov 93 17:43:20 +0100 Received: from vm.urz.Uni-Heidelberg.de (vm.hd-net.uni-heidelberg.de) by sc.ZIB-Berlin.DE (4.1/SMI-4.0-sc/03.06.93) id AA27135; Wed, 24 Nov 93 17:43:17 +0100 Message-Id: <9311241643.AA27135@sc.ZIB-Berlin.DE> Received: from DHDURZ1 by vm.urz.Uni-Heidelberg.de (IBM VM SMTP V2R2) with BSMTP id 2406; Wed, 24 Nov 93 17:41:32 CET Received: from DHDURZ1 by DHDURZ1 (Mailer R2.08 R208004) with BSMTP id 5085; Wed, 24 Nov 93 17:41:16 CET Received: from DHDURZ1 by DHDURZ1 (Mailer R2.08 R208004) with BSMTP id 5083; Wed, 24 Nov 93 17:41:13 CET Reply-To: Mailing list for the LaTeX3 project In-Reply-To: Your message of Wed, 24 Nov 93 10:16:55 EST Date: Wed, 24 Nov 93 17:22:04 EST From: Werenfried Spit Sender: Mailing list for the LaTeX3 project To: Multiple Recipients of Subject: Re: automatic italic correction Status: R X-Status: X-Keywords: X-UID: 1187 On Wed, 24 Nov 93 10:16:55 EST you said: > >\def\emph#1{{\em #1}\futurelet\next\itcorr} >\def\itcorr{\ifx\next.\else\if\next,\else\/\fi\fi} > >which seems to work well. Hope this helps. Of course, this is for >short (less than one paragraph) passages only. It absorbs its whole >argument and is not defined as \long. For longer arguments, you >would want to stick with {\em....}. Now, this is a good solution, I think. For emphasis on more than one paragraph it is reasonable to suppose that start and end of the emphasized text will correspond to start and end of a paragraph, so we don't need italic correction anyhow. Could a structure like this not be part of standard LaTeX, and could not the LaTeX book/companion mention this as a preferred way of emphasizing? ------------------------------------------------ Werenfried Spit email: spit@vm.ci.uv.es tel: +34-6-386 4550 Dep. de Fisica Teorica, Universitat de Valencia