makerobust209 – Make an existing LaTeX command robust
The package provides a command \makerobust that converts the definition of a command to a robust one.
Maybe you are interested in the following packages as well.
- hackalloc: Make allocations local
- wright: Define commands with optional arguments
- rangecite: Will turn a range of citations into something like [1..3]
- xrefwarn: Only one warning for an undefined citation