Skip to content

Commit

Permalink
Update definitions-utils.ts to fix \coloneq symbol (#2575)
Browse files Browse the repository at this point in the history
-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
  • Loading branch information
Flydroid authored Jan 8, 2025
1 parent 0786012 commit 1b8516f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/latex-commands/definitions-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,8 @@ const DEFAULT_MACROS: MacroDictionary = {
coloneqq: '{\\mathop{\\char"2254}}', // ≔
// \providecommand*\Coloneqq{\dblcolon\mathrel{\mkern-1.2mu}=}
Coloneqq: '{\\mathop{\\char"2237\\char"3D}}',
// \providecommand*\coloneq{\vcentcolon\mathrel{\mkern-1.2mu}\mathrel{-}}
coloneq: '{\\mathop{\\char"3A\\char"2212}}',
// \providecommand*\coloneq{\vcentcolon\mathrel{\mkern-1.2mu}=}
coloneq: '{\\mathop{\\char"2254}}', // ≔
// \providecommand*\Coloneq{\dblcolon\mathrel{\mkern-1.2mu}\mathrel{-}}
Coloneq: '{\\mathop{\\char"2237\\char"2212}}',
// \providecommand*\eqqcolon{=\mathrel{\mkern-1.2mu}\vcentcolon}
Expand Down

0 comments on commit 1b8516f

Please sign in to comment.