expkv-cs
Define expandable key=val macros using expkv
- Version:
- 1.2
- Copyright:
- Jonathan P. Spratte
- License:
- lppl1.3c
- Packaged on:
- 2/18/2022 9:12:01 PM
- Number of files:
- 4
- Size on disk:
- 38.73 kB
This package is a frontend to define expandable macros with key=val arguments. It provides four syntaxes, each of which will define <cs> to take a single key=val argument: ekvcSplit<cs>{<key>=<initial>, ...}{<definition>} ekvcSplitAndForward<cs><cs2>{<key>=<initial>, ...} ekvcHash<cs>{<key>=<initial>, ...}{<definition>} ekvcHashAndForward<cs><cs2>{<key>=<initial>, ...} Additional keys for each <cs> might be defined using ekvcSecondaryKeys<cs>{<prefix> <key>=<definition>, ...} expkv-cs is generic code and only requires expkv for its parsing. A LaTeX package expkv-cs.sty is included to play nicely on LaTeX’s package loading system, but that package is not needed and does not provide more functionality than the generic code in expkv-cs.tex. Note: In this context, “cs” stands for “control sequence” (i.e.: macro).