Menu
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

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 TeX 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 tools bun­dle in the LaTeX re­quired dis­tri­bu­tion.

Sources/macros/latex/required/tools
Doc­u­men­ta­tion
Ver­sion1.13
Li­censeThe LaTeX Project Public Li­cense
Copy­right2004-2006 David Carlisle, Morten Høgholm
Main­tainerDavid Carlisle
Morten Høgholm
Con­tained inTeXlive as tools
MikTeX as tools
Topics sup­port for de­vel­op­ment of (La)TeX macros

Down­load the con­tents of this pack­age in one zip archive (6.0M).

Guest Book Sitemap Contact 2014-04-24 20:05 CEST