| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| `.mathtext`, the default TeX layout engine which is shipped along with | ||
| Matplotlib now supports symbols like *overset* and *underset*. | ||
|
|
||
| The structure which should be followed: "\overset{body}{annotation}" or | ||
| "\underset{body}{annotation}", where *body* would be the text "above" or | ||
| "below" the *annotation* - the baseline character. |
There was a problem hiding this comment.
| `.mathtext`, the default TeX layout engine which is shipped along with | |
| Matplotlib now supports symbols like *overset* and *underset*. | |
| The structure which should be followed: "\overset{body}{annotation}" or | |
| "\underset{body}{annotation}", where *body* would be the text "above" or | |
| "below" the *annotation* - the baseline character. | |
| `.mathtext` now supports *overset* and *underset*, called as | |
| ``\overset{body}{annotation}`` or ``\underset{body}{annotation}``, where | |
| *annotation* is the text "above" or "below" the *body*. |
Sorry, something went wrong.
There was a problem hiding this comment.
Suggest more direct language. Also I think your transposed "body" and "annotation"
Sorry, something went wrong.
👍🏼
body is supposed to be the text that goes above or below the annotation, see #18916 (comment) matplotlib/lib/matplotlib/_mathtext.py Lines 2875 to 2879 in 56d9e7c |
Sorry, something went wrong.
|
I guess I didn't pay attention in my original review; certainly "body" should be the main thing and "annotation" the out-of-alignment extra thing. |
Sorry, something went wrong.
OK, that is super confusing. In \overset{\Delta x\to 0}{\longrightarrow} I'd have said \Delta x \to 0 is an annotation on \longrightarrow. Ooops, crosspost with above. |
Sorry, something went wrong.
|
I can clean the logic up in this PR |
Sorry, something went wrong.
| --------------------------------------------------------------------------- | ||
|
|
||
| `.mathtext` now supports *overset* and *underset*, called as | ||
| ``\overset{body}{annotation}`` or ``\underset{body}{annotation}``, where |
There was a problem hiding this comment.
OK, but now this is wrong again, right?
Sorry, something went wrong.
There was a problem hiding this comment.
Yeah, I blindly copied the suggestion, let me fix that
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Summary
This is a continuation of the previous PR #18916,
w.r.t. this comment: #18916 (comment)
PR Checklist