\documentclass{article}
\pagestyle{empty}
\usepackage{unicode-math}
\setmathfont{Latin Modern Math}% “TeX Gyre Termes Math” instead of “Latin Modern Math” would do as well.
\setmathfont[Extension=.otf,range={}]{STIXMath-Regular}%%% leave the range empty or insert some unrelated Unicode codes there.
\begin{document}
\[\substack{1\\2}\]
\end{document}
to lualatexs from TeX Live 2023 and TeX Live 2024 yields the following outputs, compared with diffpdf (left=2023, right=2024):
For no good reason, a vertical gap between the lines has appeared. The same problem shows up when using inline math \(…\) instead of block math \[…\]. Is the appearance of the gap a bug or an official change of the user interface? In the latter case, how to remove the gap?
Feeding
to
lualatex
s from TeX Live 2023 and TeX Live 2024 yields the following outputs, compared withdiffpdf
(left=2023, right=2024):For no good reason, a vertical gap between the lines has appeared. The same problem shows up when using inline math
\(…\)
instead of block math\[…\]
. Is the appearance of the gap a bug or an official change of the user interface? In the latter case, how to remove the gap?Crosspost: http://tex.stackexchange.com/questions/721050 .