summaryrefslogtreecommitdiff
path: root/fonts/newtx/tex/ot1ntxosf.fd
blob: 88727fb063762a5a658a758c87c75044d42c6812 (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
\ProvidesFile{ot1ntxosf.fd}[2021/05/24 v1.0 font definition file for OT1/ntx/osf]

\@ifundefined{ifntx@sl}{\let\ifntx@sl\iftrue}{}
\@ifundefined{ifntx@largesc}{\let\ifntx@largesc\iftrue}{}

\expandafter\ifx\csname ntx@scaled\endcsname\relax
  \let\ntx@scaled\@empty%
\fi
\def\ntx@asfx{}
\def\ntx@lsfx{}
\def\ntx@makelsfx{\ifntx@largesc\def\ntx@lsfx{l}\fi}
\def\ntx@makeadobesc{\ifntx@adobesc\def\ntx@lsfx{l}\def\ntx@adobesc{a}\else\ntx@makelsfx\fi}
\ntx@makelsfx
\ifdefined\ntx@adobescfalse\ntx@makeadobesc\fi
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi

\DeclareFontFamily{OT1}{ntxosf}{\ntx@spacing}
\DeclareFontShape{OT1}{ntxosf}{b}{sc}{<-> \ntx@scaled ntx-Bold-osf-sc\ntx@lsfx-ot1}{}
\DeclareFontShape{OT1}{ntxosf}{b}{n}{<-> \ntx@scaled ntx-Bold-osf-ot1}{}
\DeclareFontShape{OT1}{ntxosf}{b}{scit}{<-> \ntx@scaled ntx-BoldItalic-osf-sc\ntx@lsfx-ot1}{}
\DeclareFontShape{OT1}{ntxosf}{b}{it}{<-> \ntx@scaled ntx-BoldItalic-osf-ot1}{}
\DeclareFontShape{OT1}{ntxosf}{m}{sc}{<-> \ntx@scaled ntx-Regular-osf-sc\ntx@lsfx-ot1}{}
\DeclareFontShape{OT1}{ntxosf}{m}{n}{<-> \ntx@scaled ntx-Regular-osf-ot1}{}
\DeclareFontShape{OT1}{ntxosf}{m}{scit}{<-> \ntx@scaled ntx-Italic-osf-sc\ntx@lsfx-ot1}{}
\DeclareFontShape{OT1}{ntxosf}{m}{it}{<-> \ntx@scaled ntx-Italic-osf-ot1}{}
\DeclareFontShape{OT1}{ntxosf}{bx}{sc}{<->ssub * ntxosf/b/sc}{}
\DeclareFontShape{OT1}{ntxosf}{bx}{n}{<->ssub * ntxosf/b/n}{}
\DeclareFontShape{OT1}{ntxosf}{bx}{scit}{<->ssub * ntxosf/b/scit}{}
\DeclareFontShape{OT1}{ntxosf}{bx}{it}{<->ssub * ntxosf/b/it}{}
\ifntx@sl % point to real slanted fonts
  \DeclareFontShape{OT1}{ntxosf}{m}{sl}{<-> \ntx@scaled ot1xsl-osf}{}
  \DeclareFontShape{OT1}{ntxosf}{b}{sl}{<-> \ntx@scaled ztmbsl-osf-ot1}{}
  \DeclareFontShape{OT1}{ntxosf}{bx}{sl}{<->ssub * ntxosf/b/sl}{}
\else %point to theorem font
  \DeclareFontShape{OT1}{ntxosf}{m}{sl}{<-> \ntx@scaled ntxth-Italic-tlf-ot1}{}
  \DeclareFontShape{OT1}{ntxosf}{b}{sl}{<->ssub * ntxosf/m/sl}{}
  \DeclareFontShape{OT1}{ntxosf}{bx}{sl}{<->ssub * ntxosf/m/sl}{}
\fi
\DeclareFontShape{OT1}{ntxosf}{b}{scsl}{<->ssub * ntxosf/b/scit}{}
\DeclareFontShape{OT1}{ntxosf}{bx}{scsl}{<->ssub * ntxosf/b/scit}{}
\DeclareFontShape{OT1}{ntxosf}{m}{scsl}{<->ssub * ntxosf/m/scit}{}
\endinput