Skip to content

mathtext \lim is vertically misaligned #19178

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

Closed
anntzer opened this issue Dec 27, 2020 · 1 comment · Fixed by #19314
Closed

mathtext \lim is vertically misaligned #19178

anntzer opened this issue Dec 27, 2020 · 1 comment · Fixed by #19314

Comments

@anntzer
Copy link
Contributor

anntzer commented Dec 27, 2020

Bug report

Bug summary

All's in the title.

Code for reproduction

from pylab import *
figtext(.5, .5, r"$\lim_{x\to\infty}f(x)$", size=48)

Actual outcome

test
The \lim is clearly too high.

Expected outcome

Proper vertical alignment.

Likely the same problem affects all operators listed in _overunder_functions.

Matplotlib version

  • Operating system: linux
  • Matplotlib version: head
  • Matplotlib backend (print(matplotlib.get_backend())): qt5agg
  • Python version: 38
  • Jupyter version (if applicable):
  • Other libraries:

@aitikgupta perhaps you may be interested looking at this too? (up to you, of course).

@aitikgupta
Copy link
Contributor

I can look into this 👍🏼

@QuLogic QuLogic added this to the v3.4.0 milestone Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants