Flatten ParseNodes: "supsub" and related ("accent", "accentUnder", "horizBrace", "xarrow", "op"). (#1542)

This commit is contained in:
Ashish Myles
2018-08-03 01:06:02 -04:00
committed by ylemkimon
parent c7145f0ff0
commit fd6690b988
16 changed files with 215 additions and 278 deletions

View File

@@ -402,7 +402,8 @@ defineFunction({
let styl = checkNodeType(args[3], "ordgroup");
if (styl) {
if (styl.value.length > 0) {
size = stylArray[Number(styl.value[0].value)];
const textOrd = assertNodeType(styl.value[0], "textord");
size = stylArray[Number(textOrd.value)];
}
} else {
styl = assertNodeType(args[3], "textord");