figureone
    Preparing search index...

    Bar equation symbol.

    The bar side defines where it can be used:

    • 'top', 'bottom': EQN_Bar (top and bottom sides), EQN_Comment, and EQN_LeftRightGlyph
    • 'left', 'right': EQN_Bracket, EQN_Bar (left and right sides), EQN_Matrix and EQN_TopBottomGlyph

    Note, as the default direciton is 'right', using the inline definition of arrow will only work with EQN_Bar (top and bottom sides), EQN_Comment, and EQN_LeftRightGlyph.

    
           >| |<---- lineWidth
            | |
            | |
            000
            000
            000
            000
            000
            000
            000
            000
            000
            000
            000
    
    
    // Define in element
    figure.add({
    make: 'equation',
    elements: {
    b: { symbol: 'bar', side: 'top' },
    },
    forms: {
    form1: { bar: ['a', 'b', false, 0.05, 0.03] },
    },
    });
    // Define inline simple one use
    figure.add({
    make: 'equation',
    forms: {
    form1: {
    bar: {
    content: 'a',
    symbol: 'bar',
    side: 'left',
    overhang: 0.1,
    },
    },
    },
    });
    // Define inline with reuse
    const eqn = figure.add({
    make: 'equation',
    forms: {
    form1: { bar: ['a', { bar: { side: 'top' } }, false, 0.05, 0.03] },
    form2: { bar: [['a', 'bc'], { bar: { side: 'top' } }, false, 0.05, 0.03] },
    },
    });
    eqn.animations.new()
    .goToForm({ delay: 1, target: 'form2', animate: 'move' })
    .start();
    // Define inline with customization
    figure.add({
    make: 'equation',
    forms: {
    form1: { bar: ['a', { bar: { side: 'top' } }, false, 0.05, 0.03] },
    },
    });
    @interface