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