[XeTeX] Bug with underbrace

Ulrike Fischer news3 at nililand.de
Thu Nov 4 15:59:53 CET 2010

Am Wed, 03 Nov 2010 07:44:07 +0100 schrieb Tobias Schoel:

> Hi,
> \underbrace is doing strange things. Minimal example:
> \documentclass{minimal}
> \usepackage{fontspec}
> \usepackage{unicode-math}
> \setmainfont{TeX Gyre Pagella}
> \setmathfont{Asana Math}
> \begin{document}
> \[\underbrace{123}_{456}\]
> \end{document}
> Why is that and how to help?

With xetex \underbrace use internally the commands \bracelu,
\braceld and they simply don't give the correct glyphs with a
unicode-math font. That's certainly a problem unicode-math should
correct somehow (I don't know if the needed glyphs exists in the

With luatex \underbrace seems to use \luatexUdelimiterunder, but I
don't know if the fact that the brace is above instead of below the
numbers indicates a luatex bug or wrong use of the luatex command on
the side of unicode-math.

Ulrike Fischer 

More information about the XeTeX mailing list