for example, load mtpro2 and XITS-Math for different paragraph

But it seems, mtpro2 und unicode-math can not be loaded together

Error like:

LaTeX error: "kernel/command-already-defined"
! Control sequence \notsimeq already defined.

My code

\setmainfont{Source Serif Pro}  

\usepackage{unicode-math} % to use \setmathfont

    Source Serif Pro $f=|a|/3$ with mtpro2 \\

  {\setmathfont[StylisticSet=1]{XITS Math}
    Source Serif Pro $f=|a|/3$ with XITS Math}

  • 2
    When you load unicode-math you give up with legacy math management.
    – egreg
    Oct 3 '18 at 9:19

To use a legacy math font such as mtpro2 with a TrueType or OpenType text font, load mathspec rather than unicode-math.

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.