[pdftex] Getting the correct word spacing after Macros.

Michel Bovani michel.bovani at wanadoo.fr
Tue Jun 11 13:34:49 CEST 2002


Le 11/06/02 12:01, « Kester Clegg » <kester at cs.york.ac.uk> a écrit :

 
>>> \newcommand{\USA}{United States of America}
>>> 
>>> is there an easy way of making the command so a space is (automatically)
>>> inserted if the next character is a letter or number, but no space is
>>> inserted if the next character is punctuation.
>> 
>> Use the xspace package.
> 
> Use a decent editor that intelligently expands abbreviations as you type!
> (emacs?)

It is not exactly the same way... It remains possible to re-define a macro,
not an emacs expansion... OK, OK, there is no reason to redefine what \USA
do.

-- 
Michel Bovani





More information about the pdftex mailing list