Quantcast
Channel: A package template using xkeyval? - TeX - LaTeX Stack Exchange
Viewing all articles
Browse latest Browse all 4

A package template using xkeyval?

$
0
0

I would like to write a package offering a number of commands. The package should accept options, and some of these options should be available as command options. Usage should be as follows:

...\usepackage[optA=val1,optB=val2]{mypackage}\begin{document}\mycommand[optB=val3]...

It seems as if the xkeyval package can do that, but I am not sure how this should be done exactly.


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images