Skip to content
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

bbox of arrow is not displayed at expected position. #2380

Closed
w32zhong opened this issue Mar 24, 2020 · 1 comment
Closed

bbox of arrow is not displayed at expected position. #2380

w32zhong opened this issue Mar 24, 2020 · 1 comment
Labels
Accepted Issue has been reproduced by MathJax team Test Needed v3
Milestone

Comments

@w32zhong
Copy link

w32zhong commented Mar 24, 2020

Issue Summary

When using bbox around rightarrow under a limit, it has unexpected vertical alignment.

Steps to Reproduce:

  1. Paste and render TeX
\lim _ {x \bbox[red]{\rightarrow} 0}

at demo page: https://mathjax.github.io/MathJax-demos-web/input-tex2svg.html

You will see a bad alignment like this:

Notice, changing \rightarrow to \to would not have this issue.

@dpvc
Copy link
Member

dpvc commented Apr 3, 2020

This is an issue with how certain characters are remapped to accents when they appear in limits or superscripts. I have made a pull request (mathjax/MathJax-src#468) that fixes the problem.

Thanks for reporting the problem.

@w32zhong w32zhong closed this as completed Apr 6, 2020
@dpvc dpvc added this to the 3.0.2 milestone Apr 6, 2020
dpvc added a commit to mathjax/MathJax-src that referenced this issue Apr 6, 2020
Fix problem with \rightarrow being converted to \vec in some cases.  (mathjax/MathJax#2380)
@dpvc dpvc added Merged Merged into develop branch and removed Ready for Review labels Apr 6, 2020
@dpvc dpvc removed the Merged Merged into develop branch label Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Issue has been reproduced by MathJax team Test Needed v3
Projects
None yet
Development

No branches or pull requests

2 participants