This question already has an answer here:

Apparently Latin Modern Roman does not include it. I don't find it in the math symbols, either. I guess I could define a command changing to some other font for it, but I suspect there's a better way and I just didn't look in the right place yet?


One possible solution is the following:

[    Extension = .otf,
     BoldFont = *bold,

But apparently that will change the font for all math environments, which I am a bit hesitant to do.

marked as duplicate by egreg symbols May 9 '18 at 16:45

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • I’m pretty sure this has already been asked – egreg May 9 '18 at 15:18
  • @egreg Well, maybe, but I didn't find a question. I now found it included in the unicode-math package, but still need to find a font for it, and I wonder whether loading unicode-math would make changes to other things done via math mode. – muk.li May 9 '18 at 15:42
  • it is not a duplicate since this one is based on an issue with unicode-math and that other one does not address it, even the title is out of context, not to mention the tags on it. – Suppboi May 9 '18 at 16:50

You can define a unicode glyph range for a specific font, say

\setmathfont{Latin Modern Math}
\setmathfont[range = {"22F2-"22F2,}]{STIX Two Math}

this way only U+22F2 will be replaced by the glyph inside STIX Two Math.



% \let\latinencoding\relax

\usepackage[math-style = upright]{unicode-math}

\setmathfont{Latin Modern Math}
\setmathfont[range = {"22F2-"22F2,}]{STIX Two Math}



\( \disin text2 \)



enter image description here

Not the answer you're looking for? Browse other questions tagged or ask your own question.