summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/unicode-math/testfiles/umtest502b.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/unicode-math/testfiles/umtest502b.ltx')
-rw-r--r--Master/texmf-dist/source/latex/unicode-math/testfiles/umtest502b.ltx19
1 files changed, 19 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/unicode-math/testfiles/umtest502b.ltx b/Master/texmf-dist/source/latex/unicode-math/testfiles/umtest502b.ltx
new file mode 100644
index 00000000000..ab050d52225
--- /dev/null
+++ b/Master/texmf-dist/source/latex/unicode-math/testfiles/umtest502b.ltx
@@ -0,0 +1,19 @@
+\input{umtest-preamble}
+\usepackage{unicode-math}
+\begin{document}
+Default:
+\[
+(a+b)^2 = \sqrt{c+d}
+\]
+\setmathfont[range={\mathup}]{Linux Libertine}
+\setmathfont[range={\mathit}]{Linux Libertine Italic}
+Example of a non-math OpenType font:
+\[
+(a+b)^2 = \sqrt{c+d}
+\]
+With symbols:
+\setmathfont[range={`\+,`\=,`\(,`\)}]{Linux Libertine}
+\[
+(a+b)^2 = \sqrt{c+d}
+\]
+\end{document}