trimspaces – Trim spaces around an argument or within a macro
A very short package that allows you to expandably remove spaces around a token list (commands are provided to remove spaces before, spaces after, or both); or to remove surrounding spaces within a macro definition, or to define space-stripped macros.
|Licenses||The LaTeX Project Public License|
|Copyright||2009 Will Robertson|
|Contained in||TeX Live as trimspaces|
MiKTeX as trimspaces
Download the contents of this package in one zip archive (149.0k).
Maybe you are interested in the following packages as well.
- lambdax: Use Lambda expression within LaTeX
- ifnextok: Utility macro: peek ahead without ignoring spaces
- cmdstring: Get command name reliably
- fifo-stack: FIFO and stack implementation for package writers