Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Deprecate \stackrel.#12150
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Deprecate \stackrel.#12150
Uh oh!
There was an error while loading.Please reload this page.
Conversation
90b3bc1
tocec36cd
CompareThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Fine w/ me. Doubt this is the most heavily used corner of the codebase...
rebased |
Mathtext's \stackrel{a}{b} behaves subtly differently from latex's\stackrel{a}{b}: mathtext makes `a` and `b` equal-sized whereas latexmakes `a` smaller than `b` (`a` is an "annotation" over `b`). Giventhat we can already stack expressions using the (admittedly lesspractical, but standard) \genfrac, just deprecate \stackrel instead ofmaintaining our own latex-like dialect.Also undeprecate passing obj_type to the cbook.deprecated decorator(!),given that this PR has a good reason to use it... and while we're at it,reorder the kwargs docs for cbook.deprecated and cbook.warn_deprecatedto match the order in the signature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Subject to CI pass.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Subject to CI pass.
CI failures unrelated... |
Mathtext's \stackrel{a}{b} behaves subtly differently from latex's
\stackrel{a}{b}: mathtext makes
a
andb
equal-sized whereas latexmakes
a
smaller thanb
(a
is an "annotation" overb
). Giventhat we can already stack expressions using the (admittedly less
practical, but standard) \genfrac, just deprecate \stackrel instead of
maintaining our own latex-like dialect.
Also undeprecate passing obj_type to the cbook.deprecated decorator(!),
given that this PR has a good reason to use it... and while we're at it,
reorder the kwargs docs for cbook.deprecated and cbook.warn_deprecated
to match the order in the signature.
Again related to#12108 /#12128 (:mathmpl: still exists because mathtext is subtly different from latex).
PR Summary
PR Checklist