Left/Right glyph options object.
A glyph can be to the left or right of an equation phrase (content). The glyph can also be annotated.
ggg CCCCCCCC ggg ggg CCCCCCCC ggg ggg CCCCCCCC ggg ggg CCCCCCCC ggg
figure.add({ make: 'equation', elements: { rb: { symbol: 'angleBracket', side: 'right', width: 0.1 }, }, forms: { form1: { annotate: { content: 'a', glyphs: { right: { symbol: 'rb', space: 0.05, overhang: 0.1, }, }, }, }, },}); Copy
figure.add({ make: 'equation', elements: { rb: { symbol: 'angleBracket', side: 'right', width: 0.1 }, }, forms: { form1: { annotate: { content: 'a', glyphs: { right: { symbol: 'rb', space: 0.05, overhang: 0.1, }, }, }, }, },});
figure.add({ make: 'equation', elements: { arrow: { symbol: 'arrow', direction: 'down' }, }, forms: { form1: { annotate: { content: 'a', glyphs: { left: { symbol: 'arrow', space: 0.05, overhang: 0.1, annotations: [ { content: 'b', xPosition: 'center', yPosition: 'top', xAlign: 'center', yAlign: 'bottom', scale: 0.7, offset: [0, 0.05], }, { content: 'n', xPosition: 'center', yPosition: 'bottom', xAlign: 'center', yAlign: 'top', scale: 0.7, offset: [0, -0.05], }, ], }, }, }, }, },}); Copy
figure.add({ make: 'equation', elements: { arrow: { symbol: 'arrow', direction: 'down' }, }, forms: { form1: { annotate: { content: 'a', glyphs: { left: { symbol: 'arrow', space: 0.05, overhang: 0.1, annotations: [ { content: 'b', xPosition: 'center', yPosition: 'top', xAlign: 'center', yAlign: 'bottom', scale: 0.7, offset: [0, 0.05], }, { content: 'n', xPosition: 'center', yPosition: 'bottom', xAlign: 'center', yAlign: 'top', scale: 0.7, offset: [0, -0.05], }, ], }, }, }, }, },});
figure.add({ make: 'equation', elements: { brace: { symbol: 'brace', side: 'right', width: 0.05 }, }, forms: { form1: { annotate: { content: 'c', glyphs: { left: { symbol: 'brace', space: 0.05, overhang: 0.2, annotations: [ { content: 'a', xPosition: 'left', yPosition: 'top', xAlign: 'right', yAlign: 'middle', offset: [-0.05, 0], }, { content: 'b', xPosition: 'left', yPosition: 'bottom', xAlign: 'right', yAlign: 'middle', offset: [-0.05, 0], }, ], }, }, }, }, },});@interface Copy
figure.add({ make: 'equation', elements: { brace: { symbol: 'brace', side: 'right', width: 0.05 }, }, forms: { form1: { annotate: { content: 'c', glyphs: { left: { symbol: 'brace', space: 0.05, overhang: 0.2, annotations: [ { content: 'a', xPosition: 'left', yPosition: 'top', xAlign: 'right', yAlign: 'middle', offset: [-0.05, 0], }, { content: 'b', xPosition: 'left', yPosition: 'bottom', xAlign: 'right', yAlign: 'middle', offset: [-0.05, 0], }, ], }, }, }, }, },});@interface
Left/Right glyph options object.
A glyph can be to the left or right of an equation phrase (content). The glyph can also be annotated.
ggg CCCCCCCC ggg ggg CCCCCCCC ggg ggg CCCCCCCC ggg ggg CCCCCCCC gggExample
Example
Example