summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/paratype/PTSans.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/paratype/PTSans.sty')
-rw-r--r--Master/texmf-dist/tex/latex/paratype/PTSans.sty39
1 files changed, 39 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/paratype/PTSans.sty b/Master/texmf-dist/tex/latex/paratype/PTSans.sty
new file mode 100644
index 00000000000..611bd890c41
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/paratype/PTSans.sty
@@ -0,0 +1,39 @@
+\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}
+
+\endinput