2020-10-10 13:41:26 +01:00
|
|
|
// http://www.datypic.com/sc/ooxml/e-m_sup-3.html
|
2025-04-14 16:43:15 +05:30
|
|
|
import { BuilderElement, 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
|
|
|
|
2025-04-14 16:43:15 +05:30
|
|
|
type MathSuperScriptElementOptions = {
|
|
|
|
readonly children: readonly MathComponent[];
|
|
|
|
};
|
2019-08-20 20:40:40 +01:00
|
|
|
|
2025-04-14 16:43:15 +05:30
|
|
|
export const createMathSuperScriptElement = ({ children }: MathSuperScriptElementOptions): XmlComponent =>
|
|
|
|
new BuilderElement({
|
|
|
|
name: "m:sup",
|
|
|
|
children,
|
|
|
|
});
|