summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/newtxtt/t1newtxtt.fd
blob: 8016ed67ae48ee58338dd5c979a5778e8620ecbc (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
\ProvidesFile{t1newtxtt.fd}
    [2020/02/15  Font definitions for T1/newtxtt.]

\expandafter\ifx\csname newtxtt@scale\endcsname\relax
    \let\newtxtt@@scale\@empty
\else
    \edef\newtxtt@@scale{s*[\csname newtxtt@scale\endcsname]}%
\fi

\expandafter\ifx\csname newtxtt@fig\endcsname\relax
    \def\newtxtt@@fig{a}
\else   
    \let\newtxtt@@fig\newtxtt@fig
\fi

\let\newtxtt@@upq\@empty
\expandafter\ifx\csname txtt@upqfalse\endcsname\relax
\csname iftrue\endcsname 
% fix proposed by Jean Francois Burnol to prevent "extra \fi"
% error when using newtxtt directly from fd.
\else
    \iftxtt@upq\def\newtxtt@@upq{q}\fi
\fi

\DeclareFontFamily{T1}{newtxtt}{\hyphenchar\font\m@ne}

\DeclareFontShape{T1}{newtxtt}{m}{n}{
      <-> \newtxtt@@scale newtxtt\newtxtt@@fig\newtxtt@@upq
}{}
\DeclareFontShape{T1}{newtxtt}{b}{n}{
      <-> \newtxtt@@scale newtxbtt\newtxtt@@fig\newtxtt@@upq
}{}
\DeclareFontShape{T1}{newtxtt}{bx}{n}{
      <-> ssub * newtxtt/b/n
}{}

\DeclareFontShape{T1}{newtxtt}{m}{sc}{	%cap & small cap
     <-> \newtxtt@@scale newtxttsc\newtxtt@@fig\newtxtt@@upq
}{}
\DeclareFontShape{T1}{newtxtt}{m}{sl}{	%slanted
     <-> \newtxtt@@scale newtxttsl\newtxtt@@fig\newtxtt@@upq
}{}
\DeclareFontShape{T1}{newtxtt}{m}{it}{	%italic
     <-> ssub * newtxtt/m/sl%
}{}
\DeclareFontShape{T1}{newtxtt}{m}{ui}{ %unslanted italic
     <-> ssub * newtxtt/m/sl%
}{}
\DeclareFontShape{T1}{newtxtt}{b}{sc}{	%bold cap & small cap
     <-> \newtxtt@@scale newtxbttsc\newtxtt@@fig\newtxtt@@upq
}{}
\DeclareFontShape{T1}{newtxtt}{b}{sl}{	%bold slanted
     <-> \newtxtt@@scale newtxbttsl\newtxtt@@fig\newtxtt@@upq
}{}
\DeclareFontShape{T1}{newtxtt}{b}{it}{	%bold italic
     <-> ssub * newtxtt/b/sl%
}{}
%\DeclareFontShape{T1}{newtxtt}{bx}{ui}{  	%bold unslanted italic
%     <-> ssub * newtxtt/b/sl%
%}{}
\DeclareFontShape{T1}{newtxtt}{bx}{sc}{	%bold extended cap & small cap
     <-> ssub * newtxtt/b/sc%
}{}
\DeclareFontShape{T1}{newtxtt}{bx}{sl}{	%bold extended slanted
     <-> ssub * newtxtt/b/sl%
}{}
\DeclareFontShape{T1}{newtxtt}{bx}{it}{   	%bold extended italic
     <-> ssub * newtxtt/b/sl%
}{}
%\DeclareFontShape{T1}{newtxtt}{bx}{ui}{  %bold extended unslanted italic
%     <-> ssub * newtxtt/b/sl%
%}{}

\endinput