[XeTeX] Problems with spacing in math formulae

Ross Moore ross.moore at mq.edu.au
Tue Oct 19 23:22:09 CEST 2010


Hi Christian, and others

On 20/10/2010, at 6:14 AM, Christian Pech wrote:

> 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,

I confirm the bad layout, as reported below.
This is using freshly download versions of  unicode-math
and  euler.otf .

> 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:
> 
> 
> <sumxelatex.pdf>
> 
> while the result with lualatex look as follows:
> 
> <sumlualatex.pdf>
> 
> 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


Cheers,

	Ross

------------------------------------------------------------------------
Ross Moore                                       ross.moore at mq.edu.au 
Mathematics Department                           office: E7A-419      
Macquarie University                             tel: +61 (0)2 9850 8955
Sydney, Australia  2109                          fax: +61 (0)2 9850 8114
------------------------------------------------------------------------






More information about the XeTeX mailing list