Add math run and fraction
This commit is contained in:
11
src/file/paragraph/math/fraction/math-numerator.ts
Normal file
11
src/file/paragraph/math/fraction/math-numerator.ts
Normal file
@ -0,0 +1,11 @@
|
||||
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));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user