CTAN Comprehensive TeX Archive Network

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 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 latex-tools bundle in the required distribution.

Quellen/macros/latex/required/tools
Dokumentation
Version1.13 2014-10-28
LizenzenThe Project Public License 1.3c
Copyright1991–1997 David Carlisle
1993–2023 The 3 Project et al.
2004–2006 David Carlisle, Morten Høgholm
BetreuerDavid Carlisle
Morten Høgholm
The Project Team
TDS-Archivlatex-tools.tds.zip
Enthalten inTeX Live als tools
MiKTeX als latex-tools
ThemenMakro-Unterstützung

Herunterladen des vollständigen Inhalts dieses Pakets in einem Zip-Archiv (6.9M).

Bewertungskommentare

Laden...
Gästebuch Seiten-Struktur Impressum Autor kontaktieren