summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/dejavu/DejaVuSerif.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/dejavu/DejaVuSerif.sty')
-rw-r--r--Master/texmf-dist/tex/latex/dejavu/DejaVuSerif.sty38
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