We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ae2be8a + f98d8d3 commit 81c6dadCopy full SHA for 81c6dad
src/engine/layout.jl
@@ -31,6 +31,8 @@ function tex_layout(expr, state)
31
elseif head == :combining_accent
32
accent, core = tex_layout.(args, state)
33
34
+ # Same space between the top of core and the accent than
35
+ # between the top of a 'x' and the accent
36
y = topinkbound(core) - xheight(font_family)
37
38
if core.slanted
@@ -44,7 +46,7 @@ function tex_layout(expr, state)
44
46
[core, accent],
45
47
Point2f[
48
(0, 0),
- (x + hmid(core) - hmid(accent), 0)
49
+ (x + hmid(core) - hmid(accent), y)
50
],
51
[1, 1]
52
)
0 commit comments