withargs

In-place argument substitution

Version:
0.3.1
Copyright:
Michiel Helvensteijn
License:
lppl1.3
Packaged on:
11/10/2019 21:12:01
Number of files:
7
Size on disk:
491.71 kB

The \withargs command provides a clean way to populate a template (containing #1, #2, etc.) using LaTeX argument substitution. It also allows you to carefully control argument expansion using a LaTeX3-style argument specification. Uses range from creating readable string templates (akin to C’s printf function) to performing otherwise complex token-list manipulation.