MathJax::AsciiMath::Parser
Inherits Reference < Object
Constants
ACCENTS = {"hat" => "^", "bar" => "ˉ", "vec" => "→", "dot" => "˙", "ddot" => "¨", "ul" => "_"}
BIG_OPS = {"sum", "prod", "int", "oint", "coprod", "bigcup", "bigcap"}
FUNCS = {"sin", "cos", "tan", "csc", "sec", "cot", "sinh", "cosh", "tanh", "log", "ln", "lg", "exp", "det", "dim", "gcd", "hom", "ker", "sup", "inf", "max", "min", "lim", "arg", "deg", "arcsin", "arccos", "arctan"}
GREEK = ::MathJax::TeX::Symbols::CHARS.keys.select do |k| !k.empty? && k[0].ascii_lowercase? end.to_set
MULTI_OPS = ["<=>", "<->", "<=", ">=", "!=", "->", "=>", "~~", "**", "//", "<<", ">>", "...", "++", "--", "-="]
Constructors
new(string : String, display : Bool = false)
SourceClass methods
parse(input : String, display : Bool = false) : Mml::Node
Source