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