@mathjax/src
    Preparing search index...

    Item indicating an array is assembled. It collates cells, rows and information about column/row separator and framing lines.

    Hierarchy (View Summary)

    Index
    arraydef: { [key: string]: string | number | boolean } = {}

    Properties for special array definitions.

    atEnd: boolean = false

    True if adding extra columns at the end of a row

    breakAlign: { cell: string; row: string; table: string } = ...

    Data for setting cell/row/table alignment for when there are line breaks

    cend: string[] = []

    Insertions that go at the end of table entries (from <{...})

    cextra: boolean[] = []

    True for columns from @{...} and !{...}

    cstart: string[] = []

    Insertions that go at the beginning of table entries (from >{...})

    factory: default

    The factory for stack items.

    frame: [string, string][] = []

    Frame specification as a list of pairs of strings [side, style].

    global: EnvList = {}
    hfill: number[] = []

    Hfill value.

    parser: default

    The TeX parser that created this item

    ralign: [string, string, string][] = []

    Row alignments to specify on particular columns

    row: MmlNode[] = []

    The current row as a list of cells.

    rowLatex: string[] = []

    The LaTeX source for the content cells of the current row, used to reconstruct the data-latex attribute of the row (mtr/mlabeledtr) node.

    startI: number = 0
    startStr: string = ''
    stopI: number = 0
    table: MmlNode[] = []

    The table as a list of rows.

    templateSubs: number = 0

    Substitution count for template substitutions (to avoid infinite loops)

    errors: { [key: string]: [string, string] } = ...

    A list of basic errors.

    fail: CheckType = ...

    The fail value.

    success: CheckType = ...

    The success value.

    • get env(): EnvList

      Returns EnvList

      Get the private environment

    • set env(value: EnvList): void

      Set the private environment

      Parameters

      • value: EnvList

        New private environemt.

      Returns void

    • get isClose(): boolean

      Returns boolean

      True if item is an closing entity, i.e., it needs an opening counterpart already on the stack.

    • get isFinal(): boolean

      Returns boolean

      True if item is final, i.e., it contains one or multiple finished parsed nodes.

    • Adds a row-spacing to the current row (padding out the rowspacing if needed to get there).

      Parameters

      • spacing: string

        The rowspacing to use for the current row.

      Returns void

    • Captures the LaTeX source of this array/table environment (e.g., >{...}, <{...}, @{...}, or !{...}) before any entry-template substitutions are made.

      Parameters

      • parser: default

        The current parser, positioned right after \begin{name}, before the column-alignment argument (if any) has been read.

      • name: string

        The environment name (e.g., array, matrix).

      Returns void

    • Reconstructs the LaTeX source of a single table cell from the data-latex attributes of its content nodes.

      Parameters

      • mtd: MmlNode

        The mtd node whose content is reconstructed.

      Returns string

      The LaTeX source of the cell content.

    • Convenience method to create nodes with the node factory on this stack.

      Parameters

      • kind: string

        The kind of node to create.

      • ...rest: any[]

        The remaining arguments for the creation method.

      Returns MmlNode

      The newly created node.

    • Find the position of the corresponding \end{name} in the string starting right after the corresponding \begin{name} (skipping nested environments and braced groups).

      Parameters

      • parser: default

        The current TeX parser

      • name: string

        The environment name to look for.

      Returns number

      The index right after the matching \end{name}, or -1 if no matching end was found or if there is incorrect nesting of environments or braces.

    • Get the TeX string for the contents of the coming cell (if any)

      Returns [string, string, string, boolean]

      List of values for prefix, entry, term, found.

    • Get error messages for a particular types of stack item. This reads error messages from the static errors object, which can be extended in subclasses.

      Parameters

      • kind: string

        The stack item type.

      Returns [string, string]

      The component and id of the error message.

    • Stashes the original source when a table is opened as a fall-back value for data-latex if the the postprocessing filter decides the attribute is incorrect.

      Parameters

      Returns void

    • Check to see if there are column declarations that need extra content around the cell contents.

      Returns void