Strict Content MathML Editor
This editor helps to create Strict Content MathML 3.0 expressions.
Features
- Support of custom symbols, e.g. type
Umax
and get the single symbol Umax instead of the product Umax in the formula editor
- Support of SI prefixes and units
- Support of piecewise-defined expressions
- Automatic detection of integers, real numbers and rational numbers
Editor
Result
Strict Content MathML3:
This Strict Content MathML Editor is based on Guppy which is licensed under the MIT License.
Custom Symbols
You can define custom mathematical/physical symbols for later use in the formula.
Example:
By defining a custom symbol U_max
, you can type Umax
in the formula editor and get the single symbol Umax instead of the product Umax. In this case, the resulting MathML is <ci>Umax</ci>
.
Definition
You may use an underscore to separate the main symbol from a subscript.
Usage
To use a custom symbol, just enter its (case-sensitive) name in the editor.
If a symbol has a subscript, enter its name without underscore in the editor.
Installation
See README.md.
Usage
See README.md.
Supported Content Dictionaries
In Strict Content MathML 3.0, all mathematical concepts are grouped in content dictionaries.
Currently, this editor supports the following content dictionaries and concepts:
arith1
- abs
- divide
- minus
- plus
- power
- product
- root
- sum
- times
- unary_minus
calculus1
directives1
integer1
linalg2
logic1
- and
- false
- nand
- nor
- not
- or
- true
- xnor
- xor
norm1
nums1
piece1
- piece
- piecewise
- otherwise
prog1
- assignment
- block
- call_arguments
- def_arguments
- for
- global_var
- if
- function_block
- function_call
- function_definition
- local_var
- procedure_block
- procedure_call
- procedure_definition
- return
- while
relation1
rounding1
transc1
- arccos
- arcsin
- arctan
- cos
- cosh
- cot
- csc
- ln
- log
- sec
- sin
- sinh
- tan
- tanh
units_siprefix1
- yocto
- zepto
- atto
- femto
- pico
- nano
- micro
- milli
- centi
- deci
- deka
- hecto
- kilo
- mega
- giga
- tera
- peta
- exa
- zetta
- yotta
units_time1
- calendar_month
- calendar_year
SI_BaseUnits1
- ampere
- candela
- kelvin
- kilogram
- metre
- mole
- second
SI_NamedDerivedUnits1
- becquerel
- coulomb
- degree celsius
- farad
- gram
- gray
- henry
- hertz
- joule
- katal
- lumen
- lux
- newton
- ohm
- pascal
- radian
- siemens
- sievert
- steradian
- tesla
- volt
- watt
- weber
SIUsed_OffSystemUnits1
- bel
- day
- hour
- litre
- minute
- neper
- tonne
- degree of arc
- minute of arc
- second of arc