summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ptsans/PTSansNarrowOld.sty
blob: 5befb88e74faff98df52b12e60a7bd14a1653340 (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
%%Generayed by autoinst on 2011/01/27
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{PTSansNarrow}
    [2011/01/27 (autoinst)  Style file for PTSansNarrow.]
    
\RequirePackage[T2A,T2B,T2C,X2,IL2,T1]{fontenc}
\RequirePackage{textcomp}
\IfFileExists{fontaxes.sty}{
    \RequirePackage{fontaxes}
}{}

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

\DeclareOptionX{lining}{\edef\PTSansNarrow@figurestyle{LF}}
\DeclareOptionX{tabular}{\edef\PTSansNarrow@figurealign{T}}
\DeclareOptionX{bold}{\renewcommand*{\bfdefault}{b}}
\DeclareOptionX{regular}{\renewcommand*{\mddefault}{m}}
\ExecuteOptionsX{lining,tabular,bold,regular}
\ProcessOptionsX\relax

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

\endinput