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\definefontfeature
35 [stixtwomath]
36 [ss02=yes]
37
38\definefontfeature[stixtwomath][copymathscripts=yes]
39
40\starttypescriptcollection[stix]
41
42 \doifunknownfontfeature {stixtwomathbold} {\definefontfeature[stixtwomathbold][boldened]}
43
44 \starttypescript [\s!math] [stix,stixtwo,stixnt,stixtwont,xits]
45 \checkedmapfontsize[\typescripttwo][\s!script] [.70]
46 \checkedmapfontsize[\typescripttwo][\s!scriptscript][.55]
47 \stoptypescript
48
49 \starttypescript [\s!math] [stix,stixtwo,xits] [\s!name]
50 \definefontsynonym[\s!MathRoman] [\s!file:stixtwomathregular.ttf][\s!features={\s!math\mathsizesuffix,stixtwomath,stixtwo:mathextra,mathextra},\s!goodies=stixtwomath]
51 \definefontsynonym[\s!MathRomanBold][\s!file:stixtwomathregular.ttf][\s!features={\s!math\mathsizesuffix,stixtwomathbold,stixtwomath,stixtwo:mathextra,mathextra},\s!goodies=stixtwomath]
52 \stoptypescript
53
54 \starttypescript [\s!math] [stixnt,stixtwont] [\s!name]
55 \definefontsynonym[\s!MathRoman][\s!file:stixtwomathregular.ttf][\s!features={\s!math\mathsizesuffix,stixtwomath,stixtwo:mathextra,mathextra}]
56 \definefontsynonym[\s!MathRomanBold][\s!file:stixtwomathregular.ttf][\s!features={\s!math\mathsizesuffix,stixtwomathbold,stixtwomath,stixtwo:mathextra,mathextra}]
57 \stoptypescript
58
59 \starttypescript [\s!serif] [stix,stixtwo,xits] [\s!name]
60 \setups[\s!font:\s!fallback:\s!serif]
61 \definefontsynonym[\s!Serif] [\s!file:stixtwotextregular.ttf] [\s!features=\s!default,\s!goodies=stixtwotext]
62 \definefontsynonym[\s!SerifBold] [\s!file:stixtwotextbold.ttf] [\s!features=\s!default,\s!goodies=stixtwotext]
63 \definefontsynonym[\s!SerifItalic] [\s!file:stixtwotextitalic.ttf] [\s!features=\s!default,\s!goodies=stixtwotext]
64 \definefontsynonym[\s!SerifBoldItalic][\s!file:stixtwotextbolditalic.ttf][\s!features=\s!default,\s!goodies=stixtwotext]
65 \stoptypescript
66
67 \starttypescript[stix,stixtwo,xits,stixnt,stixtwont]
68 \definetypeface [\typescriptone] [\s!rm] [\s!serif] [stixtwo] [\s!default]
69 \definetypeface [\typescriptone] [\s!ss] [\s!serif] [stixtwo] [\s!default]
70 \definetypeface [\typescriptone] [\s!tt] [\s!mono] [dejavu] [\s!default] [\s!rscale=0.895]
71 \stoptypescript
72 \starttypescript[stix,stixtwo,xits]
73 \definetypeface [\typescriptone] [\s!mm] [\s!math] [stixtwo] [\s!default] [\s!direction=\s!both]
74 \stoptypescript
75 \starttypescript[stixnt,stixtwont]
76 \definetypeface [\typescriptone] [\s!mm] [\s!math] [stixtwont] [\s!default] [\s!direction=\s!both]
77 \stoptypescript
78
79\stoptypescriptcollection
80 |