summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/unicode-math/testfiles/X102b.ltx
blob: 5d62e1a15ed1d78745f0b375602b4d555aea96d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
\documentclass{article}
\usepackage{unicode-math}
\begin{document}
\newcommand\ARRAY[4]{%
  \begin{array}{cc}
  #1 & #2 \\ #3 & #4
  \end{array}}
\def\test{\[
 \left.\left[\ARRAY a b c d\right]
 \middle\slash
       \left[\ARRAY 1 1 1 {\mathsf 0}\right]
 \right. \]}
\setmathfont
  [slash-delimiter=frac]{Cambria Math}
\setmathfont
  [range={\mathsfup},
   Color=0000FF]
  {STIXGeneral}
\test
\setmathfont
  [slash-delimiter=frac,
   range="2044,
   Color=FF0000]
  {Cambria Math}
\test
\end{document}