verbdef – Define commands which expand to verbatim text
The package defines a single command \verbdef (which has a *-form, like \verb). \verbdef will define a robust command whose body expands to verbatim text. By using commands defined by \verbdef, one can put verbatim text into the arguments of commands; since the defined command is robust, it doesn't matter if the argument is moving. (Full details of syntax and caveats about use are in comments in the file itself.)
|Licenses||The LaTeX Project Public License|
Robin Fairbairns (inactive)
|Contained in||TeX Live as verbdef|
MiKTeX as verbdef
Download the contents of this package in one zip archive (55.0k).
Maybe you are interested in the following packages as well.
- cprotect: Allow verbatim, etc., in macro arguments
- spverbatim: Allow line breaks within \verb and verbatim output
- fancyvrb: Sophisticated verbatim text
- newvbtm: Define your own verbatim-like environment