defstring – Define macros as verbatim macros
The command \defstring defines its first argument (a control sequence name) as the content of its second argument, with category code ‘other’, with surrounding braces added.
The package uses the maybeload and redefine packages.
Maybe you are interested in the following packages as well.
- ltxnew: A simple means of creating commands
- xoptarg: Expandable macros that take an optional argument
- styledcmd: Handling multiple versions of user-defined macros
- lambdax: Use Lambda expression within LaTeX