Equation box
Place a EQN_BoxSymbol around an equation phrase
Options can be an object, or an array in the property order below
To test examples, append them to the boilerplate
// Simplefigure.add({ name: 'eqn', make: 'equation', forms: { 1: { box: ['a', 'box', true, 0.1] }, },});figure.elements._eqn.showForm('1'); Copy
// Simplefigure.add({ name: 'eqn', make: 'equation', forms: { 1: { box: ['a', 'box', true, 0.1] }, },});figure.elements._eqn.showForm('1');
// Some different box examplesfigure.add({ name: 'eqn', make: 'equation', elements: { box: { symbol: 'box' }, }, forms: { // Array equation 1: ['a', { box: ['b', 'box'] }, 'c'], // Object definition 2: { box: { content: ['a', 'b', 'c'], symbol: 'box', }, }, // Additional options for layout 3: { box: { content: ['a', 'b', 'c'], symbol: 'box', space: 0.2, }, }, // Box is included in the layout spacing 4: [ 'a', { box: { content: 'b', symbol: 'box', space: 0.2, inSize: true, }, }, 'c' ], }, formSeries: ['1', '2', '3', '4']});const eqn = figure.elements._eqn;eqn.onClick = () => eqn.nextForm();eqn.setTouchable();eqn.showForm('1');@interface Copy
// Some different box examplesfigure.add({ name: 'eqn', make: 'equation', elements: { box: { symbol: 'box' }, }, forms: { // Array equation 1: ['a', { box: ['b', 'box'] }, 'c'], // Object definition 2: { box: { content: ['a', 'b', 'c'], symbol: 'box', }, }, // Additional options for layout 3: { box: { content: ['a', 'b', 'c'], symbol: 'box', space: 0.2, }, }, // Box is included in the layout spacing 4: [ 'a', { box: { content: 'b', symbol: 'box', space: 0.2, inSize: true, }, }, 'c' ], }, formSeries: ['1', '2', '3', '4']});const eqn = figure.elements._eqn;eqn.onClick = () => eqn.nextForm();eqn.setTouchable();eqn.showForm('1');@interface
Equation box
Place a EQN_BoxSymbol around an equation phrase
Options can be an object, or an array in the property order below
See
To test examples, append them to the boilerplate
Example
Example