# [luatex] Wrong placement of \int\limits in Lua(La)TeX

Simon May simon.b.may at gmail.com
Tue Mar 3 20:03:33 CET 2015

Hello,

with unicode-math and LuaLaTeX, the placement of the limits using
\int\limits is incorrect. The limits are placed too far to the right. As
https://tex.stackexchange.com/a/103925/51235
this issue does not occur with XeTeX. There is also a bug at
http://tracker.luatex.org/view.php?id=729
that might refer to this same issue. Is this indeed a bug in LuaTeX and
are there perhaps any workarounds?
I'm using LuaTeX beta-0.79.1 (TeX Live 2014/Debian) (rev 4971).

Below is a demonstration of this issue. Producing the document will show
the incorrect placement of the limits. Removing the line
"\usepackage{unicode-math}" will show the expected output.

\documentclass{scrartcl}
\usepackage{unicode-math}
\begin{document}
$\int_a^b \int\limits_a^b$
\end{document}

Out of interest: Using unicode-math (even without limits) does not
produce the same output in the example as the same document without
unicode-math. The the size of the integral sign and the spacing of the
limits changes slightly. Is this intended/expected?

Regards,
Simon May
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x6C294338.asc
Type: application/pgp-keys
Size: 69062 bytes
Desc: not available
URL: <http://tug.org/pipermail/luatex/attachments/20150303/1081f38f/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://tug.org/pipermail/luatex/attachments/20150303/1081f38f/attachment-0003.bin>