mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-07 08:09:01 +02:00
Merge pull request #25118 from overleaf/mj-coloneq
[web] Redefine coloneq to coloneqq in mathjax GitOrigin-RevId: 1797acff022d45e89bcec518905cf53cbc45825e
This commit is contained in:
committed by
Copybot
parent
5fec16153b
commit
447be67f78
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user