Skip to content

Math: implement m:groupChr group character converter (community) #2606

@caio-pizzol

Description

@caio-pizzol

What

Implement the m:groupChr (group character) OMML → MathML converter. Used for overbraces, underbraces, and other stretching characters.

OMML: m:groupChrm: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

  1. Create converters/group-char.ts
  2. Read chr and pos from m:groupChrPr
  3. "bot"<munder>, "top"<mover>, with <mo>chr</mo>
  4. 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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions