mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-12 06:28:40 +00:00
add msupsub tag to scripts, fix #488
This commit is contained in:
@@ -376,8 +376,9 @@ groupTypes.supsub = function(group, options, prev) {
|
||||
supsub.children[1].style.marginRight = scriptspace;
|
||||
}
|
||||
|
||||
// We ensure to wrap the supsub vlist in a span.msupsub to reset text-align
|
||||
return makeSpan([getTypeOfGroup(group.value.base)],
|
||||
[base, supsub]);
|
||||
[base, makeSpan(["msupsub"], [supsub])]);
|
||||
};
|
||||
|
||||
groupTypes.genfrac = function(group, options, prev) {
|
||||
|
Reference in New Issue
Block a user