CTAN Comprehensive TeX Archive Network

CTAN update: cprotect

Datum: 18. April 2026 11:27:17 MESZ
Bruno Le Floch submitted an update to the cprotect package. Version: 1.0f 2026-04-17 License: lppl1.3c Summary description: Allow verbatim, etc., in macro arguments Announcement text:
Minor update to fix compatibility with packages that redefine \arabic
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/cprotect The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/latex/contrib/cprotect/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs

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.

Paketcprotect
Version1.0f 2026-04-17
Copyright2010–2011, 2026 Bruno Le Floch
BetreuerBruno Le Floch

Ankündigungen

mehr

Gästebuch Seiten-Struktur Impressum Autor kontaktieren