Math: Difference between revisions
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
= Common math commands == | = Common math commands == | ||
Superscript: <syntaxhighlight lang="html5" inline><math>x^{5+y}</math></syntaxhighlight> rendered: <math>x^{5+y}</math> | Superscript: <syntaxhighlight lang="html5" inline><math>x^{5+y}</math></syntaxhighlight> rendered: <math>x^{5+y}</math><br> | ||
Subscript: <syntaxhighlight lang="html5" inline><math>x_{5+y}</math></syntaxhighlight> rendered: <math>x_{5+y}</math> | Subscript: <syntaxhighlight lang="html5" inline><math>x_{5+y}</math></syntaxhighlight> rendered: <math>x_{5+y}</math> | ||
Revision as of 15:20, 25 August 2022
Basics
To render any math equation, the math equation must be between <math></math> i.e., <math>f(x)=x^2</math> gives Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle f(x)=x^2}
.
Common math commands =
Superscript: <math>x^{5+y}</math> rendered: Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle x^{5+y}}
Subscript: <math>x_{5+y}</math> rendered: Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle x_{5+y}}
123Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle }