-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 \hphantom width #1809
Fix \hphantom width #1809
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1809 +/- ##
==========================================
- Coverage 94.58% 94.56% -0.03%
==========================================
Files 80 80
Lines 4655 4656 +1
Branches 809 809
==========================================
Hits 4403 4403
- Misses 227 228 +1
Partials 25 25
Continue to review full report at Codecov.
|
Okay, screenshot tests are in. This should be good to go. |
Does this apply to only bin and rel or other atom types? |
I don't think we need to consider I'll modify the PR, but it might be a few days before I get to it. |
In that case, you could use a fragment or a partial group (#1706). |
@ylemkimon's question prompted me to do a little more research. I find that I was wrong about how A year ago, I would have suggested that we should apply |
@ronkok now that we have to strict mode we can ship TeX's behavior behind that flag and a better behavior by default. |
@ronkok Instead of |
I decline to fight the |
@ronkok Done. Sorry for the confusion about whether Unfortunately, I had to add |
I can imagine people who want an exact emulation of LaTeX. I can imagine people who want a more permissive, MathJax compatible library. I cannot imagine someone who wants exact emulation in every detail except the width of We have made KaTeX |
If we keep 43bcfad, let's at least write docs without an error. In TeX, Also, I wrote this PR to alter |
@ronkok I was mainly concerned about issuing warnings when Your point about I'm personally a little worried about adding nonstandard behavior for |
I don't like the additional |
The latest commit removes the I don't imagine that people often put a |
I'm personally a fan of this, and LaTeX compatibility in general, as it means you can take math from a webpage and put it directly in a LaTeX document. One can always wrap in |
Fixes #1805. I also applied the same fix to
\smash
, since it had the same problem.