Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Labels
Milestone
Description
Bug report
Bug summary
Mathtext operators (\log
,\max
, etc.) should insert a thin space after themselves (if followed by ordinary characters, not if followed by an open parenthesis, seehttps://tex.stackexchange.com/questions/225922/spacing-rules-for-operatorname/225924#225924), but currently it does not.
Code for reproduction
frompylabimport*figtext(.5,.6,r"$\log 6$ (usetex)",usetex=True)figtext(.5,.5,r"$\log 6$ (current)")figtext(.5,.4,r"$\mathdefault{log}\,6$ (manual thin space)")figtext(.5,.3,r"$\mathdefault{log}\ 6$ (manual full space)")show()
Actual outcome
Note the missing thin space between "g" and "6" in the current behavior.
Matplotlib version
- Operating system: fedora
- Matplotlib version: master
- Matplotlib backend (
print(matplotlib.get_backend())
): qt5agg - Python version: 38
- Jupyter version (if applicable):
- Other libraries: