#

Search | Home | Alpha | Brief | Topical | Hierarchical

xspace

Define commands that appear not to eat spaces.

The xspace package provides a single command that looks at what comes after it in the command stream, and decides whether to insert a space to replace one "eaten" by the TeX command decoder. The decision is based on what came after any space, not on whether there was a space (which is unknowable): so if the next thing proves to be punctuation, the chances are there was no space, but if it's a letter, there's probably a need for space. This technique is not perfect, but works in a large proportion of cases.

The package is part of the tools bundle in the LaTeX required distribution.

The authors are David Carlisle and Morten Høgholm. The package is Copyright © 2004-2006 David Carlisle, Morten Høgholm.

License: lppl Version: 1.06 Catalogued: 2006-04-24

- Visit
  - Visit a nearby CTAN:/macros/latex/required/tools. If this fails, try Cambridge.
  - Visit Cambridge:/macros/latex/required/tools
- Download
  - Download from a nearby CTAN (automatically identified).
  - Download from Cambridge.
- Documentation
  - Read documentation for this package from: xspace.pdf.
- Distributions
  - This package is included in teTeX.