summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/gelasiomath/ly1mingelasio.fd
blob: 5a76ba9518c0a9eab0e8d312965688e4669367b2 (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
\ProvidesFile{ly1mingelasio.fd}
    [2024/04/11 (msharpe)  Font definitions for LY1/mingelasio.]

\ifcsname s@fct@alias\endcsname\else
\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo}
\gdef\@font@aliasinfo#1{%
    \@font@info{Font\space shape\space `\curr@fontshape'\space will
        \space be\space aliased\MessageBreak to\space `\mandatory@arg'}%
}
\fi
\def\@textscalefactor{.92} 
%xgelasio must be reduced by factor .92 to match xheight of newtxmath


\@ifundefined{ntxmath@scale}{\let\ntxmath@scaled\@empty}
{\@tempdima\@textscalefactor\p@
\@tempdima\ntxmath@scale\@tempdima
\edef\ntxmath@scaled{s*[\strip@pt\@tempdima]}}% locally, not globally

\DeclareFontFamily{LY1}{mingelasio}{}


%   ----  m = regular  ----

\DeclareFontShape{LY1}{mingelasio}{m}{it}{
      <-> \ntxmath@scaled Gelasio-Italic-tlf-ly1
}{}

\DeclareFontShape{LY1}{mingelasio}{regular}{it}{
      <-> alias * mingelasio/m/it
}{}

\DeclareFontShape{LY1}{mingelasio}{m}{n}{
      <-> \ntxmath@scaled Gelasio-Regular-tlf-ly1
}{}

\DeclareFontShape{LY1}{mingelasio}{regular}{n}{
      <-> alias * mingelasio/m/n
}{}

\DeclareFontShape{LY1}{mingelasio}{m}{sl}{
    <-> ssub * mingelasio/m/it
}{}

\DeclareFontShape{LY1}{mingelasio}{regular}{sl}{
    <-> ssub * mingelasio/regular/it
}{}


%   ----  b = bold  ----

\DeclareFontShape{LY1}{mingelasio}{b}{n}{
      <-> \ntxmath@scaled Gelasio-Bold-tlf-ly1
}{}

\DeclareFontShape{LY1}{mingelasio}{bold}{n}{
      <-> alias * mingelasio/b/n
}{}

\DeclareFontShape{LY1}{mingelasio}{b}{it}{
      <-> \ntxmath@scaled Gelasio-BoldItalic-tlf-ly1
}{}

\DeclareFontShape{LY1}{mingelasio}{bold}{it}{
      <-> alias * mingelasio/b/it
}{}

\DeclareFontShape{LY1}{mingelasio}{b}{sl}{
    <-> ssub * mingelasio/b/it
}{}

\DeclareFontShape{LY1}{mingelasio}{bold}{sl}{
    <-> ssub * mingelasio/bold/it
}{}


%   ----  Extra 'ssub' rules to map 'bx' to 'b'  ----

\DeclareFontShape{LY1}{mingelasio}{bx}{n}{
      <-> ssub * mingelasio/b/n
}{}

\DeclareFontShape{LY1}{mingelasio}{bx}{sl}{
      <-> ssub * mingelasio/b/sl
}{}

\DeclareFontShape{LY1}{mingelasio}{bx}{it}{
      <-> ssub * mingelasio/b/it
}{}

\endinput