refactor: remove mmultscripts dead code
This commit is contained in:
parent
c14832bed1
commit
f482d19324
@ -34,8 +34,8 @@ export class MMultiscripts implements ToLaTeXConverter {
|
|||||||
sup = children[5];
|
sup = children[5];
|
||||||
} else return '';
|
} else return '';
|
||||||
|
|
||||||
const subLatex = sub ? mathMLElementToLaTeXConverter(sub).convert() : '';
|
const subLatex = mathMLElementToLaTeXConverter(sub).convert();
|
||||||
const supLatex = sup ? mathMLElementToLaTeXConverter(sup).convert() : '';
|
const supLatex = mathMLElementToLaTeXConverter(sup).convert();
|
||||||
|
|
||||||
return `\\_{${subLatex}}^{${supLatex}}`;
|
return `\\_{${subLatex}}^{${supLatex}}`;
|
||||||
}
|
}
|
||||||
@ -47,8 +47,8 @@ export class MMultiscripts implements ToLaTeXConverter {
|
|||||||
const sub = children[1];
|
const sub = children[1];
|
||||||
const sup = children[2];
|
const sup = children[2];
|
||||||
|
|
||||||
const subLatex = sub ? mathMLElementToLaTeXConverter(sub).convert() : '';
|
const subLatex = mathMLElementToLaTeXConverter(sub).convert();
|
||||||
const supLatex = sup ? mathMLElementToLaTeXConverter(sup).convert() : '';
|
const supLatex = mathMLElementToLaTeXConverter(sup).convert();
|
||||||
|
|
||||||
return `_{${subLatex}}^{${supLatex}}`;
|
return `_{${subLatex}}^{${supLatex}}`;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user