diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2010-06-14 13:51:52 +0300 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2010-06-14 14:20:43 +0300 |
commit | 550be8c7b6ff8a0e50ac9e2f1f31d8b053b13cdf (patch) | |
tree | c1830109b5b1e70c456c126b6797c5d3633fe858 /tests/math.tex | |
parent | 56bfa6694124a5ff1d91dce903958cb12061a797 (diff) | |
download | luaotfload-550be8c7b6ff8a0e50ac9e2f1f31d8b053b13cdf.tar.gz |
Extend and simplify the test
Diffstat (limited to 'tests/math.tex')
-rw-r--r-- | tests/math.tex | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/tests/math.tex b/tests/math.tex index 6157fd5..746ca18 100644 --- a/tests/math.tex +++ b/tests/math.tex @@ -4,17 +4,23 @@ % load OT math font in \fam 4 \input luaotfload.sty \font\4={name:XITS Math:mode=base;script=math} at 10pt -\font\5={name:XITS Math:mode=base;script=math;+ssty=0} at 7pt -\font\6={name:XITS Math:mode=node;script=math;+ssty=1} at 5pt +\font\5={name:XITS Math:mode=base;script=math;ssty=0} at 7pt +\font\6={name:XITS Math:mode=node;script=math;ssty=1} at 5pt \textfont4=\4 \scriptfont4=\5 \scriptscriptfont4=\6 -% set up macros to use math font in \fam 4, just enough for this test -\def\x{\Umathchar"7 "4 "1D465 } -\def\y{\Umathchar"7 "4 "1D465 } -\def\3{\Umathchar"7 "4 "0033 } - %\tracingall -$$\Uradical "4 "221A {\x}$$ -$$\Uroot "4 "221A {\3}{\x^\3+\y^\3}$$ +$$\Uradical "4 "221A {x}$$ +$$\Uroot "4 "221A {3}{x^3+y^3}$$ + +$$ + \Udelimiterover "4 "23DE {a+b} ++ \Udelimiterunder "4 "23DF {a+b} = C +$$ + +$$ +A \mathrel{\Uoverdelimiter "4 "2192 {a+b}} +B \mathrel{\Uunderdelimiter "4 "2192 {a+b}} +$$ + \bye |