New answers tagged

5

Here's a xkeyval version, with automatic definition of keys and it's keyval macro and a corresponding \if... whether the option is used. The precise implementation depends on the internal options to be specified what they should do if specified. I assumed, that the class options are to be stored to a macro, say \classoption@myclass@#2 where #2 has the ...


5

Examples for kvoptions among my packages: accsupp, attachfile2, bookmark, enparen, epstopdf-base, grffile, pagegrid, pmboxdraw, rerunfilecheck, resizegather, selinput, zref-xr, ... A grep -r kvoptions TDS:tex/latex will reveal much more packages. Example rerunfilecheck: % Package start [...] \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{rerunfilecheck}% ...



Top 50 recent answers are included