summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/unicode-math/testfiles/F-slash-delim-2.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/unicode-math/testfiles/F-slash-delim-2.ltx')
-rw-r--r--Master/texmf-dist/source/latex/unicode-math/testfiles/F-slash-delim-2.ltx26
1 files changed, 26 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/unicode-math/testfiles/F-slash-delim-2.ltx b/Master/texmf-dist/source/latex/unicode-math/testfiles/F-slash-delim-2.ltx
new file mode 100644
index 00000000000..5d62e1a15ed
--- /dev/null
+++ b/Master/texmf-dist/source/latex/unicode-math/testfiles/F-slash-delim-2.ltx
@@ -0,0 +1,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} \ No newline at end of file