What
Implement the m:groupChr (group character) OMML → MathML converter. Used for overbraces, underbraces, and other stretching characters.
OMML: m:groupChr → m:groupChrPr (chr, pos, vertJc) + m:e (content)
MathML: (bottom) or (top) with chr
Spec: §22.1.2.42
Difficulty: Medium
Details
m:groupChrPr/m:chr@m:val — character (default U+23DF, bottom curly bracket)
m:groupChrPr/m:pos@m:val — "bot" (default) or "top"
How to implement
- Create
converters/group-char.ts
- Read chr and pos from
m:groupChrPr
"bot" → <munder>, "top" → <mover>, with <mo>chr</mo>
- Register as
'm:groupChr': convertGroupChar
Test Document
Download the test file and upload it to the SuperDoc dev app to verify your implementation renders correctly:
sd-2383-groupchar.docx
Want to work on this? Check the Contributing Guide to get started. Comment on this issue to let us know you're picking it up.
Ref: SD-2383
What
Implement the
m:groupChr(group character) OMML → MathML converter. Used for overbraces, underbraces, and other stretching characters.OMML:
m:groupChr→m:groupChrPr(chr, pos, vertJc) +m:e(content)MathML:
(bottom) or(top) withchrSpec: §22.1.2.42
Difficulty: Medium
Details
m:groupChrPr/m:chr@m:val— character (default U+23DF, bottom curly bracket)m:groupChrPr/m:pos@m:val—"bot"(default) or"top"How to implement
converters/group-char.tsm:groupChrPr"bot"→<munder>,"top"→<mover>, with<mo>chr</mo>'m:groupChr': convertGroupCharTest Document
Download the test file and upload it to the SuperDoc dev app to verify your implementation renders correctly:
sd-2383-groupchar.docx
Want to work on this? Check the Contributing Guide to get started. Comment on this issue to let us know you're picking it up.
Ref: SD-2383