Add math limit component (#2510)
This commit is contained in:
13
src/file/paragraph/math/n-ary/math-limit.ts
Normal file
13
src/file/paragraph/math/n-ary/math-limit.ts
Normal file
@ -0,0 +1,13 @@
|
||||
// http://www.datypic.com/sc/ooxml/e-m_lim-1.html
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
import { MathComponent } from "../math-component";
|
||||
|
||||
export class MathLimit extends XmlComponent {
|
||||
public constructor(children: readonly MathComponent[]) {
|
||||
super("m:lim");
|
||||
|
||||
for (const child of children) {
|
||||
this.root.push(child);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user