2020-10-10 13:41:26 +01:00
|
|
|
// http://www.datypic.com/sc/ooxml/e-m_begChr-1.html
|
2025-04-14 16:43:15 +05:30
|
|
|
import { BuilderElement, XmlComponent } from "@file/xml-components";
|
2020-10-10 13:41:26 +01:00
|
|
|
|
2025-04-14 16:43:15 +05:30
|
|
|
type MathBeginningCharacterOptions = { readonly character: string };
|
2020-10-10 13:41:26 +01:00
|
|
|
|
2025-04-14 16:43:15 +05:30
|
|
|
export const createMathBeginningCharacter = ({ character }: MathBeginningCharacterOptions): XmlComponent =>
|
|
|
|
new BuilderElement<MathBeginningCharacterOptions>({
|
|
|
|
name: "m:begChr",
|
|
|
|
attributes: {
|
|
|
|
character: { key: "m:val", value: character },
|
|
|
|
},
|
|
|
|
});
|