LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Proportional 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:
Frank Mittelbach <[log in to unmask]>
Date:
Tue, 14 Sep 1999 16:23:57 +0200
In-Reply-To:
Comments:
Resent-From: Frank Mittelbach <[log in to unmask]> Originally-From: Frank Mittelbach <[log in to unmask]>
Reply-To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Parts/Attachments:
text/plain (35 lines)
Werner

 >     >   Using characters other than * to indicate variant forms. I can
 >     >   imagine a command with two independent variants, accesed by
 >     >   \foo, \foo*, \foo+, and \foo*+
 >
 >    this could be provided easily enough, eg, S{<symbol-to-scan} and
 >    might indeed be generally useful, any comments?
 >
 > A very nice idea!  I like it.  But the \foo*+ form is too much -- a
 > single character should be sufficient.

you misunderstood, the suggestion was to allow scanning for some
arbitrary symbol (well sort of arbitrary) e.g.

\DeclareDocumentCommand \foo { S{*} S{+} }
   { ... }


the above would  parse

\foo  (returning \BooleanFalse\BooleanFalse)
\foo* (returning \BooleanTrue\BooleanFalse)
\foo+ (returning \BooleanFalse\BooleanTrue)

but of course also

\foo*+ (returning \BooleanTrue\BooleanTrue)


whether this is helpful / sensible to have this extension is another
matter but this would be the functionality

frank

ATOM RSS1 RSS2