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
Show All Mail Headers

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

Print Reply
Subject:
From:
Arno Trautmann <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Fri, 28 Jan 2011 22:15:02 +0100
Content-Type:
multipart/signed
Parts/Attachments:
text/plain (502 bytes) , signature.asc (261 bytes)
Hi all,

I was wandering what is considered the "nicest" (or, right) way to
define short macros or aliases. Say, something like

\ie ⇒ i.\,e.

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?

cheers
arno



ATOM RSS1 RSS2