diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/paratype/PTMono.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/paratype/PTMono.sty | 39 |
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 |