Skip to content

Commit 5d44b01

Browse files
committed
Update the position of labels on vertical arrows to better match actual LaTeX output
1 parent afaf1ea commit 5d44b01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ts/input/tex/amscd/AmsCdMethods.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ const AmsCdMethods: { [key: string]: ParseMethod } = {
163163
if (a) {
164164
NodeUtil.appendChildren(mml, [
165165
new TexParser(
166-
'\\scriptstyle\\llap{' + a + '}',
166+
'\\scriptstyle\\raise.125em{\\vcenter{\\llap{' + a + '}}}',
167167
parser.stack.env,
168168
parser.configuration
169169
).mml(),
@@ -174,7 +174,7 @@ const AmsCdMethods: { [key: string]: ParseMethod } = {
174174
if (b) {
175175
NodeUtil.appendChildren(mml, [
176176
new TexParser(
177-
'\\scriptstyle\\rlap{' + b + '}',
177+
'\\scriptstyle\\raise.125em{\\vcenter{\\rlap{' + b + '}}}',
178178
parser.stack.env,
179179
parser.configuration
180180
).mml(),

0 commit comments

Comments
 (0)