Class: TexExprParser

TexExprParser(s, startopt, endopt)

new TexExprParser(s, startopt, endopt)

Parameters:
Name Type Attributes Default Description
s string
start number <optional>
0
end number <optional>
Source:

Methods

parseFnCall(jsFn, texName)

Parse \name + arguments (brace or parens or \left...\right).

Parameters:
Name Type Description
jsFn string
texName string
Source:

parseTop() → {string}

Source:
Returns:

math.js subexpression

Type
string

readLeftRightBodyAfterLeftKeyword() → {Object}

After the \\left keyword has been consumed (\\ + name), read the opening delimiter and the body up to the matching \\right.

Source:
Returns:
Type
Object

readOneDelim()

Parse one delimiter character after \left / \right (e.g. ( ) [ ] | .)

Source: