LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Fri, 12 Dec 2008 22:48:09 +0100
Reply-To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Subject:
MIME-Version:
1.0
Content-Transfer-Encoding:
7bit
In-Reply-To:
Content-Type:
text/plain; charset=unknown
From:
Frank Mittelbach <[log in to unmask]>
Parts/Attachments:
text/plain (20 lines)
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

ATOM RSS1 RSS2