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
Condense Mail Headers

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

Print Reply
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
Date: Fri, 28 Jan 2011 18:09:05 -0500
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
MIME-Version: 1.0
Message-ID: <[log in to unmask]>
In-Reply-To: <[log in to unmask]>
Content-Type: text/plain; charset=ISO-8859-1
From: Bruno Le Floch <[log in to unmask]>
Parts/Attachments: text/plain (14 lines)
> As this is ment for document level, I am tempted to use
> \NewDocumentCommand. But this word is longer than the whole code of the
> macro itself, that blows some simple code really up. On the other hand,
> using \def would be very short but is not LaTeX3-ish. \cs_new:Nn doesn't
> let me define something without a : at the end. Or would a \tl_new be a
> good way?

I don't know what the right way of doing things is. Two ways I can think of are

\cs_new:Npn \ie {i.\,e.}
\tl_new:Nn \ie {i.\,e.}

Bruno

ATOM RSS1 RSS2