MathJax icon indicating copy to clipboard operation
MathJax copied to clipboard

`\coloneq` is not displaying as expected

Open cmcisaac6 opened this issue 11 months ago • 1 comments

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 https://github.com/latex3/unicode-math/issues/142#issue-323364 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)

cmcisaac6 avatar Mar 04 '25 13:03 cmcisaac6

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 avatar Mar 04 '25 13:03 dpvc

Fixed in v4.0

dpvc avatar Aug 13 '25 14:08 dpvc