summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/raleway/raleway-type1-autoinst.sty
blob: e01aaff77db2d17ef586b188cd7b3cacbdcd8305 (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
39
40
41
42
%% Generated by autoinst on 2013/05/01
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{Raleway}
    [2013/05/01 (autoinst)  Style file for Raleway.]

\RequirePackage[T1,LY1]{fontenc}
\RequirePackage{textcomp}
\IfFileExists{fontaxes.sty}{
    \RequirePackage{fontaxes}
}{}

\IfFileExists{xkeyval.sty}{
    \newcommand*{\Raleway@scale}{1}
    \RequirePackage{xkeyval}
    \DeclareOptionX{scaled}{\renewcommand*{\Raleway@scale}{##1}}
}{
    \let\DeclareOptionX\DeclareOption
    \let\ExecuteOptionsX\ExecuteOptions
    \let\ProcessOptionsX\ProcessOptions
}

\DeclareOptionX{lining}{\edef\Raleway@figurestyle{LF}}
\DeclareOptionX{oldstyle}{\edef\Raleway@figurestyle{OsF}}
\DeclareOptionX{tabular}{\edef\Raleway@figurealign{T}}
\DeclareOptionX{proportional}{\edef\Raleway@figurealign{}}
\DeclareOptionX{black}{\renewcommand*{\bfdefault}{k}}
\DeclareOptionX{extrabold}{\renewcommand*{\bfdefault}{eb}}
\DeclareOptionX{semibold}{\renewcommand*{\bfdefault}{sb}}
\DeclareOptionX{bold}{\renewcommand*{\bfdefault}{b}}
\DeclareOptionX{light}{\renewcommand*{\mddefault}{l}}
\DeclareOptionX{medium}{\renewcommand*{\mddefault}{mb}}
\DeclareOptionX{regular}{\renewcommand*{\mddefault}{m}}
\ExecuteOptionsX{oldstyle,proportional,bold,regular}
\ProcessOptionsX\relax

\renewcommand*
    {\sfdefault}
    {Raleway-\Raleway@figurealign\Raleway@figurestyle}
\renewcommand*{\familydefault}{\sfdefault}

\endinput