diff --git a/doc/users/next_whats_new/mathtext_relation_operators.rst b/doc/users/next_whats_new/mathtext_relation_operators.rst new file mode 100644 index 000000000000..7bc7f47bdddc --- /dev/null +++ b/doc/users/next_whats_new/mathtext_relation_operators.rst @@ -0,0 +1,9 @@ +``mathtext`` operators +---------------------- + +There has been a number of operators added and corrected when a Unicode font is used. +In addition, correct spacing has been added to a number of the previous operators. +Especially, the characters used for ``\gnapprox``, ``\lnapprox``, ``\leftangle``, and +``\rightangle`` have been corrected. + +All supported operators can be seen at :ref:`mathtext`. diff --git a/lib/matplotlib/_mathtext_data.py b/lib/matplotlib/_mathtext_data.py index a43c834ea31a..8ed969fb6002 100644 --- a/lib/matplotlib/_mathtext_data.py +++ b/lib/matplotlib/_mathtext_data.py @@ -489,8 +489,8 @@ 'succnapprox' : 0x2aba, 'subsetneqq' : 0x2acb, 'supsetneqq' : 0x2acc, - 'lnapprox' : 0x2ab9, - 'gnapprox' : 0x2aba, + 'lnapprox' : 0x2a89, + 'gnapprox' : 0x2a8a, 'longleftarrow' : 0x27f5, 'longrightarrow' : 0x27f6, 'longleftrightarrow' : 0x27f7,