Received: from mx0.gmx.net (mx0.gmx.net [213.165.64.100]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with SMTP id p0T6B9Un005798 for ; Sat, 29 Jan 2011 07:11:10 +0100 Received: (qmail 711 invoked by alias); 29 Jan 2011 06:11:04 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 29 Jan 2011 06:11:03 -0000 Received: from relay2.uni-heidelberg.de (EHLO relay2.uni-heidelberg.de) [129.206.210.211] by mx0.gmx.net (mx021) with SMTP; 29 Jan 2011 07:11:03 +0100 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id p0T69CCL015481 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 29 Jan 2011 07:09:12 +0100 Received: from listserv.uni-heidelberg.de (localhost.localdomain [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id p0SN1Mqb012767; Sat, 29 Jan 2011 07:09:02 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 987920 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sat, 29 Jan 2011 07:09:02 +0100 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id p0T692Xq011327 for ; Sat, 29 Jan 2011 07:09:02 +0100 Received: from anchor-post-2.mail.demon.net (anchor-post-2.mail.demon.net [195.173.77.133]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id p0T68pFR015361 for ; Sat, 29 Jan 2011 07:08:55 +0100 Received: from morningstar2.demon.co.uk ([80.176.134.7] helo=palladium.local) by anchor-post-2.mail.demon.net with esmtp (Exim 4.69) id 1Pj3zP-0005Ts-lb; Sat, 29 Jan 2011 06:08:51 +0000 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 References: <4D4331D6.7050603@gmx.de> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID: <4D43AEF3.8060804@morningstar2.co.uk> Date: Sat, 29 Jan 2011 06:08:51 +0000 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: a question of style To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <4D4331D6.7050603@gmx.de> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=5D7Q89H36p77e5KAPs1l6v/Sb97LojnDtMgfETrECMLUO9erHzOJe+OynZRhvlGqb5A0X bbiCt2rAnnct/NAlbHMvoAL6GY+23tB3khNK7Y6oT1sPizBjJUAOds0oJBO/5TIz9C5741aj9GOJ bE70Q==V1; X-Resent-By: Forwarder X-Resent-For: rainer.schoepf@gmx.net X-Resent-To: rainer@rainer-schoepf.de Status: R X-Status: X-Keywords: X-UID: 6580 On 28/01/2011 21:15, Arno Trautmann wrote: > Hi all, > > I was wandering what is considered the "nicest" (or, right) way to > define short macros or aliases. Say, something like > > \ie ⇒ i.\,e. > > As this is ment for document level, I am tempted to use > \NewDocumentCommand. But this word is longer than the whole code of the > macro itself, that blows some simple code really up. On the other hand, > using \def would be very short but is not LaTeX3-ish. \cs_new:Nn doesn't > let me define something without a : at the end. Or would a \tl_new be a On the general question, I'd agree with Will that \NewDocumentCommand is the correct choice. The LaTeX3 syntax is more formalised than LaTeX2e, which does mean more verboseness in some cases. On 'things blowing up', can you provide an example? -- Joseph Wright