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

Fix error where a second use of \| delim causes the wrong size to be used. #700

Merged
merged 1 commit into from
May 24, 2021

Conversation

dpvc
Copy link
Member

@dpvc dpvc commented May 13, 2021

A change in 3.1.4 to make stretchy delimiters that end up using a different untied point produce the correct character had a side effect of making them unstretchable after the first use. The \Vert double bar is one such, and so the second (and subsequent) uses of \Vert will not stretch. E.g. \left\Vert \frac 1 2 \right\Vert will have the right-hand delimiter un-stretched. This PR resolves the problem.

Resolves issue mathjax/MathJax#2697.

@dpvc dpvc requested a review from zorkow May 13, 2021 16:05
@dpvc dpvc added this to the 3.2 milestone May 13, 2021
@dpvc dpvc changed the base branch from master to develop May 13, 2021 16:07
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.

I can't reproduce the problem. Neither locally nor on the demo site. Both develop and Vert-delim produce the same output.

@dpvc
Copy link
Member Author

dpvc commented May 24, 2021

@zorkow, here is an image I just made from the demo site:

Vert

Typesetting a second time will show both at the (incorrect) small size.

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