\ProvidesPackage{PTSansCaption} [2011/02/09 Style file for PTSansCaption.] %% %% Options: %% [scaled] --> Scale = 0.95 %% [scaled=0.9] --> Scale = 0.90 %% \RequirePackage{keyval} \define@key{PTSansCaption}{scaled}[0.95]{% \def\PTSansCaption@scale{#1}} \def\ProcessOptionsWithKV#1{% \let\@tempc\relax \let\PTSansCaption@tempa\@empty \@for\CurrentOption:=\@classoptionslist\do{% \@ifundefined{KV@#1@\CurrentOption}% {}% {% \edef\PTSansCaption@tempa{\PTSansCaption@tempa,\CurrentOption,}% \@expandtwoargs\@removeelement\CurrentOption \@unusedoptionlist\@unusedoptionlist }% }% \edef\PTSansCaption@tempa{% \noexpand\setkeys{#1}{% \PTSansCaption@tempa\@ptionlist{\@currname.\@currext}% }% }% \PTSansCaption@tempa \let\CurrentOption\@empty } \ProcessOptionsWithKV{PTSansCaption} \AtEndOfPackage{% \let\@unprocessedoptions\relax } \renewcommand{\sfdefault}{PTSansCaption-TLF} %%\renewcommand{\familydefault}{\sfdefault} %%\renewcommand{\bfdefault}{b} \endinput