[pdftex] Getting the correct word spacing after Macros.

Kester Clegg kester at cs.york.ac.uk
Sun Jun 1 17:13:37 CEST 2003


Olaf Dietrich <olaf at dtrx.de> writes:

> Michael Chapman (2002-06-11T09:27:05+0000):
> > 
> > 
> > I have a document with several dozen complicated words/phrases. To 
> > trivialise, if I were to set:
> > 
> > \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?)

-- 
************************************************************************
Kester Clegg 			Dept. of Computer Science,
Research Associate (UTC)	University of York, UK

Tel (01904) 43 27 49		email: kester at cs.york.ac.uk
************************************************************************



More information about the pdftex mailing list