CTAN Comprehensive TeX Archive Network

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.

Sources/macros/latex/contrib/cprotect
Documentation
Version1.0e
LicensesThe Project Public License 1.3
Copyright2010–2011 Bruno Le Floch
MaintainerBruno Le Floch
Contained inTeX Live as cprotect
MiKTeX as cprotect
TopicsVerbatim
Tagged PDF – incompatible

Download the contents of this package in one zip archive (583.8k).

Community Comments

Loading...

Announcements

Here you can see a respective diagram in newer browsers.

more

Guest Book Sitemap Contact Contact Author