-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Thin space missing after mathtext operators #17852
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Difficulty: Hard
https://matplotlib.org/devdocs/devel/contribute.html#good-first-issues
Good first issue
Open a pull request against these issues if there are no active ones!
topic: text/mathtext
Milestone
Comments
Labeled this as hard because the fix is going to involve diving into the tex parser in https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/mathtext.py but good first issue because there is no API design and should not require any changes outside of the |
6 tasks
Is this done since #17890 was merged? |
I think sub/superscript handling is still a problem (#17890 (comment)). |
2 tasks
timhoffm
added a commit
to timhoffm/matplotlib
that referenced
this issue
Jun 10, 2022
Picks up matplotlib#22839. Closes matplotlib#22839, matplotlib#17852. Co-authored-by: henrybeUM <98666765+henrybeUM@users.noreply.github.com>
timhoffm
added a commit
to timhoffm/matplotlib
that referenced
this issue
Jun 12, 2022
Picks up matplotlib#22839. Closes matplotlib#22839, matplotlib#17852. Co-authored-by: henrybeUM <98666765+henrybeUM@users.noreply.github.com>
Closed by #23243 |
andrew-fennell
pushed a commit
to andrew-fennell/matplotlib
that referenced
this issue
Jun 14, 2022
Picks up matplotlib#22839. Closes matplotlib#22839, matplotlib#17852. Co-authored-by: henrybeUM <98666765+henrybeUM@users.noreply.github.com>
jklymak
pushed a commit
to jklymak/matplotlib
that referenced
this issue
Jun 24, 2022
Picks up matplotlib#22839. Closes matplotlib#22839, matplotlib#17852. Co-authored-by: henrybeUM <98666765+henrybeUM@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Difficulty: Hard
https://matplotlib.org/devdocs/devel/contribute.html#good-first-issues
Good first issue
Open a pull request against these issues if there are no active ones!
topic: text/mathtext
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, see https://tex.stackexchange.com/questions/225922/spacing-rules-for-operatorname/225924#225924), but currently it does not.Code for reproduction
Actual outcome
Note the missing thin space between "g" and "6" in the current behavior.
Matplotlib version
print(matplotlib.get_backend())
): qt5aggThe text was updated successfully, but these errors were encountered: