# [Tex/LaTex] Drawbacks of xspace

spacingxspace

I'm certain I have read that xspace can cause more problems than it solves. But I cannot find anything to that effect either on this site or the web. Are there any drawbacks or risks associated with it?

I originally implemented xspace a long time ago (for LaTeX 2.09) as, like most LaTeX beginners, I'd had a document where I had omitted a {} or \  and so had a missing space in the final document.
The rule in TeX is really quite simple, after a command name that uses letters (as opposed to single character command names using non-letters such as \\$) white space is ignored. It is easy to forget to use \  or {} but the result of forgetting is very predictable, you lose white space in the result. Conversely with xspace the macro will get the correct space most of the time, but it isn't easy to predict when it will get it wrong, and so it's much harder to learn to enter the markup in a way that is always correct rather than having to always visually check for missing space, which rather negates the purpose of the command.