% see http://github.com/wspr/unicode-math/issues/212 \input{umtest-preamble} \usepackage{unicode-math} \setmathfont[Colour=FF0000]{xits-math.otf} \setmathfont [range={\mathop},Colour=0000FF] {xits-math.otf} \begin{document} \[ \underbrace{\int x dx}_{xyz} \qquad \overbrace{\int x dx}^{xyz} \] \end{document}