Directory macros/latex/contrib/clefval
clefval
Authors: Yvon Henel, aka Le TeXnicien de surface (contact) and Josselin Noirel.
LICENCE
This material is subject to the LaTeX Project Public License, version 1.3c or later.
See https://www.latex-project.org/lppl.txt for the details of that license.
© 2020 Yvon Henel (Le TeXnicien de surface)
Description of the Package
clefval.sty
provides two macros \TheKey
and \TheValue
to define then use pairs of key/value and gives a semblance of hash.
Examples provided
- example.pdf from example.tex , English version of the following.
- exemple.pdf from exemple.tex (French): 8bit encoded legacy file using package
engpron
together withclefval
. - example-utf8.pdf from example-utf8.tex with pdflatex . The source can also be processed with lualatex and xelatex . The then created pdf-s will contain an additionnal text for pdflatex cannot by default process a key written in cyrillic alphabet.
- exemple.pdf from exemple.tex (French): 8bit encoded legacy file using package
History
Version 0.1 — 2020-07-27 — adapted to utf-8 encoded source
Version 0 — 2004-05-22 — first public version
Download the contents of this package in one zip archive (842.8k).
clefval – Key/value support with a hash
This package provides only two macros viz. \TheKey and \TheValue to define then use pairs of key/value and gives a semblance of a hash. Syntax: \TheKey{key}{value} to define the value associated to the key, does not produce text; \TheValue{key} to return the value linked to the key. Both arguments of \TheKey are ‘moving’ as LaTeX defines the term and we have sometimes to protect them.
Package | clefval |
Version | 0.1 |
Licenses | The LaTeX Project Public License 1.3c |
Maintainer | Yvon Henel |
Contained in | TeX Live as clefval MiKTeX as clefval |
Topics | Key-Val |