Math: Difference between revisions
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
Superscript: <syntaxhighlight lang="html5" inline><math>x^{5+y}</math></syntaxhighlight> rendered: <math>x^{5+y}</math><br> | 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+t}</math></syntaxhighlight> rendered: <math>x_{5+t}</math> | Subscript: <syntaxhighlight lang="html5" inline><math>x_{5+t}</math></syntaxhighlight> rendered: <math>x_{5+t}</math><br> | ||
Both at the same time: <syntaxhighlight lang="html5" inline><math>x_{5+t}^{5+y}</math></syntaxhighlight> rendered: <math>x_{5+t}^{5+y}</math> | |||
--- | |||
Revision as of 15:22, 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+t}</math> rendered:
Both at the same time: <math>x_{5+t}^{5+y}</math> rendered:
---
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 }