I am using the "TeX Gyre Termes Math" font in my document. My problem is that when I use the \xRightarrow command to write text above the arrow, the arrowhead and the body are not aligned and are displayed irregularly.
\documentclass{article}\usepackage{unicode-math,mathtools}\setmathfont{TeX Gyre Termes Math}\begin{document} \[A \xRightarrow{\times(-1)} B\]\end{document}Note that this problem is fixed if I change the document font to "STIX Two Math" or "XITS Math", but I don't want to use these fonts. What is the solution to this problem?
