Skip to content

Commit a42181f

Browse files
Omikhleiaalerque
authored andcommitted
fix(math): Wrong vertical alignment of integral signs
1 parent 589c058 commit a42181f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/math/base-elements.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ function elements.text:output (x, y, line)
10621062
return
10631063
end
10641064
local compensatedY
1065-
if isDisplayMode(self.mode) and self.atom == atomType.bigOperator and self.value.items[1].fontDepth then
1065+
if isDisplayMode(self.mode) and SU.boolean(self.largeop, false) and self.value.items[1].fontDepth then
10661066
compensatedY = SILE.types.length(y.length + self.value.items[1].depth - self.value.items[1].fontDepth)
10671067
else
10681068
compensatedY = y

0 commit comments

Comments
 (0)