Add tex.
[hacks/latex/texmf.git] / tex / latex / DIN / DIN-LightItalic.sty
1 %%Generayed by autoinst on 2012/09/01
2 %%
3 \NeedsTeXFormat{LaTeX2e}
4 \ProvidesPackage{DIN-LightItalic}
5     [2012/09/01 (autoinst)  Style file for DIN-LightItalic.]
6     
7 \RequirePackage[T1,T5,LY1]{fontenc}
8 \RequirePackage{textcomp}
9 \IfFileExists{fontaxes.sty}{
10     \RequirePackage{fontaxes}
11     \providecommand{\tldefault}{tl}
12     \DeclareRobustCommand\tlshape{\not@math@alphabet\tlshape\relax
13         \fontsecondaryshape\tldefault\selectfont}
14     \DeclareTextFontCommand{\texttl}{\tlshape}
15     \let\texttitling\texttl
16     \fa@naming@exception{shape}{{n}{tl}}{tl}
17     \fa@naming@exception{shape}{{it}{tl}}{tlit}
18     
19     \DeclareRobustCommand\swshape{\not@math@alphabet\swshape\relax
20         \fontprimaryshape\itdefault\fontsecondaryshape\swdefault\selectfont}
21     \fa@naming@exception{shape}{{n}{sw}}{nw}
22     \fa@naming@exception{shape}{{it}{sw}}{sw}
23     
24     \fa@naming@exception{figures}{{superior}{proportional}}{Sup}
25     \fa@naming@exception{figures}{{superior}{tabular}}{Sup}
26     \def\sufigures{\@nomath\sufigures
27         \fontfigurestyle{superior}\selectfont}
28     \DeclareTextFontCommand{\textsu}{\sufigures}
29     \let\textsuperior\textsu
30     
31     \fa@naming@exception{figures}{{inferior}{proportional}}{Inf}
32     \fa@naming@exception{figures}{{inferior}{tabular}}{Inf}
33     \def\infigures{\@nomath\infigures
34         \fontfigurestyle{inferior}\selectfont}
35     \DeclareTextFontCommand{\textin}{\infigures}
36     \let\textinferior\textin
37     
38     \fa@naming@exception{figures}{{ornament}{proportional}}{Orn}
39     \fa@naming@exception{figures}{{ornament}{tabular}}{Orn}
40     \def\ornaments{\@nomath\ornaments
41         \fontencoding{U}\fontfigurestyle{ornament}\selectfont}
42     \DeclareTextFontCommand{\textornaments}{\ornaments}
43     \providecommand{\ornament}[1]{\textornaments{\char##1}}
44     
45     \fa@naming@exception{figures}{{numerators}{proportional}}{Numr}
46     \fa@naming@exception{figures}{{numerators}{tabular}}{Numr}
47
48     \fa@naming@exception{figures}{{denominators}{proportional}}{Dnom}
49     \fa@naming@exception{figures}{{denominators}{tabular}}{Dnom}
50 }{}
51
52 \IfFileExists{xkeyval.sty}{
53     \newcommand*{\DIN-LightItalic@scale}{1}
54     \RequirePackage{xkeyval}
55     \DeclareOptionX{scaled}{\renewcommand*{\DIN-LightItalic@scale}{##1}}
56 }{
57     \let\DeclareOptionX\DeclareOption
58     \let\ExecuteOptionsX\ExecuteOptions
59     \let\ProcessOptionsX\ProcessOptions
60 }
61
62 \DeclareOptionX{lining}{\edef\DIN-LightItalic@figurestyle{LF}}
63 \DeclareOptionX{tabular}{\edef\DIN-LightItalic@figurealign{T}}
64 \DeclareOptionX{regular}{\renewcommand*{\mddefault}{m}}
65 \ExecuteOptionsX{lining,tabular,regular}
66 \ProcessOptionsX\relax
67
68 \renewcommand*
69     {\rmdefault}
70     {DIN-LightItalic-\DIN-LightItalic@figurealign\DIN-LightItalic@figurestyle}
71 \renewcommand*{\familydefault}{\rmdefault}
72
73 \endinput