12 lines
260 B
TypeScript
12 lines
260 B
TypeScript
![]() |
import { XmlComponent } from "file/xml-components";
|
||
|
|
||
|
import { MathRun } from "../math-run";
|
||
|
|
||
|
export class MathNumerator extends XmlComponent {
|
||
|
constructor(readonly text: string) {
|
||
|
super("m:num");
|
||
|
|
||
|
this.root.push(new MathRun(text));
|
||
|
}
|
||
|
}
|