summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/unicode-math/testfiles/F-range-prime-check.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/unicode-math/testfiles/F-range-prime-check.ltx')
-rw-r--r--Master/texmf-dist/source/latex/unicode-math/testfiles/F-range-prime-check.ltx17
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/unicode-math/testfiles/F-range-prime-check.ltx b/Master/texmf-dist/source/latex/unicode-math/testfiles/F-range-prime-check.ltx
new file mode 100644
index 00000000000..3181d7b8f79
--- /dev/null
+++ b/Master/texmf-dist/source/latex/unicode-math/testfiles/F-range-prime-check.ltx
@@ -0,0 +1,17 @@
+%
+% See http://github.com/wspr/unicode-math/issues/171
+%
+% The fix is related to the fact that primes use the `mathactive'
+% section of the unicode-math code, which is now controlled by
+% the parsing range feature (as it always should have been).
+
+\input{umtest-preamble}
+\usepackage{unicode-math}
+\setmathfont[Colour=FF0000]{xits-math.otf}
+\setmathfont
+ [range=\mathop,Colour=0000FF]
+ {xits-math.otf}
+
+\begin{document}
+\[ f(x) = \int f'(x) dx \]
+\end{document}