diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/dejavu/DejaVuSansMono.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/dejavu/DejaVuSansMono.sty | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/dejavu/DejaVuSansMono.sty b/Master/texmf-dist/tex/latex/dejavu/DejaVuSansMono.sty new file mode 100644 index 00000000000..2b4d6d6a336 --- /dev/null +++ b/Master/texmf-dist/tex/latex/dejavu/DejaVuSansMono.sty @@ -0,0 +1,38 @@ +\ProvidesPackage{DejaVuSansMono} [2011/06/01 Style file for DejaVuSansMono.] +%% +%% Options: +%% [scaled] --> Scale = 0.95 +%% [scaled=0.9] --> Scale = 0.90 +%% +\RequirePackage{keyval} +\define@key{DejaVuSansMono}{scaled}[0.95]{% + \def\DejaVuSansMono@scale{#1}} +\def\ProcessOptionsWithKV#1{% + \let\@tempc\relax + \let\DejaVuSansMono@tempa\@empty + \@for\CurrentOption:=\@classoptionslist\do{% + \@ifundefined{KV@#1@\CurrentOption}% + {}% + {% + \edef\DejaVuSansMono@tempa{\DejaVuSansMono@tempa,\CurrentOption,}% + \@expandtwoargs\@removeelement\CurrentOption + \@unusedoptionlist\@unusedoptionlist + }% + }% + \edef\DejaVuSansMono@tempa{% + \noexpand\setkeys{#1}{% + \DejaVuSansMono@tempa\@ptionlist{\@currname.\@currext}% + }% + }% + \DejaVuSansMono@tempa + \let\CurrentOption\@empty +} +\ProcessOptionsWithKV{DejaVuSansMono} +\AtEndOfPackage{% + \let\@unprocessedoptions\relax +} + + +\renewcommand{\ttdefault}{DejaVuSansMono-TLF} + +\endinput |