diff options
author | Karl Berry <karl@freefriends.org> | 2011-02-11 01:13:22 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-02-11 01:13:22 +0000 |
commit | d077d50aa098669cfd921d7f47ba0d6e1cacdbf8 (patch) | |
tree | c7d80e44a89fd329452669dce2927f98386c327b /Master/texmf-dist/tex/latex/ptsans/PTSans.sty | |
parent | 02cacdb30324abc5f78dfb4788aa43b155dffed2 (diff) |
ptsans (10feb11)
git-svn-id: svn://tug.org/texlive/trunk@21361 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ptsans/PTSans.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/ptsans/PTSans.sty | 38 |
1 files changed, 35 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/ptsans/PTSans.sty b/Master/texmf-dist/tex/latex/ptsans/PTSans.sty index 089a3d497fc..611bd890c41 100644 --- a/Master/texmf-dist/tex/latex/ptsans/PTSans.sty +++ b/Master/texmf-dist/tex/latex/ptsans/PTSans.sty @@ -1,7 +1,39 @@ -\ProvidesPackage{PTSans} [2011/01/20 Style file for PTSans.] +\ProvidesPackage{PTSans} [2011/02/09 Style file for PTSans.] +%% +%% Options: +%% [scaled] --> Scale = 0.95 +%% [scaled=0.9] --> Scale = 0.90 +%% +\RequirePackage{keyval} +\define@key{PTSans}{scaled}[0.95]{% + \def\PTSans@scale{#1}} +\def\ProcessOptionsWithKV#1{% + \let\@tempc\relax + \let\PTSans@tempa\@empty + \@for\CurrentOption:=\@classoptionslist\do{% + \@ifundefined{KV@#1@\CurrentOption}% + {}% + {% + \edef\PTSans@tempa{\PTSans@tempa,\CurrentOption,}% + \@expandtwoargs\@removeelement\CurrentOption + \@unusedoptionlist\@unusedoptionlist + }% + }% + \edef\PTSans@tempa{% + \noexpand\setkeys{#1}{% + \PTSans@tempa\@ptionlist{\@currname.\@currext}% + }% + }% + \PTSans@tempa + \let\CurrentOption\@empty +} +\ProcessOptionsWithKV{PTSans} +\AtEndOfPackage{% + \let\@unprocessedoptions\relax +} \renewcommand{\sfdefault}{PTSans-TLF} -\renewcommand{\familydefault}{\sfdefault} -\renewcommand{\bfdefault}{b} +%%\renewcommand{\familydefault}{\sfdefault} +%%\renewcommand{\bfdefault}{b} \endinput |