diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/paratype/PTSansCaption.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/paratype/PTSansCaption.sty | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/paratype/PTSansCaption.sty b/Master/texmf-dist/tex/latex/paratype/PTSansCaption.sty new file mode 100644 index 00000000000..890e1d8b2d5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/paratype/PTSansCaption.sty @@ -0,0 +1,39 @@ +\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 |