diff options
author | Mojca Miklavec <mojca.miklavec@gmail.com> | 2011-08-13 16:15:33 +0000 |
---|---|---|
committer | Mojca Miklavec <mojca.miklavec@gmail.com> | 2011-08-13 16:15:33 +0000 |
commit | 28d552cbc39eea3053b60e35ec22d20e16082fed (patch) | |
tree | 50ac8a1ce44962db55cfeb0c740485fe493ccaca /Master/texmf-dist/tex/latex/dejavu/DejaVuSerif.sty | |
parent | 0f9bec9c80f4da0cfbfbf17968cfde29a154a60f (diff) |
relocate dejavu font that was mistakenly imported into doc/fonts/dejavu
git-svn-id: svn://tug.org/texlive/trunk@23532 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/dejavu/DejaVuSerif.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/dejavu/DejaVuSerif.sty | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/dejavu/DejaVuSerif.sty b/Master/texmf-dist/tex/latex/dejavu/DejaVuSerif.sty new file mode 100644 index 00000000000..f32ce390f14 --- /dev/null +++ b/Master/texmf-dist/tex/latex/dejavu/DejaVuSerif.sty @@ -0,0 +1,38 @@ +\ProvidesPackage{DejaVuSerif} [2011/06/01 Style file for DejaVuSerif.] +%% +%% Options: +%% [scaled] --> Scale = 0.95 +%% [scaled=0.9] --> Scale = 0.90 +%% +\RequirePackage{keyval} +\define@key{DejaVuSerif}{scaled}[0.95]{% + \def\DejaVuSerif@scale{#1}} +\def\ProcessOptionsWithKV#1{% + \let\@tempc\relax + \let\DejaVuSerif@tempa\@empty + \@for\CurrentOption:=\@classoptionslist\do{% + \@ifundefined{KV@#1@\CurrentOption}% + {}% + {% + \edef\DejaVuSerif@tempa{\DejaVuSerif@tempa,\CurrentOption,}% + \@expandtwoargs\@removeelement\CurrentOption + \@unusedoptionlist\@unusedoptionlist + }% + }% + \edef\DejaVuSerif@tempa{% + \noexpand\setkeys{#1}{% + \DejaVuSerif@tempa\@ptionlist{\@currname.\@currext}% + }% + }% + \DejaVuSerif@tempa + \let\CurrentOption\@empty +} +\ProcessOptionsWithKV{DejaVuSerif} +\AtEndOfPackage{% + \let\@unprocessedoptions\relax +} + + +\renewcommand{\rmdefault}{DejaVuSerif-TLF} + +\endinput |