I never thought that sans serif letters are subset of the glyphs in unicode OpenType fonts, until I see this in texdoc unimath-symbols:

enter image description here

However, I cannot get the italic shape of sans serif letters in math mode by using the command \mitsans<letter>. Here is my MWE:

\setmathfont{XITS Math}
\setmathfont{XITS Math}[range=sfit]

$\msansH$  $\mitsansH$ 


enter image description here

I complied with xelatex, under the TeX Live 2015 distribution, with the newest packages before TeX Live 2015 frozen.

As you can see in the image, indeed they are sans serif, but they are of the same shape. I cannot get italic sans serif in displaystyle either. Am I doing something wrong?

  • \symsfit{H} does the thing – egreg May 2 '16 at 19:45
  • @egreg That works, thank you! So the old commands no longer work? – Spaceship May 2 '16 at 19:54
  • The command \mitsansH ought to work. This needs investigation. – egreg May 2 '16 at 20:00
  • It seem to be a unicode-math bug. To verify consider this plain TeX example and contrast it with this LaTeX example. – Henri Menke May 3 '16 at 11:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.