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]>
Subject:
From:
Hans Aberg <[log in to unmask]>
Date:
Wed, 24 Nov 1999 10:39:22 +0100
Reply-To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Parts/Attachments:
text/plain (19 lines)
A more general variation of the argument specificator o[\x] could be that
if the argument is not present, then the command \x is executed. Then \x
should be a command declared with \DeclareDocumentCommand, but the argument
specificator should have the corresponding o[\x] removed.

So, for example, in
  \DeclareDocumentCommand \Initial {o[\InitialNoLeading]mo[\InitialNoTrailing]}
  { \MakeInitial {#1}{#2}{#3} }
one should also have the declarations
  \DeclareDocumentCommand \InitialNoLeading {mo}
  \DeclareDocumentCommand \InitialNoTrailing {om}
where the ``o'' argument specificators can have new optional argument if so
needed.

  Hans Aberg
                  * Email: Hans Aberg <mailto:[log in to unmask]>
                  * Home Page: <http://www.matematik.su.se/~haberg/>
                  * AMS member listing: <http://www.ams.org/cml/>

ATOM RSS1 RSS2