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.
| Quellen | /macros/latex/contrib/cprotect |
| Dokumentation | |
| Version | 1.0f 2026-04-17 |
| Lizenzen | The LaTeX Project Public License 1.3c |
| Copyright | 2010–2011, 2026 Bruno Le Floch |
| Betreuer | Bruno Le Floch |
| Enthalten in | TeX Live als cprotect MiKTeX als cprotect |
| Themen | Verbatim Tagged PDF – nicht kompatibel |
Herunterladen des vollständigen Inhalts dieses Pakets in einem Zip-Archiv (589.3k).
Ankündigungen
- 2026-04-18 CTAN update: cprotect
- 2011-01-28 CTAN update: cprotect
- 2011-01-01 CTAN has a new package: cprotect
Vorschläge
Vielleicht sind auch die folgenden Pakete von Interesse.
Bewertungskommentare