Math: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
To render any math equation, the math equation must be between <syntaxhighlight lang="html5" inline><math></math></syntaxhighlight> i.e., <syntaxhighlight lang="html5" inline><math>f(x)=x^2</math></syntaxhighlight> gives <math>f(x)=x^2</math>. | To render any math equation, the math equation must be between <syntaxhighlight lang="html5" inline><math></math></syntaxhighlight> i.e., <syntaxhighlight lang="html5" inline><math>f(x)=x^2</math></syntaxhighlight> gives <math>f(x)=x^2</math>. | ||
= | = 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> | ||
Subscript: <syntaxhighlight lang="html5" inline><math>x_{5+y}</math></syntaxhighlight> rendered: <math>x_{5+y}</math> | |||
<math> | <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 .
Common math commands =
Superscript: <math>x^{5+y}</math>
rendered:
Subscript: <math>x_{5+y}</math>
rendered:
123