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
Got wrong space of LaTeX "\!=\!=\!="? #541
Labels
Comments
Interesting: As a workaround you can use |
I can think of two possible reasons.
|
Thank you guys. |
kohler
added a commit
to kohler/KaTeX
that referenced
this issue
Nov 21, 2016
- KaTeX#534: Implement getTypeOfGroup for font groups. - KaTeX#533, KaTeX#541: Improve the ways spaces are applied to lists. Since CSS adjacency implements mathematical spacing, it's incorrect to introduce "convenience spans" for spaces and display changes into the generated HTML -- those spans break adjacency. Apply display changes directly, and shift space spans into adjacent atoms. Requires updates to two screenshotter tests, LimitControls and SupSubLeftAlignReset. The new results for these tests are closer to TeX output than the old results.
kohler
added a commit
to kohler/KaTeX
that referenced
this issue
Nov 21, 2016
- KaTeX#534: Implement getTypeOfGroup for font groups. - KaTeX#533, KaTeX#541: Improve the ways spaces are applied to lists. Since CSS adjacency implements mathematical spacing, it's incorrect to introduce "convenience spans" for spaces and display changes into the generated HTML -- those spans break adjacency. Apply display changes directly, and shift space spans into adjacent atoms. Requires updates to two screenshotter tests, LimitControls and SupSubLeftAlignReset. The new results for these tests are closer to TeX output than the old results.
kohler
added a commit
to kohler/KaTeX
that referenced
this issue
Nov 21, 2016
- KaTeX#534: Implement getTypeOfGroup for font groups. - KaTeX#533, KaTeX#541: Improve the ways spaces are applied to lists. Since CSS adjacency implements mathematical spacing, it's incorrect to introduce "convenience spans" for spaces and display changes into the generated HTML -- those spans break adjacency. Apply display changes directly, and shift space spans into adjacent atoms. Requires updates to two screenshotter tests, LimitControls and SupSubLeftAlignReset. The new results for these tests are closer to TeX output than the old results. Also requires updates to Jasmine tests, since those assumed output structures that have changed.
kohler
added a commit
to kohler/KaTeX
that referenced
this issue
Nov 21, 2016
- KaTeX#534: Implement getTypeOfGroup for font groups. - KaTeX#533, KaTeX#541: Improve the ways spaces are applied to lists. Since CSS adjacency implements mathematical spacing, it's incorrect to introduce "convenience spans" for spaces and display changes into the generated HTML -- those spans break adjacency. Apply display changes directly, and shift space spans into adjacent atoms. Requires updates to two screenshotter tests, LimitControls and SupSubLeftAlignReset. The new results for these tests are closer to TeX output than the old results. Also requires updates to Jasmine tests, since those assumed output structures that have changed.
Merged
kohler
added a commit
to kohler/KaTeX
that referenced
this issue
Nov 22, 2016
- KaTeX#534: Implement getTypeOfGroup for font groups. - KaTeX#533, KaTeX#541: Improve the ways spaces are applied to lists. Since CSS adjacency implements mathematical spacing, it's incorrect to introduce "convenience spans" for spaces and display changes into the generated HTML -- those spans break adjacency. Apply display changes directly, and shift space spans into adjacent atoms. Requires updates to two screenshotter tests, LimitControls and SupSubLeftAlignReset. The new results for these tests are closer to TeX output than the old results. Also requires updates to Jasmine tests, since those assumed output structures that have changed.
kohler
added a commit
to kohler/KaTeX
that referenced
this issue
Nov 22, 2016
- KaTeX#534: Implement getTypeOfGroup for font groups. - KaTeX#533, KaTeX#541: Improve the ways spaces are applied to lists. Since CSS adjacency implements mathematical spacing, it's incorrect to introduce "convenience spans" for spaces and display changes into the generated HTML -- those spans break adjacency. Apply display changes directly, and shift space spans into adjacent atoms. Requires updates to two screenshotter tests, LimitControls and SupSubLeftAlignReset. The new results for these tests are closer to TeX output than the old results. Also requires updates to Jasmine tests, since those assumed output structures that have changed.
kohler
added a commit
to kohler/KaTeX
that referenced
this issue
Nov 23, 2016
- KaTeX#534: Implement getTypeOfGroup for font groups. - KaTeX#533, KaTeX#541: Improve the ways spaces are applied to lists. Since CSS adjacency implements mathematical spacing, it's incorrect to introduce "convenience spans" for spaces and display changes into the generated HTML -- those spans break adjacency. Apply display changes directly, and shift space spans into adjacent atoms. Requires updates to two screenshotter tests, LimitControls and SupSubLeftAlignReset. The new results for these tests are closer to TeX output than the old results. Also requires updates to Jasmine tests, since those assumed output structures that have changed.
kohler
added a commit
to kohler/KaTeX
that referenced
this issue
Nov 26, 2016
- KaTeX#534: Implement getTypeOfGroup for font groups. - KaTeX#533, KaTeX#541: Improve the ways spaces are applied to lists. Since CSS adjacency implements mathematical spacing, it's incorrect to introduce "convenience spans" for spaces and display changes into the generated HTML -- those spans break adjacency. Apply display changes directly, and shift space spans into adjacent atoms. Requires updates to two screenshotter tests, LimitControls and SupSubLeftAlignReset. The new results for these tests are closer to TeX output than the old results. Also requires updates to Jasmine tests, since those assumed output structures that have changed.
kohler
added a commit
to kohler/KaTeX
that referenced
this issue
Nov 26, 2016
- KaTeX#534: Implement getTypeOfGroup for font groups. - KaTeX#533, KaTeX#541: Improve the ways spaces are applied to lists. Since CSS adjacency implements mathematical spacing, it's incorrect to introduce "convenience spans" for spaces and display changes into the generated HTML -- those spans break adjacency. Apply display changes directly, and shift space spans into adjacent atoms. Requires updates to two screenshotter tests, LimitControls and SupSubLeftAlignReset. The new results for these tests are closer to TeX output than the old results. Also requires updates to Jasmine tests, since those assumed output structures that have changed.
kohler
added a commit
to kohler/KaTeX
that referenced
this issue
Nov 27, 2016
- KaTeX#534: Implement getTypeOfGroup for font groups. - KaTeX#533, KaTeX#541: Improve the ways spaces are applied to lists. Since CSS adjacency implements mathematical spacing, it's incorrect to introduce "convenience spans" for spaces and display changes into the generated HTML -- those spans break adjacency. Apply display changes directly, and shift space spans into adjacent atoms. Requires updates to two screenshotter tests, LimitControls and SupSubLeftAlignReset. The new results for these tests are closer to TeX output than the old results. Also requires updates to Jasmine tests, since those assumed output structures that have changed.
kohler
added a commit
to kohler/KaTeX
that referenced
this issue
Nov 28, 2016
- KaTeX#534: Implement getTypeOfGroup for font groups. - KaTeX#533, KaTeX#541: Improve the ways spaces are applied to lists. Since CSS adjacency implements mathematical spacing, it's incorrect to introduce "convenience spans" for spaces and display changes into the generated HTML -- those spans break adjacency. Apply display changes directly, and shift space spans into adjacent atoms. Requires updates to two screenshotter tests, LimitControls and SupSubLeftAlignReset. The new results for these tests are closer to TeX output than the old results. Also requires updates to Jasmine tests, since those assumed output structures that have changed.
kevinbarabash
pushed a commit
that referenced
this issue
Nov 28, 2016
* Internal: Pass full `options` objects to makeSpan/makeSymbol. Not just the current color. This will facilitate applying options to built nodes in a standardized way, rather than changing all callsites. * Add style switching test: text and scriptstyle in the same group. * Apply style-specific spacing using different CSS coding. Specifically, infer style from a class on the *current* element, rather than the parent element. Use "mtight" class to denote elements with tight spacing (scriptstyle or scriptscriptstyle). Apply that class automatically based on options. * Fix #533, #534, #541. - #534: Implement getTypeOfGroup for font groups. - #533, #541: Improve the ways spaces are applied to lists. Since CSS adjacency implements mathematical spacing, it's incorrect to introduce "convenience spans" for spaces and display changes into the generated HTML -- those spans break adjacency. Apply display changes directly, and shift space spans into adjacent atoms. Requires updates to two screenshotter tests, LimitControls and SupSubLeftAlignReset. The new results for these tests are closer to TeX output than the old results. Also requires updates to Jasmine tests, since those assumed output structures that have changed. * Fix #136: Size commands generate fragments, not spans. This is so the size commands don't hide the types of their enclosed atoms. Addresses #136. This slightly changes the vertical position of the Sizing test. Not sure the vertical position matters, so change the test.
Fixed on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi all,
I have tried to render
2Na_2O_2+2H_2O\ \!=\!=\!=\ 4NaOH+O_2\uparrow
by KaTeX and MathJax.It looks like KaTeX ignored the
\!
before=
.Hope anyone can help, thanks a lot :)
KaTeX:
MathJax:
The text was updated successfully, but these errors were encountered: