[OS X TeX] Handling punctuation and spaces after an abbreviation

Ross Moore ross.moore at mq.edu.au
Fri Dec 2 17:24:44 EST 2011


Hello Nirav,

On 03/12/2011, at 8:59 AM, Nirav S wrote:

> In my writing I need to use the abbreviation SoS -- not the distress signal -- it stands for system of systems.  Some people prefer this typeset as "SoS" or "SofS" or "S-o-S" or one of these in italics.  To deal with this, I created a macro:
> 
> \def\SoS{SoS}

Better is to use

 \usepackge{xspace}
 \def\SoS{SoS\xspace}

> 
> which I then change depending upon the convention being used in the particular paper.
> 
> My problem is that this macro doesn't work well it the middle of sentence, i.e.,


> What's the correct way to do this?  Right now, I'm making lots of mistake trying to remember whether to type \SoS\ or just \SoS depending on the punctuation (or lack thereof) that follows.
> 
> Thanks!
> 
> - Nirav


Hope this helps,

	Ross

------------------------------------------------------------------------
Ross Moore                                       ross.moore at mq.edu.au 
Mathematics Department                           office: E7A-419      
Macquarie University                             tel: +61 (0)2 9850 8955
Sydney, Australia  2109                          fax: +61 (0)2 9850 8114
------------------------------------------------------------------------






More information about the MacOSX-TeX mailing list