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 sized delimiters for regular-sized mathtext (#5863) #5871

Merged
merged 2 commits into from Jan 18, 2016

Conversation

zblz
Copy link
Member

@zblz zblz commented Jan 17, 2016

This fixes the problem in #5863: when \left or \right where used with delimiters and regular text, the delimiters tended to be typeset too small. In addition, the regular sized delimiters from STIX were used in dejavusans even when DejaVu Sans delimiters at that size are available.

Here I modify the DejaVu classes so that DejaVu itself is used for the 0 sized delimiters, and modify the AutoHeightChar class so that when the 0 sized delimiters have been selected they are not scaled or shifted (as you need to do when you are enveloping, e.g., a fraction).

No new tests are needed as this behaviour is seen in various tests already.

@tacaswell tacaswell added this to the next major release (2.0) milestone Jan 17, 2016
mdboom added a commit that referenced this pull request Jan 18, 2016
Fix sized delimiters for regular-sized mathtext (#5863)
@mdboom mdboom merged commit fbb9bbc into matplotlib:master Jan 18, 2016
QuLogic pushed a commit to QuLogic/matplotlib that referenced this pull request Oct 16, 2016
Fix sized delimiters for regular-sized mathtext (matplotlib#5863)
@QuLogic
Copy link
Member

QuLogic commented Oct 18, 2016

Backported to v2.x via 944546c.

This was referenced Feb 9, 2020
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

4 participants