LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

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

Print Reply
Frank Mittelbach <[log in to unmask]>
Fri, 12 Dec 2008 22:48:09 +0100
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