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

\coloneq is not displaying as expected #3340

Open
cmcisaac6 opened this issue Mar 4, 2025 · 1 comment
Open

\coloneq is not displaying as expected #3340

cmcisaac6 opened this issue Mar 4, 2025 · 1 comment
Labels
Accepted Issue has been reproduced by MathJax team Merged Merged into develop branch v3
Milestone

Comments

@cmcisaac6
Copy link

Issue Summary

coloneq is not displaying as expected. It's definition by mathtools was updated in 2022.

Steps to Reproduce:

In the Mathjax demo, type the following:

$\require{mathtools}$
$A\coloneq B$

Image

Expected output is that it is equivalent to \coloneqq i.e. it looks like :=

This can be seen in the equivalent LaTeX minimal example, for example shown here on Overleaf

Image

Context

It seems that the mathtools package previously defined \coloneq as :-. But this was changed in 2022 due to clashing with another package See latex3/unicode-math#142 (comment) and the documentation in section 3.7.3 on CTAN for more details.

Technical details:

  • MathJax Version: 3.2.3
  • Client OS: Mac OS 14.3
  • Browser: Chrome 133.0.6943.142 (Official Build) (arm64)
@dpvc
Copy link
Member

dpvc commented Mar 4, 2025

Our current mathtools package predates the 2022 and 2024 changes to the actual TeX package, so don't have this updates, as you have discovered. This is corrected in mathjax/MathJax-src#1213 which will be part of the beta.8 release of v4.0 coming soon. It will include an option to select which of the two sets of names to use.

@dpvc dpvc added Accepted Issue has been reproduced by MathJax team Merged Merged into develop branch v3 labels Mar 4, 2025
@dpvc dpvc added this to the v4.0 milestone Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Issue has been reproduced by MathJax team Merged Merged into develop branch v3
Projects
None yet
Development

No branches or pull requests

2 participants