Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Fri, 12 Dec 2008 22:51:12 +0100 Received: by mail.proteosys.com (8.13.8/8.13.8) with ESMTP id mBCLp95P005936 for ; Fri, 12 Dec 2008 22:51:10 +0100 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id mBCLmHZq014836 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 12 Dec 2008 22:48:17 +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 mBCEtU9R013745; Fri, 12 Dec 2008 22:48:16 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 181538 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 12 Dec 2008 22:48:16 +0100 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id mBCLmGTU012799 for ; Fri, 12 Dec 2008 22:48:16 +0100 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id mBCLmCUX014773 for ; Fri, 12 Dec 2008 22:48:15 +0100 Received: from morse.mittelbach-online.de (p54A86CA1.dip.t-dialin.net [84.168.108.161]) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis) id 0MKxQS-1LBFro0s0e-00025C; Fri, 12 Dec 2008 22:48:12 +0100 Received: by morse.mittelbach-online.de (Postfix, from userid 501) id 5F46056334; Fri, 12 Dec 2008 22:48:09 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=unknown Content-Transfer-Encoding: 7bit References: <4942CF42.5030700@gmx.de> X-Mailer: VM 7.19 under Emacs 21.3.1 X-Provags-ID: V01U2FsdGVkX1+P8WYy2LR1nthRgDRrRujr4E3kzbehShxzgBk +Pu4fV7XGVyM8ekyrvVPXr+NV3KbudrAcLaPsanDfFoxAkay+v ZdafnpSJr3WDud048F1kBbo4Bm2gd8J X-Spam-Whitelist-Provider: Message-ID: <18754.56345.304858.268706@morse.mittelbach-online.de> Date: Fri, 12 Dec 2008 22:48:09 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Frank Mittelbach Subject: Re: optional arguments? To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <4942CF42.5030700@gmx.de> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-ProteoSys-SPAM-Score: -102.464 () BAYES_00,FORGED_RCVD_HELO,USER_IN_WHITELIST X-Scanned-By: MIMEDefang 2.64 on 213.139.130.197 Return-Path: owner-latex-l@LISTSERV.UNI-HEIDELBERG.DE X-OriginalArrivalTime: 12 Dec 2008 21:51:13.0037 (UTC) FILETIME=[C02D03D0:01C95CA3] Status: R X-Status: X-Keywords: X-UID: 5539 Arno Trautmann writes: > Hi, > > I$,1ry(Bm looking for the possibility to define an optional argument like > > \newcommand{\command}[2][default]{} > > but didn$,1ry(Bt find anything. Is there no such thing or am I just too stupid > to find it? :( on low-level, e.g. expl3 there is no point to provide something like optional arguments, on a user interface level there is xparse as a sample implementation a la latex2e template for some design-level interface cheers frank