Skip to content

Commit 2fd04cb

Browse files
authored
Merge pull request #2024 from dpvc/issue1987
Make sure \big, etc., are at the right size in script styles. #1987
2 parents 61fff4b + 92397dd commit 2fd04cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unpacked/jax/input/TeX/jax.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1611,10 +1611,10 @@
16111611
size *= TEXDEF.p_height;
16121612
size = String(size).replace(/(\.\d\d\d).+/,'$1')+"em";
16131613
var delim = this.GetDelimiter(name,true);
1614-
this.Push(MML.TeXAtom(MML.mo(delim).With({
1614+
this.Push(MML.mstyle(MML.TeXAtom(MML.mo(delim).With({
16151615
minsize: size, maxsize: size,
16161616
fence: true, stretchy: true, symmetric: true
1617-
})).With({texClass: mclass}));
1617+
})).With({texClass: mclass})).With({scriptlevel: 0}));
16181618
},
16191619

16201620
BuildRel: function (name) {

0 commit comments

Comments
 (0)