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.
|Licenses||The LaTeX Project Public License 1.3c|
|Copyright||1991–1997 David Carlisle|
1993–2020 The LaTeX3 Project
2004–2006 David Carlisle, Morten Høgholm
The LaTeX Team
|Contained in||TeX Live as tools|
MiKTeX as latex-tools
Download the contents of this package in one zip archive (6.6M).
Maybe you are interested in the following packages as well.
- trace: Make sensible use of TeX tracing in LaTeX
- rawfonts: Low level font compatibility mode for LaTeX
- dcolumn: Align on the decimal point of numbers in tabular columns
- latex-tools: The LaTeX standard tools bundle