@mathjax/src
    Preparing search index...

    Class HTMLMathItem<N, T, D>

    Implements the HTMLMathItem class (extends AbstractMathItem)

    Type Parameters

    • N

      The HTMLElement node class

    • T

      The Text node class

    • D

      The Document class

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _state: number = STATE.UNPROCESSED

    The current state of the item (how far in the render actions it has been processed)

    display: boolean

    True when this math is in display mode

    end: Location<N, T>

    Reference to the end of the math in the document

    inputData: OptionList = {}

    Data private to the input jax

    inputJax: InputJax<N, T, D>

    The input jax associated with this item

    math: string

    The source text for the math (e.g., TeX string)

    metrics: Metrics = ...

    The metric information about the surrounding environment

    outputData: OptionList = {}

    Data private to the output jax

    root: MmlNode = null

    The compiled internal MathML (result of InputJax)

    start: Location<N, T>

    Reference to the beginning of the math in the document

    typesetRoot: N = null

    The typeset result (result of OutputJax)

    Accessors

    • get isEscaped(): boolean

      Returns boolean

      True when this item is an escaped delimiter

    Methods

    • Insert the typeset MathItem into the document at the right location If the starting and ending nodes are the same: Split the text to isolate the math and its delimiters Replace the math by the typeset version Otherewise (spread over several nodes) Split the start node, if needed Remove nodes until we reach the end node Insert the math before the end node Split the end node, if needed Remove the end node

      Parameters

      Returns void