summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/paratype/PTMono.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-02-24 00:19:00 +0000
committerKarl Berry <karl@freefriends.org>2012-02-24 00:19:00 +0000
commit066bcb82aab71ac138098103cd1a616832bd5b3b (patch)
tree021d166e0919eeaa03bb146ab9b5e664d8cc58e4 /Master/texmf-dist/tex/latex/paratype/PTMono.sty
parent73f788eedaa7a3e361af741b7120afb5e32504ff (diff)
paratype (23feb12)
git-svn-id: svn://tug.org/texlive/trunk@25487 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/paratype/PTMono.sty')
-rw-r--r--Master/texmf-dist/tex/latex/paratype/PTMono.sty39
1 files changed, 39 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/paratype/PTMono.sty b/Master/texmf-dist/tex/latex/paratype/PTMono.sty
new file mode 100644
index 00000000000..421d4d661b7
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/paratype/PTMono.sty
@@ -0,0 +1,39 @@
+\ProvidesPackage{PTMono} [2012/01/24 Style file for PTMono.]
+%%
+%% Options:
+%% [scaled] --> Scale = 0.95
+%% [scaled=0.9] --> Scale = 0.90
+%%
+\RequirePackage{keyval}
+\define@key{PTMono}{scaled}[0.95]{%
+ \def\PTMono@scale{#1}}
+\def\ProcessOptionsWithKV#1{%
+ \let\@tempc\relax
+ \let\PTMono@tempa\@empty
+ \@for\CurrentOption:=\@classoptionslist\do{%
+ \@ifundefined{KV@#1@\CurrentOption}%
+ {}%
+ {%
+ \edef\PTMono@tempa{\PTMono@tempa,\CurrentOption,}%
+ \@expandtwoargs\@removeelement\CurrentOption
+ \@unusedoptionlist\@unusedoptionlist
+ }%
+ }%
+ \edef\PTMono@tempa{%
+ \noexpand\setkeys{#1}{%
+ \PTMono@tempa\@ptionlist{\@currname.\@currext}%
+ }%
+ }%
+ \PTMono@tempa
+ \let\CurrentOption\@empty
+}
+\ProcessOptionsWithKV{PTMono}
+\AtEndOfPackage{%
+ \let\@unprocessedoptions\relax
+}
+
+\renewcommand{\ttdefault}{PTMono-TLF}
+%%\renewcommand{\familydefault}{\ttdefault}
+%%\renewcommand{\bfdefault}{b}
+
+\endinput