mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-12 14:38:39 +00:00
Correct spacing next to symbols when styles switch.
Two nodes were sharing a list of classes, which led to the style change applying multiple times. Fix that.
This commit is contained in:
BIN
test/screenshotter/images/StyleSpacing-chrome.png
Normal file
BIN
test/screenshotter/images/StyleSpacing-chrome.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
BIN
test/screenshotter/images/StyleSpacing-firefox.png
Normal file
BIN
test/screenshotter/images/StyleSpacing-firefox.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
@@ -117,6 +117,7 @@ Sqrt: |
|
||||
SqrtRoot: |
|
||||
1+\sqrt[3]{2}+\sqrt[1923^234]{2^{2^{2^{2^{2^{2^{2^{2^{2^{2^{2^2}}}}}}}}}}}
|
||||
StackRel: a \stackrel{?}{=} b \stackrel{\text{def}}{=} c
|
||||
StyleSpacing: \scriptstyle ab\;cd
|
||||
StyleSwitching: a\cdot b\scriptstyle a\cdot ba\textstyle\cdot ba\scriptstyle\cdot b
|
||||
SupSubCharacterBox: a_2f_2{f}_2{aa}_2{af}_2\mathbf{y}_Ay_A
|
||||
SupSubHorizSpacing: |
|
||||
|
Reference in New Issue
Block a user