Hi,

On Fri, Mar 14, 2025 at 4:00 PM Cosy MUTO via luatex <luatex@tug.org> wrote:
>
> Thanks for quick repair, Luigi.
>
> Integral symbol in several fonts goes normal in Version 1.22.0, however,
> a new problem arises.
>
> With unicode-math, both upper and lower limits of definite integral are
> placed far from the integral symbol, even using the default Latin Modern.
>
> Without unicode-math, Latin Modern looks good, but NewCM does not (same
> as unicode-math case).
>
> Sample codes are:
> %-- with unicode-math
> \documentclass[fleqn]{article}
> \usepackage{unicode-math}
> \begin{document}
> With unicode-math
>
> \[ \int_a^b f(x)\,dx\quad\textrm{LM} \]
>
> \setmathfont{NewComputerModern Math}
> \[ \int_a^b f(x)\,dx\quad\textrm{NCM} \]
>
> \setmathfont{STIX Two Math}
> \[ \int_a^b f(x)\,dx\quad\textrm{STIX2} \]
> \end{document}
> %-- without unicode-math, LM
> \documentclass[fleqn]{article}
> \begin{document}
> Without unicode-math
>
> \[ \int_a^b f(x)\,dx\quad\textrm{LM} \]
> \end{document}
> %-- without unicode-math, NCM
> \documentclass[fleqn]{article}
> \usepackage{newcomputermodern}
> \begin{document}
> Without unicode-math
>
> \[ \int_a^b f(x)\,dx\quad\textrm{NCM} \]
> \end{document}

The italicsmode work was never meant for TL25. We did in fact wait
until after the release before sending it because we wanted it to be
tested and did believe that sending it in would not make it go
directly into TL. But then there was another fix (in metapost) that
likely pushed this one in as well. A pity, but I guess such things
happen.

On the good side of things, you can test \mathitalicsmode3 now that
the binary is there. That was in fact the purpose of the work: To have
a new mode that would work good in all situations. But it of course
needed testing before going into TL. (It was not the intention to
change \mathitalicsmode0, that is probably what is used in LaTeX by
default. Hopefully that will be changed into 3 in the end, if it gets
tested and eventually modified if needed).

We did ask a few people before the code freeze for examples, but got
not much response. Now that this 3 is out in the wild: It would be
good if a few people actually test it and report back if there are
still any problems with the italic correction for math in luatex.

/Mikael

Reply via email to