summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/universalis/UniversalisADFStd.sty
blob: a21a94384b82b7a40cfdf8b6098e92876ca99140 (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
%% Generated by autoinst on 2014/05/01
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{UniversalisADFStd}
    [2014/05/01 (autoinst)  Style file for UniversalisADFStd.]

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

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

\DeclareOptionX{lining}{\edef\UniversalisADFStd@figurestyle{LF}}
\DeclareOptionX{proportional}{\edef\UniversalisADFStd@figurealign{}}
\DeclareOptionX{bold}{\edef\bfseries@sf{b}}
\DeclareOptionX{regular}{\edef\mdseries@sf{m}}
\ExecuteOptionsX{lining,proportional,bold,regular}
\ProcessOptionsX\relax

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

\endinput