[XeTeX] Problems with spacing in math formulae
Christian Pech
cpech at freenet.de
Tue Oct 19 21:14:53 CEST 2010
Hello,
I already reported this problem a week ago, but maybe the message got lost.
The following latex-file produces wrong spacing when compiled with xelatex, but proper spacing when compiled with lualatex.
\documentclass{article}
\usepackage{fontspec}
\setmainfont{CMU Serif}
\usepackage[math-style=upright,vargreek-shape=TeX]{unicode-math}
\setmathfont{Neo Euler}
\begin{document}
\[ \sum_{i=1}^n \ldots\]
\end{document}
The result with xelatex looks as follows:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sumxelatex.pdf
Type: application/pdf
Size: 4382 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20101019/0f2af366/attachment-0002.pdf>
-------------- next part --------------
while the result with lualatex look as follows:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sumlualatex.pdf
Type: application/pdf
Size: 5627 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20101019/0f2af366/attachment-0003.pdf>
-------------- next part --------------
The obvious workaround, namely to use lualatex, is not good for me. I am actively using the input-mapping feature of xetex for editing a cyrillic (serbian) book that is written in latinica.
Does anybody have an idea, what is going on, and how I can circumvent the problem in xelatex?
Many thanks,
Christian
More information about the XeTeX
mailing list