New answers tagged

2

Just override the declarations with the original one: \documentclass{article} \usepackage{unicode-math} \DeclareMathAlphabet{\mathcal}{OMS}{cmsy}{m}{n} \begin{document} $\mathcal{DFIP}_{\mathcal{DFIP}_{\mathcal{DFIP}}}$ \end{document} This is the output of pdffonts, showing that cmsy is used. name type ...


2

Very late answer, but you could also locally set the mathcodes of the letters to the ones plain TeX defines. Then you load the Computer Modern Calligraphic fonts and redefine \mathcal to locally switch to this family and use the “legacy” mathcodes. This solution is superior to the other answer, because you obtain proper scaling of the calligraphic letters ...


4

\pm is internally defined as "the character ±". In the listings code \pm is used in an \lccode assigment but its value is much too large. You can avoid the problem by converting \pm to a macro. This is handled differently by listings. E.g. \documentclass{article} \usepackage{unicode-math} \usepackage{listings} \usepackage{fancyvrb} \AtBeginDocument{% ...



Top 50 recent answers are included