The TeX Catalogue Online

cprotect

Allow verbatim, etc., in macro arguments.

The package defines the macro \cprotect that makes a following macro proof against verbatim in its argument; as, for example, \cprotect\section{\verb"foo"}

A similar macro \cprotEnv (applied to the \begin of an environment) sanitises the behavior of fragile environments.

Moving arguments, and corresponding “tables of …” work happily.

The author is Bruno Le Floch. The package is Copyright © 2010-2011 Bruno Le Floch.

License: lppl1.3 Version: 1.0e Catalogued: 2011-01-27