Skip to content

Commit 1b8516f

Browse files
authored
Update definitions-utils.ts to fix \coloneq symbol (#2575)
-fixed \colonq symbol to use the character `2245` which is the correct quivalent to `:=` (as used on the legacy \coloneqq according to the current mathtools package: https://ftpmirror1.infania.net/mirror/CTAN/macros/latex/contrib/mathtools/mathtools.pdf
1 parent 0786012 commit 1b8516f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/latex-commands/definitions-utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,8 @@ const DEFAULT_MACROS: MacroDictionary = {
297297
coloneqq: '{\\mathop{\\char"2254}}', // ≔
298298
// \providecommand*\Coloneqq{\dblcolon\mathrel{\mkern-1.2mu}=}
299299
Coloneqq: '{\\mathop{\\char"2237\\char"3D}}',
300-
// \providecommand*\coloneq{\vcentcolon\mathrel{\mkern-1.2mu}\mathrel{-}}
301-
coloneq: '{\\mathop{\\char"3A\\char"2212}}',
300+
// \providecommand*\coloneq{\vcentcolon\mathrel{\mkern-1.2mu}=}
301+
coloneq: '{\\mathop{\\char"2254}}', // ≔
302302
// \providecommand*\Coloneq{\dblcolon\mathrel{\mkern-1.2mu}\mathrel{-}}
303303
Coloneq: '{\\mathop{\\char"2237\\char"2212}}',
304304
// \providecommand*\eqqcolon{=\mathrel{\mkern-1.2mu}\vcentcolon}

0 commit comments

Comments
 (0)