summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/unicode-math/testfiles/X502b.ltx
blob: bcc6473e823aa96f9c024d63eafc3b6866dd3565 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
\input{umtest-preamble}
\usepackage{unicode-math}
\setmathfont{XITS 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}