0

I typeset Unicode mathematical symbols using the unicode-math and the fontspec package.

For the Z notation brackets: ⦇ and ⦈

https://unicodes.smpc.io/%E2%A6%87

and

https://unicodes.smpc.io/%E2%A6%88

this package does not work.

What do you suggest to typeset these symbols?

UPDATE: I used

$⦇$ and $⦈$

to typeset these symbols. For other Unicode math symbols this worked.

  • 3
    could you add a few lines of script to explain your issue instead of redirecting us to an external link? nevertheless, the external links tend to die over time. – Raaja Jul 8 at 11:17
  • The external links are pointing to a Unicode directory to point to some official definition of these characters. – Gergely Jul 8 at 11:36
4

STIX Two Math e.g. has the symbols:

 \documentclass{book}
\usepackage{unicode-math}
\setmathfont{Latin Modern Math}
\setmathfont{STIX Two Math}[range={"2987-"2988}]
\setmathfont{Latin Modern Math}[range=\int]
\begin{document}
$ ⦇ a b ⦈ $
\end{document}

Cambria Math has it too. You can use the range option of unicode-math to mix it into your font.

enter image description here

  • What is the purpose of the third \setmathfont? – Harald Hanche-Olsen Jul 8 at 11:54
  • @HaraldHanche-Olsen to reset the math fontdimen to the one for latin modern math (but I'm not quite sure if it is still needed or if Will changed something here). – Ulrike Fischer Jul 8 at 12:01
  • I copied STIX2Math.otf from github.com/stipub/stixfonts/tree/master/OTF into my working directory but XeTeX complains about fontspec error: "font-not-found" ! The font "STIX2Math" cannot be found. What can I do? I tried \setmathfont{STIX2Math} to no avail. – Gergely Jul 8 at 12:29
  • Did you try my code? – Ulrike Fischer Jul 8 at 12:32
  • Indeed, I got the same error message, I tried naming the font STIX2Math afterwards. – Gergely Jul 8 at 12:33

Your Answer

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

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