Title: mathtext: Fix bugs in conversion of apostrophes to primes by zblz · Pull Request #5880 · matplotlib/matplotlib · GitHub
Open Graph Title: mathtext: Fix bugs in conversion of apostrophes to primes by zblz · Pull Request #5880 · matplotlib/matplotlib
X Title: mathtext: Fix bugs in conversion of apostrophes to primes by zblz · Pull Request #5880 · matplotlib/matplotlib
Description: Fix #5864: wrong typesetting of $''/yr$ by recognising apostrophes in first position as part of the superscript. Fix the width of the superscript block when generated from apostrophes. For some reason the Hlist.extend method does not recompute the kerning (so in strings like $f''''(x)$ the primes would overrun the parens and the x), so I added an hpack() and kern() calls after extending. I also modified an existing test to include the two bugs fixed.
Open Graph Description: Fix #5864: wrong typesetting of $''/yr$ by recognising apostrophes in first position as part of the superscript. Fix the width of the superscript block when generated from apostrophes. For ...
X Description: Fix #5864: wrong typesetting of $''/yr$ by recognising apostrophes in first position as part of the superscript. Fix the width of the superscript block when generated from apostroph...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/5880
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8d443093-a72b-177b-f909-cbd738d135ba |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AE96:23560F:18EF18E:21F4C13:6A536235 |
| html-safe-nonce | db8c0e2850b164f1ae91f131685d5b1742233fe16c941689c9411d9b38e4c747 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTk2OjIzNTYwRjoxOEVGMThFOjIxRjRDMTM6NkE1MzYyMzUiLCJ2aXNpdG9yX2lkIjoiMzg5NjI3MjA1OTI5MTA5OTcwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 40647ef986dbcc857140b4c0fb191c387e61d40c50c267d7111a20a03801d663 |
| hovercard-subject-tag | pull_request:56459627 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/matplotlib/matplotlib/pull/5880/files |
| twitter:image | https://avatars.githubusercontent.com/u/576258?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/576258?s=400&v=4 |
| og:image:alt | Fix #5864: wrong typesetting of $''/yr$ by recognising apostrophes in first position as part of the superscript. Fix the width of the superscript block when generated from apostrophes. For ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width