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: Implement \pmb via CSS text-shadow #3505
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3505 +/- ##
==========================================
- Coverage 92.98% 92.97% -0.01%
==========================================
Files 90 91 +1
Lines 6739 6765 +26
Branches 1568 1571 +3
==========================================
+ Hits 6266 6290 +24
- Misses 435 437 +2
Partials 38 38
Continue to review full report at Codecov.
|
Don't review this PR yet. There is an issue in MathML. |
Update: The issue that I have just found is unrelated to this PR. I was thinking that I might add the correction here, but the other issue should really be in its own PR. So this PR should be good to go. |
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.
Thank you for the PR, as always. Sorry for the late review.
🎉 This PR is included in version 0.16.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Currently,
\pmb
is implemented by rendering multiple copies of the argument with small offsets. It's a kludge, as indicated by (1) the complex exceptions in the original AMS macro, and (2) actual results.This PR implements
\pmb
via CSStext-shadow
. The rendering is better, particularly in large sizes and in math operators. The improvement resolves #3503.