lib/equation/Equation.js
// Prints an Equation properly using LaTeX
Prints an Equation properly using LaTeX
Prints an Equation properly using LaTeX
latex(showPlusMinus=false) {
    const leftSide = printNode.latex(this.leftNode, showPlusMinus);
    const rightSide = printNode.latex(this.rightNode, showPlusMinus);
    const comparator = this.comparator;
    return `${leftSide} ${comparator} ${rightSide}`;
  }
latex ( showPlusMinus = false ) { const leftSide = printNode . latex ( this . leftNode , showPlusMinus ) ; const rightSide = printNode . latex ( this . rightNode , showPlusMinus ) ; const comparator = this . comparator ; return ` ${ leftSide } ${ comparator } ${ rightSide } ` ; }
Prints an Equation properly using LaTeX
Prints an Equation properly using LaTeX