Skip to content

[Bug]: \geqslant, \leqslant and \eqslantgtr are not spaced like their non-slanted versions #25042

@tfpf

Description

@tfpf

Bug summary

There should be a space on both sides of these operators.

Code for reproduction

import matplotlib.pyplot as plt
plt.text(.3, .2, r'$a\leq2$', size=40)
plt.text(.3, .4, r'$a\leqslant2$', size=40)
plt.text(.3, .6, r'$a\geqslant2$', size=40)
plt.text(.3, .8, r'$a\eqslantgtr2$', size=40)
plt.show()

Actual outcome

nospace

Expected outcome

Spacing should be the same for all of these symbols.

Additional information

No response

Operating system

Debian GNU/Linux 11 (bullseye)

Matplotlib Version

3.5.0.dev7385+ge6bf91dcfd

Matplotlib Backend

TkAgg

Python version

Python 3.9.2

Jupyter version

No response

Installation

git checkout

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions