Open marcin-serwin opened 2 years ago
mathtools has the =versions using qq
it just documents the commands as coming from txfonts
but
\documentclass{article}
\usepackage{newtxmath}
\begin{document}
\[
a \coloneq b \Coloneq c
\]
\[
a \coloneqq b \Coloneqq c
\]
\end{document}
with three =and one -??
the older txfonts package matches mathtools
and as you say unicode-math only defines the single q versions as =.
Given the command name, unicode-math seems most reasonable, but whether we can overcome compatibility issues to get there I am not sure.
thanks for the report...
Unless I have missed It don't think Unicode has a :-
character,
:=
is U+ 2254 ∹
-:
is U+2239 ∹
::=
is U+2A74⩴
I haven't found it either.
@marcin-serwin newtxmath documents
https://mirror.apps.cam.ac.uk/pub/tex-archive/fonts/newtx/doc/newtxdoc.pdf
\coloneq and \eqcolon now point to the correct glyphs;
so I think the :-
form was an error in txfonts
copied into mathtools
and (half) corrected in newtxmath
but correct in unicode-math
So I guess it's just a matter of adding \coloneq
and \Coloneq
to the commands listed in the warning produced when mathtools
is loaded.
I will raise issues at mathtools and newtxmath, will need to decide whether to document or fix the incompatibility
Description
The
mathtools
package defines\coloneq
as:-
, while theunicode-math
defines it as:=
. The same problem also applies to\Coloneq
. This should be either mentioned in themathtools
warning or changed so that the naming is the same.Minimal example demonstrating the issue
Further details
With
Without ![image](https://user-images.githubusercontent.com/12128106/173850574-895b65a9-96d4-47a8-a8a9-6272ae5dc6cd.png)
unicode-math
unicode-math