The keycommand package an easy way to define commands with optional keys.

Florent Chervet · 2009

keycommand provides an easy way to define commands or environments with optional keys. It provides ewkeycommand and its relative \renewkeycommand, ewkeyenvironment, \renewkeyenvironment and \providekeycommand. Moreover it is possible to define key-commands using \def, \edef, \gdef or \xdef via the \keycmd prefix. This package requires and is based on the package kvsetkeys by Heiko Oberdiek. It is designed to work with -TEX for the code uses the primives \unexpanded and \protected.

Read the paper · More papers on PaperTik