mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-06 11:48:41 +00:00
* Ignore `font' groups when determining base elements, fixes #390 * fix === * Added testcase
This commit is contained in:
committed by
Kevin Barabash
parent
e4d2d933af
commit
a16ae7a5eb
@@ -135,6 +135,8 @@ var getBaseElem = function(group) {
|
||||
} else {
|
||||
return group;
|
||||
}
|
||||
} else if (group.type === "font") {
|
||||
return getBaseElem(group.value.body);
|
||||
} else {
|
||||
return group;
|
||||
}
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 8.8 KiB |
Binary file not shown.
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 7.2 KiB |
@@ -104,7 +104,7 @@ Sqrt: |
|
||||
^{\sqrt{\sqrt{\sqrt{x}}}}}
|
||||
SqrtRoot: |
|
||||
1+\sqrt[3]{2}+\sqrt[1923^234]{2^{2^{2^{2^{2^{2^{2^{2^{2^{2^{2^2}}}}}}}}}}}
|
||||
SupSubCharacterBox: a_2f_2{f}_2{aa}_2{af}_2
|
||||
SupSubCharacterBox: a_2f_2{f}_2{aa}_2{af}_2\mathbf{y}_Ay_A
|
||||
SupSubHorizSpacing: |
|
||||
x^{x^{x}}\Big|x_{x_{x_{x_{x}}}}\bigg|x^{x^{x_{x_{x_{x_{x}}}}}}\bigg|
|
||||
SupSubLeftAlignReset: |
|
||||
|
Reference in New Issue
Block a user