Equation scale
Scale 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: { 2: ['a', { scale: ['b', 2] }, 'c'], },});figure.elements._eqn.showForm('1');// Some different bracket examplesfigure.add({ name: 'eqn', make: 'equation', forms: { // Default 1: ['a', 'b', 'c'], // Array definition magnify 2: ['a', { scale: ['b', 2] }, 'c'], // Object definition shrink 3: [ 'a', { scale: { content: ['b', 1], scale: 0.5, }, }, 'c', ], // Back to start 4: ['a', { scale: ['b', 1] }, 'c'], }, formSeries: ['1', '2', '3']});const eqn = figure.elements._eqn;eqn.onClick = () => eqn.nextForm();eqn.setTouchable();eqn.showForm('1');@interface Copy
// Simplefigure.add({ name: 'eqn', make: 'equation', forms: { 2: ['a', { scale: ['b', 2] }, 'c'], },});figure.elements._eqn.showForm('1');// Some different bracket examplesfigure.add({ name: 'eqn', make: 'equation', forms: { // Default 1: ['a', 'b', 'c'], // Array definition magnify 2: ['a', { scale: ['b', 2] }, 'c'], // Object definition shrink 3: [ 'a', { scale: { content: ['b', 1], scale: 0.5, }, }, 'c', ], // Back to start 4: ['a', { scale: ['b', 1] }, 'c'], }, formSeries: ['1', '2', '3']});const eqn = figure.elements._eqn;eqn.onClick = () => eqn.nextForm();eqn.setTouchable();eqn.showForm('1');@interface
Equation scale
Scale 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