2020-10-10 13:41:26 +01:00
|
|
|
// http://www.datypic.com/sc/ooxml/e-m_sup-3.html
|
2022-06-26 23:26:42 +01:00
|
|
|
import { XmlComponent } from "@file/xml-components";
|
2019-08-20 20:40:40 +01:00
|
|
|
|
2020-10-10 13:41:26 +01:00
|
|
|
import { MathComponent } from "../math-component";
|
2019-08-20 20:40:40 +01:00
|
|
|
|
2020-10-10 13:41:26 +01:00
|
|
|
export class MathSuperScriptElement extends XmlComponent {
|
2022-09-15 20:00:50 +01:00
|
|
|
public constructor(children: readonly MathComponent[]) {
|
2019-08-20 20:40:40 +01:00
|
|
|
super("m:sup");
|
|
|
|
|
2020-10-13 02:06:27 +01:00
|
|
|
for (const child of children) {
|
|
|
|
this.root.push(child);
|
|
|
|
}
|
2019-08-20 20:40:40 +01:00
|
|
|
}
|
|
|
|
}
|