diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/ptserif/PTSerif.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/ptserif/PTSerif.sty | 38 |
1 files changed, 35 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/ptserif/PTSerif.sty b/Master/texmf-dist/tex/latex/ptserif/PTSerif.sty index 0a8f3552fdc..28066516b59 100644 --- a/Master/texmf-dist/tex/latex/ptserif/PTSerif.sty +++ b/Master/texmf-dist/tex/latex/ptserif/PTSerif.sty @@ -1,7 +1,39 @@ -\ProvidesPackage{PTSerif} [2011/01/29 Style file for PTSerif.] +\ProvidesPackage{PTSerif} [2011/02/10 Style file for PTSerif.] +%% +%% Options: +%% [scaled] --> Scale = 0.95 +%% [scaled=0.9] --> Scale = 0.90 +%% +\RequirePackage{keyval} +\define@key{PTSerif}{scaled}[0.95]{% + \def\PTSerif@scale{#1}} +\def\ProcessOptionsWithKV#1{% + \let\@tempc\relax + \let\PTSerif@tempa\@empty + \@for\CurrentOption:=\@classoptionslist\do{% + \@ifundefined{KV@#1@\CurrentOption}% + {}% + {% + \edef\PTSerif@tempa{\PTSerif@tempa,\CurrentOption,}% + \@expandtwoargs\@removeelement\CurrentOption + \@unusedoptionlist\@unusedoptionlist + }% + }% + \edef\PTSerif@tempa{% + \noexpand\setkeys{#1}{% + \PTSerif@tempa\@ptionlist{\@currname.\@currext}% + }% + }% + \PTSerif@tempa + \let\CurrentOption\@empty +} +\ProcessOptionsWithKV{PTSerif} +\AtEndOfPackage{% + \let\@unprocessedoptions\relax +} \renewcommand{\rmdefault}{PTSerif-TLF} -\renewcommand{\familydefault}{\rmdefault} -\renewcommand{\bfdefault}{b} +%%\renewcommand{\familydefault}{\rmdefault} +%%\renewcommand{\bfdefault}{b} \endinput |