summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/paratype/PTSerif.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-08-19 17:11:34 +0000
committerKarl Berry <karl@freefriends.org>2011-08-19 17:11:34 +0000
commit9e612d0f71de3a3e95be8168e95b27931c5932dd (patch)
treef6c93bb29e8530ed471a5ea5070b800dbff4cde6 /Master/texmf-dist/tex/latex/paratype/PTSerif.sty
parent19ff7d8a2ac77fe9ce485f359eeccf2f1a901f75 (diff)
paratype replaces ptsans and ptserif (11may11)
git-svn-id: svn://tug.org/texlive/trunk@23602 c570f23f-e606-0410-a88d-b1316a301751
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