figureone
    Preparing search index...

    Equation comment options used with topComment and bottomComment functions.

    A symbol between the content and comment is optional.

    Options can be an object, or an array in the property order below

    To test examples, append them to the boilerplate

    // Simple
    figure.add({
    name: 'eqn',
    make: 'equation',
    forms: {
    1: { topComment: ['radius', 'r = 1'] },
    },
    });
    figure.elements._eqn.showForm('1');
    // Some different comment examples
    figure.add({
    name: 'eqn',
    make: 'equation',
    elements: {
    bBkt: { symbol: 'bracket', side: 'bottom' },
    tBrc: { symbol: 'brace', side: 'top' },
    bSqr: { symbol: 'squareBracket', side: 'bottom' },
    },
    forms: {
    // Array equation
    1: { topComment: ['a \u00d7 b \u00d7 c', 'b = 1, c = 1', 'tBrc'] },
    // Object definition
    2: {
    bottomComment: {
    content: 'a \u00d7 b \u00d7 c',
    symbol: 'bBkt',
    comment: 'b = 1, c = 1',
    },
    },
    // Additional options for layout
    3: {
    bottomComment: {
    content: 'a \u00d7 b \u00d7 c',
    symbol: 'bSqr',
    comment: 'b = 1, c = 1',
    contentSpace: 0.1,
    commentSpace: 0.1,
    scale: 0.7,
    },
    },
    // Just comment
    4: {
    bottomComment: {
    content: 'a \u00d7 b \u00d7 c',
    comment: 'for a > 3',
    },
    },
    },
    formSeries: ['1', '2', '3', '4']
    });
    const eqn = figure.elements._eqn;
    eqn.onClick = () => eqn.nextForm();
    eqn.setTouchable();
    eqn.showForm('1');
    @interface