summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/fontools/examples/palatinox/palatinox.sty
blob: 127aabd04e1e91dda518e7e71eb4d43e3013d6cb (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
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{palatinox}
    [2006/10/16 v3.0  Style file for Palatino Linotype.]

\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
}{}

\RequirePackage[T1]{fontenc}
\RequirePackage{textcomp}
\DeclareOption{lining}{\edef\f@figure@style{LF}}
\DeclareOption{tabular}{\edef\f@figure@align{T}}
\DeclareOption{oldstyle}{\edef\f@figure@style{OsF}}
\DeclareOption{proportional}{\edef\f@figure@align{}}

\ExecuteOptions{oldstyle,proportional}
\ProcessOptions\relax

\renewcommand*
    {\rmdefault}
    {Palatino-\f@figure@align\f@figure@style}
\renewcommand*{\familydefault}{\rmdefault}
\renewcommand*{\bfdefault}{b}

\normalfont

\endinput
%%
%% End of file 'palatinox.sty'