What exactly is involved with setting up delimiters with XeTeX, Unicode, and OpenType fonts? I found this answer https://tex.stackexchange.com/a/692859/224317 which looks promising. I have also looked at \Udelcode, \Udelcodenum, and \Udelimiter, but cannot seem to find an example of how to set these up. I am not using unicode-math because I am using mtpro2. Is the "recipe" for resizing part of the font or is unicode-math required? StixTwoMath-Regular.otf has a number of nice delimiters. I was surprised that the double-parentheses (crescents) are resizable, so this gives me hope, but examples are scarce or nonexistent.
Asked
Active
Viewed 48 times
0
Mike Pugh
- 95
1 Answers
1
If you must...
\documentclass{article}
% luatex \font\x="StixTwoMath:mode=base;script=math;language=dflt;"
\font\x="[STIXTwoMath-Regular]"
\newfam\stx
\textfont\stx=\x
\Umathcode"2985 4 \stx "2985
\Umathcode"2986 5 \stx "2986
\Udelcode"2985 \stx "2985
\Udelcode"2986 \stx "2986
\begin{document}
$⦅x⦆ \Biggl⦅x\Biggr⦆$
\end{document}
David Carlisle
- 757,742

mtpro2.styattempts to redefine a great many commands and going about it this way seemed like the lesser of two evils. Plus, I want to have more than one of each type of character set available at once (a double struck and a sans blackboard, for example) and I suspect that I would still need to do some of this add-on coding even if I somehow managed to do as you say. And once I get this fully functioning, I will not have to worry about it in the future. – Mike Pugh Aug 07 '23 at 20:56