pgfopts – LaTeX package options 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 LaTeX 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 LaTeX stan­dard
key­val pack­age.