summaryrefslogtreecommitdiff
path: root/tex/generic/context/luatex/luatex-test.tex
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2014-05-18 00:15:13 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2014-05-18 00:15:13 +0200
commitcd12b5497dc4a12dc33751a0deffda08b26bcbcd (patch)
tree0f4d1084f5f38e0cc60a617c58afc3ef94e1e6a5 /tex/generic/context/luatex/luatex-test.tex
parent7efbfd1d82c215c154a4840a906e0aa55e07ed0e (diff)
downloadcontext-cd12b5497dc4a12dc33751a0deffda08b26bcbcd.tar.gz
2014-05-17 23:48:00
Diffstat (limited to 'tex/generic/context/luatex/luatex-test.tex')
-rw-r--r--tex/generic/context/luatex/luatex-test.tex26
1 files changed, 26 insertions, 0 deletions
diff --git a/tex/generic/context/luatex/luatex-test.tex b/tex/generic/context/luatex/luatex-test.tex
index fbf8ce3cf..b822af668 100644
--- a/tex/generic/context/luatex/luatex-test.tex
+++ b/tex/generic/context/luatex/luatex-test.tex
@@ -84,4 +84,30 @@ $$\sqrt {2} { { {1} \over { {1} \over {x} } } } $$
\cows Hello World!
+% math test
+
+\latinmodern
+
+\def\sqrt{\Uroot "0 "221A{}}
+
+\def\root#1\of{\Uroot "0 "221A{#1}}
+
+Inline $\sqrt{x}{1.2}$ math. % same for $\root n of x$
+
+$\root3\of x$
+
+$\sin{x}$
+
+\lucidabright
+
+\def\sqrt{\Uroot "0 "221A{}}
+
+\def\root#1\of{\Uroot "0 "221A{#1}}
+
+Inline $\sqrt{x}{1.2}$ math. % same for $\root n of x$
+
+$\root3\of x$
+
+$\sin{x}$
+
\end