summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/libertine-type1/libertine-type1.sty
blob: cd88c3a12ecd0f007931bde8eed3c4bdf651cd52 (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
43
44
45
%% Generated by autoinst on 2012/10/27
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{libertine-type1}
    [2012/10/27 (autoinst)  Style file for LinuxLibertineO.]

\RequirePackage{textcomp}
\IfFileExists{fontaxes.sty}{
    \RequirePackage{fontaxes}
    \fa@naming@exception{figures}{{superior}{proportional}}{Sup}
    \fa@naming@exception{figures}{{superior}{tabular}}{Sup}
    \def\sufigures{\@nomath\sufigures
        \fontfigurestyle{superior}\selectfont}
    \DeclareTextFontCommand{\textsu}{\sufigures}
    \let\textsuperior\textsu

}{}

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

\DeclareOptionX{nf}{\edef\LinuxLibertineO@figurestyle{LF}}
\DeclareOptionX{osf}{\edef\LinuxLibertineO@figurestyle{OsF}}
\DeclareOptionX{lining}{\edef\LinuxLibertineO@figurestyle{LF}}
\DeclareOptionX{oldstyle}{\edef\LinuxLibertineO@figurestyle{OsF}}
\DeclareOptionX{tabular}{\edef\LinuxLibertineO@figurealign{T}}
\DeclareOptionX{proportional}{\edef\LinuxLibertineO@figurealign{}}
\DeclareOptionX{semibold}{\renewcommand*{\bfdefault}{sb}}
\DeclareOptionX{bold}{\renewcommand*{\bfdefault}{b}}
\DeclareOptionX{regular}{\renewcommand*{\mddefault}{m}}
\ExecuteOptionsX{oldstyle,proportional,bold,regular}
\ProcessOptionsX\relax

\renewcommand*
    {\rmdefault}
    {LinuxLibertineO-\LinuxLibertineO@figurealign\LinuxLibertineO@figurestyle}

\endinput