I managed to successfully hack mathspec to use parentheses () and brackets [] from the specified font via e.g.
\DeclareMathSymbol{]}{\mathord}{\eu@DigitsArabic@symfont}{`]}
Obviously, I'd like to do the same thing with braces {}, but \DeclareMathSymbol{\{}... causes XeLaTeX to throw the following error:
! Latex Error: Command '\{' already defined.
I was half-expecting this to happen all along to be honest. Does anyone know how to make this work?
\DeclareMathDelimiter. I'm just looking to replace the basic-sized ones. Relevant code:\usepackage{eulervm} \usepackage{mathspec} \setmathfont(Digits)[Numbers={Lining,Proportional}]{Optima nova LT Pro}I've hacked mathspec.sty itself to include brackets as "Digits". – Saran Tunyasuvunakool May 08 '12 at 10:42\DeclareMathSymbol, you can always just\let\lbrace\relax, but I still think you should use\DeclareMathDelimiter: LaTeX needs to know what to do in the case of delimiters: maybe fallback to Euler? I must admit I am having difficulty doing that though.\DeclareMathDelimiterwill automatically set the symbol too. – mforbes May 08 '12 at 19:19