I’m using TeXLive 2015.
Okay, so I have some sort of poltergeist in the following code. I compile it with either XeLaTeX or LuaLaTeX.
\documentclass{article}
\usepackage{
fontspec,
% mathtools,
unicode-math,
}
\setmathfont[
% range = \mathcal,
]{xits-math.otf}
\begin{document}
% $\mathtt L$
$\mathcal L$
\end{document}
The desired output – when uncommenting all lines – should be:
However, when uncommenting all lines and compiling with xelatex the script ‘L’ is missing.
I found out that (re-)commenting out any of the three lines mathtools, range = \mathcal and $\mathtt L$ will restore the script ‘L’.
Unfortunately, I have a scenario in which I need all three lines.
Also, compiling with lualatex doesn’t seem to yield any problems.
A similar question is this one, where this bug report for the unicode-math package has come up. Is that stemming from the same issue or is there something else going on here?


\setmathfont[range=\mathscr]{xits-math.otf}, the script glyph reappears. – egreg Jun 16 '16 at 08:01