or in plain
\input luaotfload.sty
\font\lm="[latinmodern-math.otf]:mode=base;script=math;language=dflt; at
10.0pt]"
\font\lms="[latinmodern-math.otf]:mode=base;script=math;language=dflt; at
7.0pt]"
\font\lmss="[latinmodern-math.otf]:mode=base;script=math;language=dflt; at
5.0pt]"
\textfont0=\lm
\scriptfont0=\lms
\scriptscriptfont0=\lmss
\textfont1=\lm
\scriptfont1=\lms
\scriptscriptfont1=\lmss
\textfont2=\lm
\scriptfont2=\lms
\scriptscriptfont2=\lmss
\textfont3=\lm
\scriptfont3=\lms
\scriptscriptfont3=\lmss
\Umathchardef\int 1 3 "222B
$$
\int\limits_{hmmmmmm}\int\limits_{hmmmmmm}
$$
\bye
On Fri, 13 Feb 2026 at 23:20, David Carlisle <[email protected]> wrote:
>
> It seems to see most of the subscript width but always allows some
> over-shoot
>
> a simpler example is
>
> \documentclass{article}
>
> \usepackage{unicode-math}
>
> \begin{document}
>
> \[
> \int\limits_{hmmmmmm}\int\limits_{hmmmmmm}
> \]
>
>
> \end{document}
>
>
> [image: image.png]
>
> which previously gave
>
> [image: image.png]
>
>
> David
>
>
> On Fri, 13 Feb 2026 at 20:37, Max Hullmann <
> [email protected]> wrote:
>
>> Hello together,
>>
>>
>>
>> there seems to be a spacing issue with the recent lualatex version (This
>> is LuaHBTeX, Version 1.24.0 (MiKTeX 26.1) (format=lualatex 2026.2.13) 13
>> FEB 2026 20:31):
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Code:
>>
>>
>>
>> \documentclass{*scrartcl*}
>>
>>
>>
>> \usepackage{unicode-math}
>>
>> \setmathfont{*Latin* Modern *Math*}[math-style=TeX]
>>
>>
>>
>> \begin{document}
>>
>> \begin{equation}
>>
>> \int\limits_{-b/2}^{b/2} \int\limits_{-b/2}^{b/2}
>>
>> \end{equation}
>>
>>
>>
>> \end{document}
>>
>>
>>
>>
>>
>> Maybe someone can resolve this.
>>
>>
>>
>> Kind regards,
>>
>> Max
>>
>