1
2
3
4
5
6
7
8
9
10
11
12
13
14\continueifinputfile{smathtests.mkxl}
15
16
17
18\starttext
19
20\startbuffer
21 \ruledhbox \bgroup \im {
22 \dostepwiserecurse{A}{Z}{1}{
23 \blackrule[color=darkgray,height=\the\Umathflattenedaccentbaseheight\textstyle,depth=0pt,width=0.05ts]
24 \hat{\char#1}
25 }
26 }\egroup
27\stopbuffer
28
29\startTEXpage[offset=1ts]
30 \showglyphs
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47 \switchtobodyfont[lucida]
48
49 \bgroup
50 \bitwiseflip\mathfontcontrol\ignoreflataccentsmathcontrolcode
51 \appendtoks
52 \Umathflattenedaccentbaseheight\textstyle8.67123pt
53 \to\everymathematics
54 \getbuffer\par
55 \egroup
56 \bgroup
57 \appendtoks
58 \Umathflattenedaccentbaseheight\textstyle8.67123pt
59 \to\everymathematics
60 \getbuffer\par
61 \egroup
62
63 \bgroup
64 \appendtoks
65 \Umathflattenedaccentbaseheight\textstyle8.51532pt
66 \to\everymathematics
67 \getbuffer\par
68 \egroup
69
70\stopTEXpage
71
72\startTEXpage[offset=1ts]
73
74 \definefontfeature[mathextra][]
75
76
77 \setupbodyfont[ebgaramond]
78
79 \bgroup
80 \setupmathematics[stylealternative=]
81 \im{\hbar{\hbar{\hbar}}}
82 \egroup
83 \bgroup
84 \setupmathematics[stylealternative={hbar}]
85 \im{\hbar{\hbar{\hbar}}}
86 \egroup
87 \bgroup
88 \setupmathematics[stylealternative={hbar,outbendingh}]
89 \im{\hbar{\hbar{\hbar}}}
90 \egroup
91 \bgroup
92 \setupmathematics[stylealternative={outbendingh}]
93 \im{\hbar{\hbar{\hbar}}}
94 \egroup
95
96 \definefontfeature[mathextra][]
97
98
99 \setupbodyfont[stixtwo]
100
101 \bgroup
102 \setupmathematics[stylealternative=]
103 \im{\emptyset{\emptyset{\emptyset}}}
104 \egroup
105 \bgroup
106 \setupmathematics[stylealternative={emptyset}]
107 \im{\emptyset{\emptyset{\emptyset}}}
108 \egroup
109
110\stopTEXpage
111
112\stoptext
113 |