Main Page: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
If you run your private wiki you can allow that users can input formulae | |||
in different input formats. | |||
Therefore you have to add <code>$wgMathEnableExperimentalInputFormats = true;</code> to your local config. | |||
Afterwards you can use two additional input modes which can be enabled via one of the following <code>type</code> attribute | |||
;MathML:<math | ;pmml: Presentation MathML | ||
;ascii: ASCIIMath | |||
For example asciimath input can be entered via | |||
:<code><nowiki><math type="ascii">d/dxf(x)=lim_(h->0)(f(x+h)-f(x))/h</math></nowiki></code> and look like <math type="ascii">d/dxf(x)=lim_(h->0)(f(x+h)-f(x))/h</math> | |||
= | |||
Revision as of 11:17, 11 July 2014
If you run your private wiki you can allow that users can input formulae
in different input formats.
Therefore you have to add $wgMathEnableExperimentalInputFormats = true;
to your local config.
Afterwards you can use two additional input modes which can be enabled via one of the following type
attribute
- pmml
- Presentation MathML
- ascii
- ASCIIMath
For example asciimath input can be entered via
<math type="ascii">d/dxf(x)=lim_(h->0)(f(x+h)-f(x))/h</math>
and look like Failed to parse (unknown error): {\displaystyle d/dxf(x)=lim_(h->0)(f(x+h)-f(x))/h}