Math: Difference between revisions
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
Superscript: <syntaxhighlight lang="html5" inline><math>x^{5+y}</math></syntaxhighlight> gives <math>x^{5+y}</math><br> | Superscript: <syntaxhighlight lang="html5" inline><math>x^{5+y}</math></syntaxhighlight> gives <math>x^{5+y}</math><br> | ||
Subscript: <syntaxhighlight lang="html5" inline><math>x_{5+t}</math></syntaxhighlight> gives <math>x_{5+t}</math><br> | Subscript: <syntaxhighlight lang="html5" inline><math>x_{5+t}</math></syntaxhighlight> gives <math>x_{5+t}</math><br> | ||
Together: <syntaxhighlight lang="html5" inline><math>x_{5+t}^{5+y}</math></syntaxhighlight> gives <math>x_{5+t}^{5+y}</math> | |||
=== Fractions & Radicals === | === Fractions & Radicals === |
Revision as of 15:32, 25 August 2022
Basics[edit]
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[edit]
Superscript & Subscript[edit]
Superscript: <math>x^{5+y}</math>
gives
Subscript: <math>x_{5+t}</math>
gives
Together: <math>x_{5+t}^{5+y}</math>
gives
Fractions & Radicals[edit]
Fractions: <math>\frac{1}{x}</math>
gives
Square root: <math>\sqrt{x+1}</math>
gives
General Radical: <math>$\sqrt[3]{64}=4</math>
gives
123