-
-
Notifications
You must be signed in to change notification settings - Fork 249
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
Changes in horizontal spacing in some equations #1319
Comments
In LaTeX2e 2023-11-01 (see e98027d), to make it safe in csnames, definition of active tilde was changed from \def~{\nobreakspace{}} to Lines 1229 to 1234 in 4472861
The new definition acts like There's even a code comment (added by a4df9c4) which explains why the Lines 1217 to 1220 in 4472861
I think current behavior of Also maybe math spacing commands \RequirePackage{latexbug}
\documentclass{article}
\begin{document}
Before \LaTeXe{} 2023-11-01
\begingroup
\def~{\nobreakspace{}}
\begin{equation}
-1,~ -2
\end{equation}
\endgroup
Starting from \LaTeXe{} 2023-11-01
\begin{equation}
-1,~ -2
\end{equation} |
I see, thank you so much for the detailed explanation! Should I close this issue? |
I would say so, but not the other one you opened up in colortbl because while releated that nevertheless might need some actions. |
Brief outline of the bug
The spacing of characters in some equations has changed from the TeXLive 2022 distribution to TeXLive 2023 distribution.
It seems to occur for equations using
~
with an operator like-
or\leq
.Minimal example showing the bug
Log file (required) and possibly PDF file
main.log
PDF file from TeXLive 2022:
main2022.pdf
PDF file from TeXLive 2023:
main2023.pdf
Using the diff-pdf tool to superimpose both PDF files shows the difference in alignment (red is 2022, blue is 2023):
outdiff.pdf
The text was updated successfully, but these errors were encountered: