[OS X TeX] References across files

Enrico Franconi franconi at inf.unibz.it
Mon Jan 12 19:00:07 CET 2009


On 12 Jan 2009, at 18:49, Adam M. Goldstein wrote:

>> The only caveat with this is that in normal usage TeX will happily  
>> eat the space after the command, so that
>>
>> See \tom run!
>>
>> will get typeset as "See Tomrun". This can be worked around by  
>> adding braces after the command:
>>
>> See \tom{} run!
>>
>> Are there easier work arounds?
>
>
> Why not:
>
> \newcommand{\tom}{Dick{}}

I use the package "xspace" which, for example, does NOT add a space  
before a comma or a full stop.

\newcommand{\tom}{Dick\xspace}

cheers
--e.



More information about the macostex-archives mailing list