Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In TeX Live 2024, why does \substack insert a vertical gap between the lines when STIXMath-Regular is loaded? #636

Open
AlMa1r opened this issue Jun 21, 2024 · 0 comments

Comments

@AlMa1r
Copy link

AlMa1r commented Jun 21, 2024

Feeding

\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):

diffpdf output

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 .

@AlMa1r AlMa1r changed the title Why does \substack leave a vertical gap in TeX Live 2024 when STIXMath-Regular is loaded? Why does \substack insert a vertical gap in TeX Live 2024 when STIXMath-Regular is loaded? Jun 21, 2024
@AlMa1r AlMa1r changed the title Why does \substack insert a vertical gap in TeX Live 2024 when STIXMath-Regular is loaded? In TeX Live 2024, why does \substack insert a vertical gap between the lines when STIXMath-Regular is loaded? Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant