Am Mon, 17 Feb 2025 16:33:47 +0100 schrieb luigi scarso:
> On Mon, 17 Feb 2025 at 13:36, Petr Olsak <petr@olsak.net> wrote:
>
>> Hi Luigi,
>>
>> I thought someone might be interested and might want to fix it for version
>> TeXlive 2025. At least \/ behavior fixing. I understand, that the question
>> in general (if insert italic correction at almost each end of math list or
>> not) needs more analysis and more discussion. But \/ question is simpler.
>>
>> Personally, I don't mind that it won't be right away. We can wait.
I agree with Petr that the handling of italic correction at the end
of the math is a bit of a pain. It pops up in questions and
discussions regularly. As luatex inserts it only if a character
follows, we have experimented with zero width joiner and other
options but nothing looks really natural. Eg
\documentclass{article}
\usepackage{unicode-math}
\setmathfont{XITS Math}
\begin{document}
$\mathcal{P}x \mathcal{P}$x
$\mathcal{P}\strut x \mathcal{P}\Uchar"200D$x
\end{document}
--
Ulrike Fischer
http://www.troubleshooting-tex.de/
So it's a bug even considering
7.5.5 Math italic mess
of the reference luatex.pdf ?
--
luigi