Displaystyle: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Created page with "This is demopage. It is related to the Math extension of Mediawiki. ==Attribute:display== We introduce the new attribute display with the two options "inline" and "block". ==..." |
||
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 | |||
;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 looks like <math type="ascii">d/dxf(x)=lim_{h->0}(f(x+h)-f(x))/h</math> |
Latest revision as of 11:44, 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}