ccool__source

A key-value document command parser

Version:
3.2
Copyright:
Erwann Rogard
License:
lppl1.3c
Packaged on:
10/03/2021 20:11:13
Number of files:
4
Size on disk:
60.58 kB

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.