summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/dejavu/DejaVuSans.sty
blob: e6832ee14afeb28bb273703e624b27299a3b2e2c (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{DejaVuSans} [2011/06/01 Style file for DejaVuSans.]
%%
%% Options:
%%  [scaled]       --> Scale = 0.95
%%  [scaled=0.9]   --> Scale = 0.90
%%
\RequirePackage{keyval}
\define@key{DejaVuSans}{scaled}[0.95]{%
  \def\DejaVuSans@scale{#1}}
\def\ProcessOptionsWithKV#1{%
  \let\@tempc\relax
  \let\DejaVuSans@tempa\@empty
  \@for\CurrentOption:=\@classoptionslist\do{%
    \@ifundefined{KV@#1@\CurrentOption}%
    {}%
    {%
      \edef\DejaVuSans@tempa{\DejaVuSans@tempa,\CurrentOption,}%
      \@expandtwoargs\@removeelement\CurrentOption
        \@unusedoptionlist\@unusedoptionlist
    }%
  }%
  \edef\DejaVuSans@tempa{%
    \noexpand\setkeys{#1}{%
      \DejaVuSans@tempa\@ptionlist{\@currname.\@currext}%
    }%
  }%
  \DejaVuSans@tempa
  \let\CurrentOption\@empty
}
\ProcessOptionsWithKV{DejaVuSans}
\AtEndOfPackage{%
  \let\@unprocessedoptions\relax
}
    

\renewcommand{\sfdefault}{DejaVuSans-TLF}

\endinput