diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2010-06-14 10:40:44 +0300 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2010-06-14 10:41:12 +0300 |
commit | 56bfa6694124a5ff1d91dce903958cb12061a797 (patch) | |
tree | b40f5bb199549b940a9ca03f7abd5c1af2a3c056 /tests | |
parent | 01023cf94a72f03d93c0204807fd914049cbeaec (diff) | |
download | luaotfload-56bfa6694124a5ff1d91dce903958cb12061a797.tar.gz |
Populate MathConstants table
A temporary fix.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/math.tex | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/math.tex b/tests/math.tex new file mode 100644 index 0000000..6157fd5 --- /dev/null +++ b/tests/math.tex @@ -0,0 +1,20 @@ +% start out with plain.tex, +% having TFM-based CM fonts preloaded in \fam 0...3 + +% 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 +\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}$$ +\bye + |