Unicode Z notation brackets

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.

• 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 '19 at 11:17
• The external links are pointing to a Unicode directory to point to some official definition of these characters. – Gergely Jul 8 '19 at 11:36

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.

• What is the purpose of the third \setmathfont? – Harald Hanche-Olsen Jul 8 '19 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 '19 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 '19 at 12:29
• Did you try my code? – Ulrike Fischer Jul 8 '19 at 12:32
• Indeed, I got the same error message, I tried naming the font STIX2Math afterwards. – Gergely Jul 8 '19 at 12:33