Math: Difference between revisions

From Burton Tech. Points Wiki
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 ==
== Common math commands ===
 
=== Superscript & Subscript ===


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>

Revision as of 15:23, 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> rendered:
Subscript: <math>x_{5+t}</math> rendered:
Both at the same time: <math>x_{5+t}^{5+y}</math> rendered:








123