Encompass glyph options object.
A glyph can encompass (surround or overlay) an equation phrase (content). The glyph can also be annotated.
gggggggggggggg gggCCCCCCCCggg gggCCCCCCCCggg gggCCCCCCCCggg gggCCCCCCCCggg gggggggggggggg
// surrounding content with a box glyphfigure.add({ make: 'equation', elements: { box: { symbol: 'box', lineWidth: 0.005 }, }, forms: { form1: { annotate: { content: 'a', glyphs: { encompass: { symbol: 'box', space: 0.1, // e.g. only, this will be overwritten by next props topSpace: 0.1, rightSpace: 0.1, bottomSpace: 0.1, leftSpace: 0.1, }, }, }, }, },});@interface Copy
// surrounding content with a box glyphfigure.add({ make: 'equation', elements: { box: { symbol: 'box', lineWidth: 0.005 }, }, forms: { form1: { annotate: { content: 'a', glyphs: { encompass: { symbol: 'box', space: 0.1, // e.g. only, this will be overwritten by next props topSpace: 0.1, rightSpace: 0.1, bottomSpace: 0.1, leftSpace: 0.1, }, }, }, }, },});@interface
Encompass glyph options object.
A glyph can encompass (surround or overlay) an equation phrase (content). The glyph can also be annotated.
gggggggggggggg gggCCCCCCCCggg gggCCCCCCCCggg gggCCCCCCCCggg gggCCCCCCCCggg ggggggggggggggExample