mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-08 04:28:41 +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 {
|
||||
vlist = buildCommon.makeVList({
|
||||
positionType: "bottom",
|
||||
positionData: vSpan.depth + 0.2 + supSubGroup.height,
|
||||
positionData: vSpan.depth + 0.2 + supSubGroup.height +
|
||||
supSubGroup.depth,
|
||||
children: [
|
||||
{type: "elem", elem: supSubGroup},
|
||||
{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