CTAN Comprehensive TeX Archive Network

xspace – Define commands that appear not to eat spaces

The xs­pace pack­age pro­vides a sin­gle com­mand that looks at what comes af­ter it in the com­mand stream, and de­cides whether to in­sert a space to re­place one "eaten" by the com­mand de­coder. The de­ci­sion is based on what came af­ter any space, not on whether there was a space (which is un­know­able): so if the next thing proves to be punc­tu­a­tion, the chances are there was no space, but if it's a let­ter, there's prob­a­bly a need for space. This tech­nique is not per­fect, but works in a large pro­por­tion of cases.

The pack­age is part of the la­tex-tools bun­dle in the re­quired dis­tri­bu­tion.

Lizen­zenThe Project Public Li­cense
Be­treuerDavid Carlisle
Morten Høgholm
The Team
En­thal­ten inTeX Live als tools
MiKTeX als tools

Herun­ter­laden des voll­ständi­gen In­halts dieses Pakets in einem Zip-Archiv (6.5M).


Gästebuch Seiten-Struktur Impressum Autor kontaktieren