mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-09 13:08:40 +00:00
Fix underbrace (#1304)
* Fix \underbrace Fix the vertical alignment so that it correctly takes into account the descender of the lower element. Fixes issue 1303. * Update screenshots
This commit is contained in:
@@ -493,7 +493,8 @@ export const groupTypes = {
|
|||||||
} else {
|
} else {
|
||||||
vlist = buildCommon.makeVList({
|
vlist = buildCommon.makeVList({
|
||||||
positionType: "bottom",
|
positionType: "bottom",
|
||||||
positionData: vSpan.depth + 0.2 + supSubGroup.height,
|
positionData: vSpan.depth + 0.2 + supSubGroup.height +
|
||||||
|
supSubGroup.depth,
|
||||||
children: [
|
children: [
|
||||||
{type: "elem", elem: supSubGroup},
|
{type: "elem", elem: supSubGroup},
|
||||||
{type: "kern", size: 0.2},
|
{type: "kern", size: 0.2},
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Binary file not shown.
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Reference in New Issue
Block a user