diff --git a/services/web/frontend/js/features/mathjax/load-mathjax.ts b/services/web/frontend/js/features/mathjax/load-mathjax.ts index 0d9153ba56..c80d8a3d85 100644 --- a/services/web/frontend/js/features/mathjax/load-mathjax.ts +++ b/services/web/frontend/js/features/mathjax/load-mathjax.ts @@ -30,6 +30,10 @@ export const loadMathJax = async (options?: { // Implements support for the \bm command from the bm package. It bolds the argument in math mode. // https://github.com/mathjax/MathJax/issues/1219#issuecomment-341059843 bm: ['\\boldsymbol{#1}', 1], + // MathJax 3 renders \coloneq as :- whereas the mathtools package + // renders it as :=. Here we override the \coloneq macro to produce + // the := symbol. + coloneq: '\\coloneqq', }, inlineMath, displayMath: [