Skip to content

Commit beec0fb

Browse files
oscargusdevRD
authored andcommitted
Add more relational operators to mathtext
1 parent 645a9a9 commit beec0fb

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

lib/matplotlib/_mathtext.py

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1746,7 +1746,26 @@ class _MathStyle(enum.Enum):
17461746
\sqsubset \sqsupset \neq \smile
17471747
\sqsubseteq \sqsupseteq \doteq \frown
17481748
\in \ni \propto \vdash
1749-
\dashv \dots \doteqdot'''.split())
1749+
\dashv \dots \doteqdot
1750+
\leqq \geqq \lneqq \gneqq
1751+
\lessgtr \leqslant \eqgtr \eqless
1752+
\eqslantless \eqslantgtr \lesseqgtr
1753+
\backsim \backsimeq \lesssim \gtrsim
1754+
\precsim \precnsim \gnsim \lnsim
1755+
\succsim \succnsim \nsim
1756+
\lesseqqgtr \gtreqqless \gtreqless
1757+
\subseteqq \supseteqq \subsetneqq \supsetneqq
1758+
\lessapprox \approxeq \gtrapprox \precapprox
1759+
\succapprox \precnapprox \succnapprox
1760+
\lnapprox \gnapprox \napprox \approxeq
1761+
\approxident \lll \ggg \triangleeq
1762+
\triangleq \triangleleft \triangleright \ntriangleleft
1763+
\ntriangleright \trianglelefteq \ntrianglelefteq
1764+
\trianglerighteq \ntrianglerighteq \blacktriangleleft
1765+
\blacktriangleright \parallel \nparallel
1766+
\Vdash \Vvdash \nVdash \nvdash
1767+
\vDash \nvDash \nVDash
1768+
'''.split())
17501769

17511770
_arrow_symbols = set(r'''
17521771
\leftarrow \longleftarrow \uparrow

0 commit comments

Comments
 (0)