You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From a quick look, this is due to the sym.width/4 horizontal correction added to an HCentered box in accent(). Indeed replacing centered by just accent_box appears to fix the issue... but now the italic correction is lost when using italics.
I think the correct solution likely implies doing an exegesis of node 12 of the TeXbook's appendix G (p442), or any of the articles linked at #18916 (comment).
The text was updated successfully, but these errors were encountered:
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!
Bug report
Bug summary
All's in the title.
Code for reproduction
Actual outcome
Expected outcome
The bar should be correctly centered. (The italic version is still ok-ish, but the roman one is far too offset.)
Likewise for
\widehat
and\widetilde
.Matplotlib version
import matplotlib; print(matplotlib.__version__)
): HEAD (3.3+)print(matplotlib.get_backend())
): qt5aggFrom a quick look, this is due to the
sym.width/4
horizontal correction added to an HCentered box inaccent()
. Indeed replacingcentered
by justaccent_box
appears to fix the issue... but now the italic correction is lost when using italics.I think the correct solution likely implies doing an exegesis of node 12 of the TeXbook's appendix G (p442), or any of the articles linked at #18916 (comment).
The text was updated successfully, but these errors were encountered: