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.
|License||The LaTeX Project Public License|
|Contained in||TeX Live as trimspaces|
|MiKTeX as trimspaces|
support for development of (La)TeX macros
Download the contents of this package in one zip archive (149.0k).
Maybe you are interested in the following packages as well.
- ifmtarg: If-then-else command for processing potentially empty arguments
- ltxutil: LaTeX utility macros
- boolexpr: A boolean expression evaluator and a switch command
- cmdstring: Get command name reliably