Directory macros/generic/expkv-cs
# expkv-cs – define expandable key=val macros using expkv
Version 2022-02-13 v1.2
Released under the LaTeX Project Public License v1.3c or later See http://www.latex-project.org/lppl.txt
Hosted at https://github.com/Skillmon/texexpkv-cs
Copyright (C) 2020-2022 Jonathan P. Spratte
This work may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this license or (at your option) any later version. The latest version of this license is in the file:
http://www.latex-project.org/lppl.txt
This work is "maintained" (as per LPPL maintenance status) by Jonathan P. Spratte.
This provides means to define expandable key=val taking macros utilizing expkv
. It is generic code and only requires expkv
for its parsing. There is a LaTeX package expkv-cs.sty
included to play nice 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
.
Download the contents of this package in one zip archive (473.3k).
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).
Package | expkv-cs |
Repository | https://github.com/Skillmon/tex_expkv-cs |
Version | 1.2 2022-02-13 |
Licenses | The LaTeX Project Public License 1.3c |
Copyright | 2020–2022 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 |
