CTAN Comprehensive TeX Archive Network

ccool – A key-value document command parser

This package provides a key-value interface, \Ccool, on top of xparse’s document command parser. Global options control input processing and its expansion. By default, they are set to meet likely requirements, depending on context: the selected language, and which of text and math mode is active. These options can be overridden inline. This versality could find its use, for example, to encode notational conventions (such as \Real\mathbb{R}) at the point where they are introduced in the document (“Let R denote real numbers”). Polymorphic commands can be generated by parameterizing the keys (for instance, one parameter value for style, another for a property). User input to \Ccool can optionally be serialized. This can useful for typesetting documents sharing the same notation.

Version3.1 2020-10-10
LicensesThe Project Public License 1.3c
Copyright2020 Erwann Rogard
MaintainerErwann Rogard
Contained inTeX Live as ccool
MiKTeX as ccool
TopicsDefining Macro
Experimental 3
See alsocool

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

Community Comments



Here you can see a respective diagram in newer browsers.


Package Links

Guest Book Sitemap Contact Contact Author