expkv-cs – Define expandable key=val macros using expkv
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).
Sources | /macros/generic/expkv-cs |
Documentation | |
Repository | https://github.com/Skillmon/tex_expkv-cs |
Version | 0.6 2020-10-18 |
Licenses | The LaTeX Project Public License 1.3c |
Copyright | 2020 Jonathan P. Spratte |
Maintainer | Jonathan P. Spratte |
TDS archive | expkv-cs.tds.zip |
Contained in | TeX Live as expkv-cs MiKTeX as expkv-cs |
Topics | Macro support Key-Val Generic Macros |
See also | expkv-def expkv |
Download the contents of this package in one zip archive (322.6k).
Announcements
Suggestions
Maybe you are interested in the following packages as well.
Community Comments