Main Page: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
;ascii: ASCIIMath
;ascii: ASCIIMath
For example asciimath input can be entered via
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>
:<code><nowiki><math type="ascii">d/dxf(x)=lim_{(h->0)}(f(x+h)-f(x))/h</math></nowiki></code> and looks like <math type="ascii">d/dxf(x)=lim_{(h->0)}(f(x+h)-f(x))/h</math>

Revision as of 11:29, 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 looks like Failed to parse (unknown error): {\displaystyle d/dxf(x)=lim_{(h->0)}(f(x+h)-f(x))/h}