@sowiso/formulaeditor v1.0.11
SOWISO MathDox Formula Editor
This is a fork of the original mathdox editor maintained by TU Eindhoven.
Options
ancientOrbeon: if set to true: do not warn about old orbeon
contextParsingExpression: set to an object describing the context for the ExpressionParser
debug: is debug enabled ?
decimalMark: character for decimal mark
- '.' : use period as in US
- ',' : use comma as in Europe
dragPalette: if set to true: enable draggable Palette
floatNeedsLeadingZero: whether float values need a leading 0
- true (default): only parse 0.1 (not .1)
- false: parse both 0.1 and .1 as 0.1
fontSize: set font size
paletteHighlight: highlight Palette
- true (default): highlight Palette onmouseover
- false: do not highlight Palette
indentXML: indent created XML
inputStyle: set default style for Editor Canvases
modeArith1Divide: set mode for handling arith1.divide
- normal: automatically put unary minus and times expressions as enumerators
- restricted: only parse power and higher priority (default)
optionArith1PowerInversePrefix
- true : allow sin^-1(x) -> arcsin(x)
- false : (default)
optionArith1PowerPrefix
- true : allow sin^2(x)
- false : (default)
optionArith1UnaryMinusBrackets
- true: lower priority unary_minus, e.g. 1 + (-2)
- false: "normal" priority unary_minus e.g. 1 + -2 (default)
optionExplicitBrackets
- false: (default)
- true: add @brackets to openmath output when brackets are used (works only for OMA)
optionInterval1Brackets
- object with 4 strings
lo: left symbol for left-open interval
lc: left symbol for left-closed interval
ro: right symbol for right-open interval
rc: right symbol for right-closed interval
default: { lo: "(", lc: "", ro: ")", rc: "" }
optionListSeparatorFixed
- list separator for non-editable lists
default : same as getListSeparator()
optionResizeBrackets
- true : use Bracketed when loading openmath
- false : do not use Bracketed
NOTE: Bracketed can only be deleted completely.
optionVerboseStyle
- "true": add style to divide and times
- "false": (default)
onloadFocus: set focus on load
- true gives focus to the first formulaeditor
- as string gives focus to the formulaeditor corresponding to the
textarea with id
paletteCallBackNoFocus: set function for callback on no focus (no arguments)
paletteShow : default behaviour when showing palettes, choices :
- "all" gives a palette if not specified by class
- "none" gives no palette if not specified by class
- "id" creates a palette in the DOM parent specified with paletteShowId
- "one" (default) gives a palette if not specified by class when there
is none in the page yet,
paletteShowId: id for palette container
- : name of the container
- "" (default) : do not look for parent
paletteStyle: set default style for Palette Canvases
paletteURL: url for palette
styleArith1Times: behavior for times symbol
- "dot" show a middle dot (default)
- "cross" show a cross
- "star" show an asterisk
styleLinalg2Vector: behavior for row vector
- "column" (default) use a column
- "row" use a row (to be expected for a row vector)
styleTransc1Log: behavior for logarithm symbol
- "function" log(10, x)
- "prefix" ^10 log (x)
- "postfix" log_10(x)
undo: whether to enable experimental undo
- true (default): enable undo
- false: disable undo
useBar : enable Bar to turn palette on/off
- true (default): enable bar
- false: disable bar