Skip to content

Mark mo as not accent if used in \overset and friends. (mathjax/MathJax#2800) #763

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

Merged
merged 1 commit into from
Feb 2, 2022

Conversation

dpvc
Copy link
Member

@dpvc dpvc commented Jan 25, 2022

If the top or bottom of \overset, \underset or \overunderset is a single mo element whose operator-dictionary entry indicates it is an accent by default, then the output is incorrect (the display uses accent size and spacing, and accent substitution can be performed). This PR resolves that buy explicitly marking mo elements with accent="false". This will be filtered out if that is the operator dictionary default, but will be retained otherwise.

Resolves issue mathjax/MathJax#2800

Copy link
Member

@zorkow zorkow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm.

@dpvc dpvc merged commit 611a48c into develop Feb 2, 2022
@dpvc dpvc deleted the issue2800 branch February 2, 2022 15:13
dpvc added a commit that referenced this pull request Feb 3, 2022
dpvc added a commit that referenced this pull request Feb 22, 2022
@dpvc dpvc added this to the 3.2.1 milestone Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants