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\starttypescriptcollection[texgyre]
27
28 \doifunknownfontfeature {pagellamathbold} {\definefontfeature[pagellamathbold][boldened]}
29 \doifunknownfontfeature {scholamathbold} {\definefontfeature[scholamathbold] [boldened]}
30 \doifunknownfontfeature {bonummathbold} {\definefontfeature[bonummathbold] [boldened]}
31 \doifunknownfontfeature {termesmathbold} {\definefontfeature[termesmathbold] [boldened]}
32
33 \definetypescriptprefix [f:pagella] [pagella]
34 \definetypescriptprefix [f:termes] [termes]
35 \definetypescriptprefix [f:heros] [heros]
36 \definetypescriptprefix [f:bonum] [bonum]
37 \definetypescriptprefix [f:schola] [schola]
38 \definetypescriptprefix [f:adventor][adventor]
39 \definetypescriptprefix [f:cursor] [cursor]
40 \definetypescriptprefix [f:chorus] [chorus]
41
42 \definetypescriptprefix [f:pagellant] [pagella]
43 \definetypescriptprefix [f:termesnt] [termes]
44 \definetypescriptprefix [f:bonumnt] [bonum]
45 \definetypescriptprefix [f:scholant] [schola]
46
47 \definetypescriptprefix [f:palatino] [pagella]
48 \definetypescriptprefix [f:times] [termes]
49 \definetypescriptprefix [f:helvetica] [heros]
50 \definetypescriptprefix [f:bookman] [bonum]
51 \definetypescriptprefix [f:schoolbook] [schola]
52 \definetypescriptprefix [f:avantgarde] [adventor]
53 \definetypescriptprefix [f:courier] [cursor]
54 \definetypescriptprefix [f:chancery] [chorus]
55
56 \definetypescriptprefix [n:pagella] [TeXGyrePagella]
57 \definetypescriptprefix [n:termes] [TeXGyreTermes]
58 \definetypescriptprefix [n:heros] [TeXGyreHeros]
59 \definetypescriptprefix [n:bonum] [TeXGyreBonum]
60 \definetypescriptprefix [n:schola] [TeXGyreSchola]
61 \definetypescriptprefix [n:adventor] [TeXGyreAdventor]
62 \definetypescriptprefix [n:cursor] [TeXGyreCursor]
63 \definetypescriptprefix [n:chorus] [TeXGyreChorus]
64
65 \definetypescriptprefix [n:pagellant] [TeXGyrePagella]
66 \definetypescriptprefix [n:termesnt] [TeXGyreTermes]
67 \definetypescriptprefix [n:bonumnt] [TeXGyreBonum]
68 \definetypescriptprefix [n:scholant] [TeXGyreSchola]
69
70 \definetypescriptprefix [n:palatino] [TeXGyrePagella]
71 \definetypescriptprefix [n:times] [TeXGyreTermes]
72 \definetypescriptprefix [n:helvetica] [TeXGyreHeros]
73 \definetypescriptprefix [n:bookman] [TeXGyreBonum]
74 \definetypescriptprefix [n:schoolbook] [TeXGyreSchola]
75 \definetypescriptprefix [n:adventor] [TeXGyreAdventor]
76 \definetypescriptprefix [n:courier] [TeXGyreCursor]
77 \definetypescriptprefix [n:chancery] [TeXGyreChorus]
78
79 \starttypescript [\s!serif,\s!sans] [adventor,bonum,bookman,heros,helvetica,pagella,palatino,schola,schoolbook,termes,times,
80 pagellant,termesnt,bonumnt,scholant]
81 \definefontsynonym [\typescriptprefix{n:\typescripttwo}Regular] [\s!file:texgyre\typescriptprefix{f:\typescripttwo}regular] [\s!features=\s!default,\s!goodies=texgyretext]
82 \definefontsynonym [\typescriptprefix{n:\typescripttwo}Italic] [\s!file:texgyre\typescriptprefix{f:\typescripttwo}italic] [\s!features=\s!default,\s!goodies=texgyretext]
83 \definefontsynonym [\typescriptprefix{n:\typescripttwo}Bold] [\s!file:texgyre\typescriptprefix{f:\typescripttwo}bold] [\s!features=\s!default,\s!goodies=texgyretext]
84 \definefontsynonym [\typescriptprefix{n:\typescripttwo}BoldItalic] [\s!file:texgyre\typescriptprefix{f:\typescripttwo}bolditalic] [\s!features=\s!default,\s!goodies=texgyretext]
85 \definefontsynonym [\typescriptprefix{n:\typescripttwo}Caps] [\s!file:texgyre\typescriptprefix{f:\typescripttwo}regular] [\s!features=\s!smallcaps]
86 \definefontsynonym [\typescriptprefix{n:\typescripttwo}ItalicCaps] [\s!file:texgyre\typescriptprefix{f:\typescripttwo}italic] [\s!features=\s!smallcaps]
87 \definefontsynonym [\typescriptprefix{n:\typescripttwo}BoldCaps] [\s!file:texgyre\typescriptprefix{f:\typescripttwo}bold] [\s!features=\s!smallcaps]
88 \definefontsynonym [\typescriptprefix{n:\typescripttwo}BoldItalicCaps] [\s!file:texgyre\typescriptprefix{f:\typescripttwo}bolditalic] [\s!features=\s!smallcaps]
89 \stoptypescript
90
91 \starttypescript [\s!mono] [cursor,courier]
92 \definefontsynonym [\typescriptprefix{n:\typescripttwo}Regular] [\s!file:texgyre\typescriptprefix{f:\typescripttwo}regular] [\s!features=\s!none]
93 \definefontsynonym [\typescriptprefix{n:\typescripttwo}Italic] [\s!file:texgyre\typescriptprefix{f:\typescripttwo}italic] [\s!features=\s!none]
94 \definefontsynonym [\typescriptprefix{n:\typescripttwo}Bold] [\s!file:texgyre\typescriptprefix{f:\typescripttwo}bold] [\s!features=\s!none]
95 \definefontsynonym [\typescriptprefix{n:\typescripttwo}BoldItalic] [\s!file:texgyre\typescriptprefix{f:\typescripttwo}bolditalic] [\s!features=\s!none]
96 \stoptypescript
97
98 \starttypescript [\s!serif,\s!calligraphy] [chorus,chancery]
99 \definefontsynonym [TeXGyreChorusMediumItalic] [\s!file:texgyrechorusmediumitalic] [\s!features=\s!default]
100 \stoptypescript
101
102 \starttypescript [\s!serif] [pagella,palatino,termes,times,bonum,bookman,schola,schoolbook,
103 pagellant,termesnt,bonumnt,scholant] [\s!name]
104 \definefontsynonym [\s!Serif] [\typescriptprefix{n:\typescripttwo}Regular]
105 \definefontsynonym [\s!SerifItalic] [\typescriptprefix{n:\typescripttwo}Italic]
106 \definefontsynonym [\s!SerifBold] [\typescriptprefix{n:\typescripttwo}Bold]
107 \definefontsynonym [\s!SerifBoldItalic] [\typescriptprefix{n:\typescripttwo}BoldItalic]
108 \definefontsynonym [\s!SerifSlanted] [\s!SerifItalic]
109 \definefontsynonym [\s!SerifBoldSlanted] [\s!SerifBoldItalic]
110 \definefontsynonym [\s!SerifCaps] [\typescriptprefix{n:\typescripttwo}Caps]
111 \stoptypescript
112
113 \starttypescript [\s!serif] [pagellacaps,palatinocaps,termescaps,timescaps,bonumcaps,bookmancaps,scholacaps,schoolbookcaps] [\s!name]
114 \definefontsynonym [\s!Serif] [\typescriptprefix{n:\typescripttwo}Caps]
115 \definefontsynonym [\s!SerifItalic] [\typescriptprefix{n:\typescripttwo}ItalicCaps]
116 \definefontsynonym [\s!SerifBold] [\typescriptprefix{n:\typescripttwo}BoldCaps]
117 \definefontsynonym [\s!SerifBoldItalic] [\typescriptprefix{n:\typescripttwo}BoldItalicCaps]
118 \definefontsynonym [\s!SerifSlanted] [\s!SerifItalic]
119 \definefontsynonym [\s!SerifBoldSlanted] [\s!SerifBoldItalic]
120 \stoptypescript
121
122 \starttypescript [\s!serif] [chorus,chancery] [\s!name]
123 \definefontsynonym [\s!Serif] [TeXGyreChorusMediumItalic]
124 \definefontsynonym [\s!SerifItalic] [\s!Serif]
125 \definefontsynonym [\s!SerifBold] [\s!Serif]
126 \definefontsynonym [\s!SerifBoldItalic] [\s!Serif]
127 \definefontsynonym [\s!SerifSlanted] [\s!Serif]
128 \definefontsynonym [\s!SerifBoldSlanted] [\s!Serif]
129 \definefontsynonym [\s!SerifCaps] [\s!Serif]
130 \stoptypescript
131
132 \starttypescript [\s!calligraphy] [chorus,chancery] [\s!name]
133 \definefontsynonym [Calligraphy] [TeXGyreChorusMediumItalic]
134 \stoptypescript
135
136 \starttypescript [\s!sans] [heros,helvetica,adventor] [\s!name]
137 \definefontsynonym [\s!Sans] [\typescriptprefix{n:\typescripttwo}Regular]
138 \definefontsynonym [\s!SansItalic] [\typescriptprefix{n:\typescripttwo}Italic]
139 \definefontsynonym [\s!SansBold] [\typescriptprefix{n:\typescripttwo}Bold]
140 \definefontsynonym [\s!SansBoldItalic] [\typescriptprefix{n:\typescripttwo}BoldItalic]
141 \definefontsynonym [\s!SansSlanted] [\s!SansItalic]
142 \definefontsynonym [\s!SansBoldSlanted] [\s!SansBoldItalic]
143 \definefontsynonym [\s!SansCaps] [\typescriptprefix{n:\typescripttwo}Caps]
144 \stoptypescript
145
146 \starttypescript [\s!sans] [heroscaps,helveticacaps,adventorcaps] [\s!name]
147 \definefontsynonym [\s!Sans] [\typescriptprefix{n:\typescripttwo}Caps]
148 \definefontsynonym [\s!SansItalic] [\typescriptprefix{n:\typescripttwo}ItalicCaps]
149 \definefontsynonym [\s!SansBold] [\typescriptprefix{n:\typescripttwo}BoldCaps]
150 \definefontsynonym [\s!SansBoldItalic] [\typescriptprefix{n:\typescripttwo}BoldItalicCaps]
151 \definefontsynonym [\s!SansSlanted] [\s!SansItalic]
152 \definefontsynonym [\s!SansBoldSlanted] [\s!SansBoldItalic]
153 \stoptypescript
154
155 \starttypescript [\s!mono] [cursor,courier] [\s!name]
156 \definefontsynonym [\s!Mono] [\typescriptprefix{n:\typescripttwo}Regular]
157 \definefontsynonym [\s!MonoItalic] [\typescriptprefix{n:\typescripttwo}Italic]
158 \definefontsynonym [\s!MonoBold] [\typescriptprefix{n:\typescripttwo}Bold]
159 \definefontsynonym [\s!MonoBoldItalic] [\typescriptprefix{n:\typescripttwo}BoldItalic]
160 \definefontsynonym [\s!MonoSlanted] [\s!MonoItalic]
161 \definefontsynonym [\s!MonoBoldSlanted] [\s!MonoBoldItalic]
162 \definefontsynonym [\s!MonoCaps] [\typescriptprefix{n:\typescripttwo}Caps]
163 \stoptypescript
164
165 \starttypescript [\s!mono] [cursorcaps,couriercaps] [\s!name]
166 \definefontsynonym [\s!Mono] [\typescriptprefix{n:\typescripttwo}Caps]
167 \definefontsynonym [\s!MonoItalic] [\typescriptprefix{n:\typescripttwo}ItalicCaps]
168 \definefontsynonym [\s!MonoBold] [\typescriptprefix{n:\typescripttwo}BoldCaps]
169 \definefontsynonym [\s!MonoBoldItalic] [\typescriptprefix{n:\typescripttwo}BoldItalicCaps]
170 \definefontsynonym [\s!MonoSlanted] [\s!MonoItalic]
171 \definefontsynonym [\s!MonoBoldSlanted] [\s!MonoBoldItalic]
172 \stoptypescript
173
174
175
176
177
178 \starttypescript [termes,termesnt,times]
179 \definetypeface [\typescriptone] [\s!rm] [\s!serif] [\typescriptone] [\s!default]
180 \definetypeface [\typescriptone] [\s!ss] [\s!sans] [helvetica] [\s!default] [\s!rscale=0.9]
181 \definetypeface [\typescriptone] [\s!tt] [\s!mono] [modern] [\s!default] [\s!rscale=1.05]
182 \stoptypescript
183 \starttypescript [termes,times]
184 \definetypeface [\typescriptone] [\s!mm] [\s!math] [termes] [\s!default]
185 \quittypescriptscanning
186 \stoptypescript
187 \starttypescript [termesnt]
188 \definetypeface [\typescriptone] [\s!mm] [\s!math] [termesnt] [\s!default]
189 \quittypescriptscanning
190 \stoptypescript
191
192 \starttypescript [pagella,pagellant,palatino]
193 \definetypeface [\typescriptone] [\s!rm] [\s!serif] [\typescriptone] [\s!default]
194 \definetypeface [\typescriptone] [\s!ss] [\s!sans] [modern] [\s!default] [\s!rscale=1.075]
195 \definetypeface [\typescriptone] [\s!tt] [\s!mono] [modern] [\s!default] [\s!rscale=1.075]
196 \stoptypescript
197 \starttypescript [pagella,palatino]
198 \definetypeface [\typescriptone] [\s!mm] [\s!math] [pagella] [\s!default]
199 \quittypescriptscanning
200 \stoptypescript
201 \starttypescript [pagellant]
202 \definetypeface [\typescriptone] [\s!mm] [\s!math] [pagellant] [\s!default]
203 \quittypescriptscanning
204 \stoptypescript
205
206 \starttypescript [schola,scholant,schoolbook]
207 \definetypeface [\typescriptone] [\s!rm] [\s!serif] [\typescriptone] [\s!default]
208 \definetypeface [\typescriptone] [\s!ss] [\s!sans] [modern] [\s!default] [\s!rscale=1.1]
209 \definetypeface [\typescriptone] [\s!tt] [\s!mono] [modern] [\s!default] [\s!rscale=1.1]
210 \stoptypescript
211 \starttypescript [schola,schoolbook]
212 \definetypeface [\typescriptone] [\s!mm] [\s!math] [schola] [\s!default]
213 \quittypescriptscanning
214 \stoptypescript
215 \starttypescript [scholant]
216 \definetypeface [\typescriptone] [\s!mm] [\s!math] [scholant] [\s!default]
217 \quittypescriptscanning
218 \stoptypescript
219
220 \starttypescript [bonum,bonumnt,bookman]
221 \definetypeface [\typescriptone] [\s!rm] [\s!serif] [\typescriptone] [\s!default]
222 \definetypeface [\typescriptone] [\s!ss] [\s!sans] [modern] [\s!default] [\s!rscale=1.1]
223 \definetypeface [\typescriptone] [\s!tt] [\s!mono] [modern] [\s!default] [\s!rscale=1.1]
224 \stoptypescript
225 \starttypescript [bookman,bonum]
226 \definetypeface [\typescriptone] [\s!mm] [\s!math] [bonum] [\s!default]
227 \quittypescriptscanning
228 \stoptypescript
229 \starttypescript [bonumnt]
230 \definetypeface [\typescriptone] [\s!mm] [\s!math] [bonumnt] [\s!default]
231 \quittypescriptscanning
232 \stoptypescript
233
234 \starttypescript [chancery,chorus]
235 \definetypeface [\typescriptone] [\s!rm] [\s!serif] [\typescriptone] [\s!default]
236 \definetypeface [\typescriptone] [\s!ss] [\s!sans] [modern] [\s!default]
237 \definetypeface [\typescriptone] [\s!tt] [\s!mono] [modern] [\s!default]
238 \definetypeface [\typescriptone] [\s!mm] [\s!math] [modern] [\s!default]
239 \quittypescriptscanning
240 \stoptypescript
241
242 \starttypescript [helvetica,heros]
243 \definetypeface [\typescriptone] [\s!ss] [\s!sans] [\typescriptone] [\s!default]
244 \definetypeface [\typescriptone] [\s!rm] [\s!serif] [modern] [\s!default] [\s!rscale=1.15]
245 \definetypeface [\typescriptone] [\s!tt] [\s!mono] [modern] [\s!default] [\s!rscale=1.15]
246 \definetypeface [\typescriptone] [\s!mm] [\s!math] [modern] [\s!default] [\s!rscale=1.15]
247 \quittypescriptscanning
248 \stoptypescript
249
250 \starttypescript [avantgarde,adventor]
251 \definetypeface [\typescriptone] [\s!ss] [\s!sans] [adventor] [\s!default]
252 \definetypeface [\typescriptone] [\s!rm] [\s!serif] [modern] [\s!default] [\s!rscale=1.15]
253 \definetypeface [\typescriptone] [\s!tt] [\s!mono] [modern] [\s!default] [\s!rscale=1.15]
254 \definetypeface [\typescriptone] [\s!mm] [\s!math] [modern] [\s!default]
255 \quittypescriptscanning
256 \stoptypescript
257
258 \starttypescript [courier,cursor]
259 \definetypeface [\typescriptone] [\s!tt] [\s!mono] [\typescriptone] [\s!default]
260 \definetypeface [\typescriptone] [\s!rm] [\s!serif] [modern] [\s!default]
261 \definetypeface [\typescriptone] [\s!ss] [\s!sans] [modern] [\s!default]
262 \definetypeface [\typescriptone] [\s!mm] [\s!math] [modern] [\s!default]
263 \quittypescriptscanning
264 \stoptypescript
265
266\stoptypescriptcollection
267
268
269
270
271
272\ifcase\contextlmtxmode \else
273 \disablemode[pxmath]
274 \disablemode[txmath]
275\fi
276
277\startmode[txmath]
278
279 \starttypescriptcollection[texgyremathtermes]
280
281 \starttypescript [\s!math][termes,times][\s!all]
282 \loadfontgoodies[txmath]
283 \definefontsynonym[\s!MathRoman][txmath@txmath]
284
285 \stoptypescript
286
287 \stoptypescriptcollection
288
289\stopmode
290
291\startnotmode[txmath]
292
293 \starttypescriptcollection[texgyremathtermes]
294
295 \starttypescript [\s!math][termes,termesnt,times][\s!all]
296 \checkedmapfontsize[\typescripttwo][\s!script] [.70]
297 \checkedmapfontsize[\typescripttwo][\s!scriptscript][.50]
298 \stoptypescript
299 \starttypescript [\s!math][termes,times][\s!all]
300 \definefontsynonym[\s!MathRoman] [file:texgyretermesmath.otf][\s!features={\s!math\mathsizesuffix,termes:mathextra,mathextra},\s!goodies=termesmath]
301 \definefontsynonym[\s!MathRomanBold][file:texgyretermesmath.otf][\s!features={\s!math\mathsizesuffix,termes:mathextra,termesmathbold,mathextra},\s!goodies=termesmath]
302 \stoptypescript
303 \starttypescript [\s!math][termesnt][\s!all]
304 \definefontsynonym[\s!MathRoman] [file:texgyretermesmath.otf][\s!features={\s!math\mathsizesuffix,termes:mathextra,mathextra}]
305 \definefontsynonym[\s!MathRomanBold][file:texgyretermesmath.otf][\s!features={\s!math\mathsizesuffix,termes:mathextra,termesmathbold,mathextra}]
306 \stoptypescript
307
308 \stoptypescriptcollection
309
310\stopnotmode
311
312\startmode[pxmath]
313
314 \starttypescriptcollection[texgyremathpagella]
315
316 \starttypescript [\s!math][palatino,pagella][\s!all]
317 \loadfontgoodies[pxmath]
318 \definefontsynonym[\s!MathRoman][pxmath@pxmath]
319
320 \stoptypescript
321
322 \stoptypescriptcollection
323
324\stopmode
325
326\startnotmode[pxmath]
327
328 \starttypescriptcollection[texgyremathpagella]
329
330 \starttypescript [\s!math][pagella,pagellant,palatino]
331 \checkedmapfontsize[\typescripttwo][\s!script] [.74]
332 \checkedmapfontsize[\typescripttwo][\s!scriptscript][.55]
333 \stoptypescript
334 \starttypescript [\s!math][pagella,palatino][\s!all]
335 \definefontsynonym[\s!MathRoman] [file:texgyrepagellamath.otf][\s!features={\s!math\mathsizesuffix,pagella:mathextra,mathextra},\s!goodies=pagellamath]
336 \definefontsynonym[\s!MathRomanBold][file:texgyrepagellamath.otf][\s!features={\s!math\mathsizesuffix,pagella:mathextra,pagellamathbold,mathextra},\s!goodies=pagellamath]
337 \stoptypescript
338 \starttypescript [\s!math][pagellant][\s!all]
339 \definefontsynonym[\s!MathRoman] [file:texgyrepagellamath.otf][\s!features={\s!math\mathsizesuffix,pagella:mathextra,mathextra}]
340 \definefontsynonym[\s!MathRomanBold][file:texgyrepagellamath.otf][\s!features={\s!math\mathsizesuffix,pagella:mathextra,pagellamathbold,mathextra}]
341 \stoptypescript
342
343 \stoptypescriptcollection
344
345\stopnotmode
346
347\starttypescriptcollection[texgyremathbonum]
348
349 \starttypescript [\s!math][bonum,bonumnt,bookman][\s!all]
350 \checkedmapfontsize[\typescripttwo][\s!script] [.70]
351 \checkedmapfontsize[\typescripttwo][\s!scriptscript][.55]
352 \stoptypescript
353 \starttypescript [\s!math][bonum,bookman][\s!all]
354 \definefontsynonym[\s!MathRoman] [file:texgyrebonummath.otf][\s!features={\s!math\mathsizesuffix,bonum:mathextra,mathextra},\s!goodies=bonummath]
355 \definefontsynonym[\s!MathRomanBold][file:texgyrebonummath.otf][\s!features={\s!math\mathsizesuffix,bonum:mathextra,bonummathbold,mathextra},\s!goodies=bonummath]
356 \stoptypescript
357 \starttypescript [\s!math][bonumnt][\s!all]
358 \definefontsynonym[\s!MathRoman] [file:texgyrebonummath.otf][\s!features={\s!math\mathsizesuffix,bonum:mathextra,mathextra}]
359 \definefontsynonym[\s!MathRomanBold][file:texgyrebonummath.otf][\s!features={\s!math\mathsizesuffix,bonum:mathextra,bonummathbold,mathextra}]
360 \stoptypescript
361
362\stoptypescriptcollection
363
364\starttypescriptcollection[texgyremathschola]
365
366 \starttypescript [\s!math][schola,scholant,schoolbook][\s!all]
367 \checkedmapfontsize[\typescripttwo][\s!script] [.77]
368 \checkedmapfontsize[\typescripttwo][\s!scriptscript][.60]
369 \stoptypescript
370 \starttypescript [\s!math][schola,schoolbook][\s!all]
371 \definefontsynonym[\s!MathRoman] [file:texgyrescholamath.otf][\s!features={\s!math\mathsizesuffix,schola:mathextra,mathextra},\s!goodies=scholamath]
372 \definefontsynonym[\s!MathRomanBold][file:texgyrescholamath.otf][\s!features={\s!math\mathsizesuffix,schola:mathextra,scholamathbold,mathextra},\s!goodies=scholamath]
373 \stoptypescript
374 \starttypescript [\s!math][scholant][\s!all]
375 \definefontsynonym[\s!MathRoman] [file:texgyrescholamath.otf][\s!features={\s!math\mathsizesuffix,schola:mathextra,mathextra}]
376 \definefontsynonym[\s!MathRomanBold][file:texgyrescholamath.otf][\s!features={\s!math\mathsizesuffix,schola:mathextra,scholamathbold,mathextra}]
377 \stoptypescript
378
379\stoptypescriptcollection
380 |