Equation padding options.
Pads the size of the equation phrase with space.
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: ['a', { pad: ['b', 0.1, 0.1, 0.1, 0.1] }, 'c'], },});figure.elements._eqn.showForm('1'); Copy
// Simplefigure.add({ name: 'eqn', make: 'equation', forms: { 1: ['a', { pad: ['b', 0.1, 0.1, 0.1, 0.1] }, 'c'], },});figure.elements._eqn.showForm('1');
// Some different padding examplesfigure.add({ name: 'eqn', make: 'equation', forms: { // No padding 1: ['a', 'b', 'c'], // Array form 2: ['a', { pad: ['b', 0.1, 0.1, 0.1, 0.1] }, 'c'], // Object form 3: [ 'a', { pad: { content: 'b', left: 0.3, right: 0.1, }, }, 'c', ], }, formSeries: ['1', '2', '3'],});const eqn = figure.elements._eqn;eqn.onClick = () => eqn.nextForm();eqn.setTouchable();eqn.showForm('1');@interface Copy
// Some different padding examplesfigure.add({ name: 'eqn', make: 'equation', forms: { // No padding 1: ['a', 'b', 'c'], // Array form 2: ['a', { pad: ['b', 0.1, 0.1, 0.1, 0.1] }, 'c'], // Object form 3: [ 'a', { pad: { content: 'b', left: 0.3, right: 0.1, }, }, 'c', ], }, formSeries: ['1', '2', '3'],});const eqn = figure.elements._eqn;eqn.onClick = () => eqn.nextForm();eqn.setTouchable();eqn.showForm('1');@interface
Equation padding options.
Pads the size of the equation phrase with space.
Options can be an object, or an array in the property order below
See
To test examples, append them to the boilerplate
Example
Example