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

Remove heuristic for U+2061 forcing previous item to be texClass=OP #719

Merged
merged 1 commit into from
Jun 8, 2021

Conversation

dpvc
Copy link
Member

@dpvc dpvc commented Jun 7, 2021

This PR removes a heuristic that was supposed to turn multi-letter function names into operators with texClass of OP rather than ORD when followed by U+2061, but it turns out to be too aggressive, and ends up causing spacing problems, especially after enrichment (which adds the U+2061). There are other heuristics that produce the same result, so this one really isn't needed, and should be removed.

For example: \Big| \mathcal{P}_a(x) \Big| will have too much space between the first | and the P when enriched (to have the U+2061).

@dpvc dpvc added this to the 3.2 milestone Jun 7, 2021
@dpvc dpvc requested a review from zorkow June 7, 2021 15:18
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.

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.

None yet

2 participants