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

\@ifundefined{ifntx@sl}{\global\newif\ifntx@sl\global\ntx@sltrue}{}

\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}
\ifdefined\ntx@adobescfalse\ntx@makeadobesc\fi
\ifdefined\ntx@spacing \else\global\let\ntx@spacing\@empty\fi

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