summaryrefslogtreecommitdiff
path: root/fonts/scholax/tex/LY1TeXGyreScholaX-Sup.fd
blob: e6e466cdd1a4d23e562bdb7741961db7a406efd6 (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
92
93
94
95
96
97
%% Generated by autoinst on 2020/03/09
%%
\ProvidesFile{LY1TeXGyreScholaX-Sup.fd}
    [2020/03/09 (autoinst)  Font definitions for LY1/TeXGyreScholaX-Sup.]

\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

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

\DeclareFontFamily{LY1}{TeXGyreScholaX-Sup}{}


%   ----  bold  ----

\DeclareFontShape{LY1}{TeXGyreScholaX-Sup}{bold}{sl}{
      <-> \TeXGyreScholaX@@scale TeXGyreScholaX-BoldSlanted-sup-ly1
}{}

\DeclareFontShape{LY1}{TeXGyreScholaX-Sup}{bold}{n}{
      <-> \TeXGyreScholaX@@scale TeXGyreScholaX-Bold-sup-ly1
}{}

\DeclareFontShape{LY1}{TeXGyreScholaX-Sup}{bold}{it}{
      <-> \TeXGyreScholaX@@scale TeXGyreScholaX-BoldItalic-sup-ly1
}{}


%   ----  regular  ----

\DeclareFontShape{LY1}{TeXGyreScholaX-Sup}{regular}{it}{
      <-> \TeXGyreScholaX@@scale TeXGyreScholaX-Italic-sup-ly1
}{}

\DeclareFontShape{LY1}{TeXGyreScholaX-Sup}{regular}{n}{
      <-> \TeXGyreScholaX@@scale TeXGyreScholaX-Regular-sup-ly1
}{}

\DeclareFontShape{LY1}{TeXGyreScholaX-Sup}{regular}{sl}{
      <-> \TeXGyreScholaX@@scale TeXGyreScholaX-Slanted-sup-ly1
}{}

%
%  Extra 'alias' rules to map the standard NFSS codes to our fancy names
%

%   m --> regular

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

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

\DeclareFontShape{LY1}{TeXGyreScholaX-Sup}{m}{sl}{
      <-> alias * TeXGyreScholaX-Sup/regular/sl
}{}


%   b --> bold

\DeclareFontShape{LY1}{TeXGyreScholaX-Sup}{b}{sl}{
      <-> alias * TeXGyreScholaX-Sup/bold/sl
}{}

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

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

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

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

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

\endinput