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:
James Kilfiger <[log in to unmask]>
Date:
Fri, 10 Sep 1999 18:09:18 +0100
In-Reply-To:
<[log in to unmask]> from David Carlisle at "Sep 10, 99 04:56:53 pm"
Reply-To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Parts/Attachments:
text/plain (25 lines)
> I wrote:
> > One feature which I think would be nice is a \newargumenttype macro,
> > analogous to \newcolumntype of the array package.
David writes:
> What new sorts of argument would you want. (this is a real question
> so I understand the functionality you are asking for)

Well three thoughts I had:
  Using characters other than * to indicate variant forms. I can imagine
  a command with two independent variants, accesed by \foo, \foo*, \foo+,
  and \foo*+
  If one wanted to make a `3d' picture mode, a triplet (x,y,z) argument
  might be useful.
  It is proposed that the float placement argument be in the form
  [hb|tp]; this might be a convienent form for other commands.
Here my inventivness begins to run-out.  Perhaps these are bad ideas;
too many argument types will only cause confusion for the user. But I
can imagine a \newargtype scheme being useful.

Other thing, making the default value of an optional command the same as
that of another command, as is done with \@dblarg, I can imagine
\DeclareDocumentCommand{\foo}{m O{#1}}{...} being useful.

        James

ATOM RSS1 RSS2