MathJax::Svg::PathsRenderer
Inherits Reference < Object
Constants
ACCENT_REMAP = {768 => 715, 769 => 714, 770 => 710, 771 => 732, 772 => 713, 774 => 728, 775 => 729, 776 => 168, 778 => 730, 780 => 711, 8594 => 8407, 8400 => 8636, 8401 => 8640, 8406 => 8592, 8417 => 8596, 8432 => 42, 8428 => 8641, 8429 => 8637, 8430 => 8592, 8431 => 8594}
AXIS = 0.25
BIGDIMEN = 1e6
BIN = 2
BOS1 = 0.111
BOS2 = 0.167
BOS3 = 0.2
BOS4 = 0.6
BOS5 = 0.1
CLOSE = 5
DELIM_FACTOR = 901
DELIM_SHORTFALL = 0.3
DENOM1 = 0.686
DENOM2 = 0.345
EXTRA_IC = 0.033
FACE_OF_VARIANT = {"normal" => "N", "bold" => "B", "italic" => "I", "bold-italic" => "BI", "double-struck" => "D", "fraktur" => "F", "bold-fraktur" => "BF", "script" => "C", "bold-script" => "BC", "sans-serif" => "SS", "bold-sans-serif" => "BSS", "sans-serif-italic" => "SSI", "sans-serif-bold-italic" => "SSBI", "monospace" => "M"}
mathvariant attr -> id-prefix (face names as in TexPaths)
HFUZZ = 0.1
INNER = 7
LARGEOPS = {'∑', '∏', '∐', '∫', '∬', '∭', '∮', '∯', '∮', '∰', '⋀', '⋁', '⋂', '⋃', '⨀', '⨁', '⨂', '⨄', '⨆'}
Chars the TeX mappings mark largeop+movablelimits (plus \int-like).
LIMIT_FUNCS = {"lim", "max", "min", "sup", "inf", "det", "dim", "liminf", "limsup", "proj", "arg", "gcd", "lcm", "mod", "bmod", "Pr"}
Function names that carry movablelimits in the TeX mappings.
MO_REMAP = {45 => 8722}
v3 FontData.defaultMoMap / defaultAccentMap — output-side remaps applied by the mo wrapper for single-character mo text.
NONE_C = -1
TeX classes (MmlNode.js TEXCLASS)
NULLELIM = 0.12
NUM1 = 0.676
NUM2 = 0.394
NUM3 = 0.444
OP = 1
OPEN = 4
ORD = 0
PUNCT = 6
REL = 3
RULE = 0.06
SCRIPT_SCALE = Math.sqrt(0.5)
MathML scriptsizemultiplier default: sqrt(1/2)
SCRIPTSPACE = 0.05
SEPARATION = 1.75
SKEW_IC = 0.75
SPACES = {0.0, 3 / 18, 4 / 18, 5 / 18}
SUB1 = 0.15
SUB2 = 0.247
SUB_DROP = 0.05
SUP1 = 0.413
SUP2 = 0.363
SUP3 = 0.289
SUP_DROP = 0.386
TEXSPACE = { {0, -1, 2, 3, 0, 0, 0, 1}, {-1, -1, 0, 3, 0, 0, 0, 1}, {2, 2, 0, 0, 2, 0, 0, 2}, {3, 3, 0, 0, 3, 0, 0, 3}, {0, 0, 0, 0, 0, 0, 0, 0}, {0, -1, 2, 3, 0, 0, 0, 1}, {1, 1, 0, 1, 1, 1, 1, 1}, {1, -1, 2, 3, 1, 0, 1, 1} }
MmlNode.js TEXSPACE[prevClass][texClass]: 0 = none, 1 = thin (3/18), 2 = medium (4/18), 3 = thick (5/18), -1 = no space.
VARIANT_FORM_CPS = {8242, 8243, 8244, 8279, 8463}
v3 variantForm symbols (\prime family, \hbar): rendered in '-tex-variant'
VCENTER = 8
VFUZZ = 0.1
X_HEIGHT = 0.442
FontData.js defaultParams (the TeX fonts don't override these)
Constructors
new(display : Bool = false)
SourceClass methods
call(node : Mml::Node, display : Bool = false) : String
SourceInstance methods
render(node : Mml::Node) : String
Source