[XeTeX] unicode-math and underbrace bug
Tobias Schoel
liesdiedatei at googlemail.com
Thu Feb 7 09:38:15 CET 2013
Hi,
I tried as well (using article instead of book and system calls instead
of filename calls) and using the intended (?) syntax of \underbrace.
Still, all fonts show sporadic shifting, but on different pages. (See
attached file)
ciao
Toscho
Am 07.02.2013 09:53, schrieb Daniel Greenhoe:
> When I use the unicode-math package and the underbrace command, I get
> sporadic errors in which the underbrace is (sporadically) shifted to
> the right. This occurs for all the math fonts that I have tried which
> include the following:
> xits-math.otf
> Asana-math.otf
> latinmodernmath-regular.otf
> texgyrepagellamath-regular.otf
> texgyretermesmath-regular.otf
>
> Here is a minimal example:
>
> \documentclass[oneside]{book}
> %
> \usepackage{unicode-math} % unicode math support
> \setmathfont{xits-math.otf}
> %\setmathfont{Asana-math.otf}
> %\setmathfont{latinmodernmath-regular.otf}
> %\setmathfont{texgyrepagellamath-regular.otf}
> %\setmathfont{texgyretermesmath-regular.otf}
> %
> \newcommand{\mcom}[2]{%
> \begin{array}[t]{c}%
> \underbrace{#1}\\%
> $#2$%
> \end{array}%
> }%
> \begin{document}%
> \[ \mcom{\sin^2x+\cos^2x=1}{a trig. identity} \]
> \[ \mcom{\sin^2x+\cos^2x=1}{a trig. identity} \]
> \[ \mcom{\sin^2x+\cos^2x=1}{a trig. identity} \]
> ...
> \end{document}
>
> Attached is a tex file and two sample output pdf files.
>
> Can anyone help me out?
>
> Many thanks in advance,
> Dan
>
>
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
> http://tug.org/mailman/listinfo/xetex
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: underbrace2.tex
Type: text/x-tex
Size: 49605 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20130207/50479ec7/attachment-0001.bin>
More information about the XeTeX
mailing list