summaryrefslogtreecommitdiff
path: root/fonts/dejavu/tex/DejaVuSansMono.sty
blob: 2b4d6d6a336f6e55ed60bdc0ee3199ca7cda7486 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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