The xspace Package
Documentation | xspace |
---|---|
Categories | macros |
Description | The xspace package defines a single macro that handles spacing following a macro you define, making sure to insert a space before the next token unless that token is punctuation. |
Options |
\usepackage{xspace} % handle spacing at the end of macros you define |
Examples |
\newcommand*{\latex}{\LaTeX\xspace}