Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/pgfopts

pgfopts - LaTeX package options with pgfkeys

Using key-value options for packages and macros is a good way of
handling large numbers of options with a clean interface. The
`pgfkeys` package provides a very well designed system for
defining and using keys, but does not make this available for
handling LaTeX class and package options. The `pgfopts` package
adds this ability to `pgfkeys`, in the same way that `kvoptions`
extends the `keyval` package.


The package is supplied in `.dtx` format and as a pre-extracted
zip file, `pgfopts.tds.zip`. The later is most convenient for
most users: simply unzip this in your local `texmf` directory.
If you want to unpack the `.dtx` yourself, running `tex
pgfopts.dtx` will extract the package whereas 'latex pgfopts.dtx
will extract it and also typeset the documentation.

Typesetting the documentation requires a number of packages in
addition to those needed to use the package. This is mainly 
because of the number of demonstration items included in the 
text. To compile the documentation without error, you will 
need the packages:
 - `csquotes`
 - `helvet`
 - `hypdoc`
 - `listings`
 - `lmodern`
 - `mathpazo`
 - `microtype`

Down­load the con­tents of this pack­age in one zip archive (176.2k).

pg­fopts – pack­age op­tions with pgfkeys

The pgfkeys pack­age (part of the pgf dis­tri­bu­tion) is a well-de­signed way of defin­ing and us­ing large num­bers of keys for key-value syn­taxes. How­ever, pgfkeys it­self does not of­fer means of han­dling class and pack­age op­tions. This pack­age adds such op­tion han­dling to pgfkeys, in the same way that kvop­tions adds the same fa­cil­ity to the stan­dard key­val pack­age.

Li­censeThe Project Public Li­cense 1.3
Main­tainerJoseph Wright
TDS archivepgfopts.tds.zip
Con­tained inTeX Live as pg­fopts
MiKTeX as pg­fopts
Topics sup­port for other pack­ages
key-value ar­gu­ment sys­tems
Guest Book Sitemap Contact Contact Author