Line 4: | Line 4: | ||
Example: <math>a^2+b^2=c^2</math> | Example: <math>a^2+b^2=c^2</math> | ||
+ | |||
+ | Paul's Test | ||
+ | |||
+ | 2+3=5 | ||
+ | |||
For expontents, you want to use the ^ symbol. So <math>A^x</math> would be written like this: <code>A^x</code>. If the exponent contains more than one character, you need to encase them in curly brackets {} so <math>A^{xyz}</math> would be written like <code>A^{xyz}</code>. | For expontents, you want to use the ^ symbol. So <math>A^x</math> would be written like this: <code>A^x</code>. If the exponent contains more than one character, you need to encase them in curly brackets {} so <math>A^{xyz}</math> would be written like <code>A^{xyz}</code>. |
a2+b2=c2
Math functions need to be within either math tags \(a^2+b^2=c^2\)
or double dollar signs $$a^2+b^2=c^2$$
. The difference being, the math tag can be used inline and the double dollar sign will put the equation on it's own line and centered on the page.
Examplea2+b2=c2
Paul's Test
2+3=5
For expontents, you want to use the ^ symbol. So Ax would be written like this: A^x
. If the exponent contains more than one character, you need to encase them in curly brackets {} so Axyz would be written like A^{xyz}
.
For subscripts, you want to use the _ symbol. So Ax would be written like this: A_x
. If the subscript contains more than one character, you need to encase them in curly brackets {} so Axyz would be written like A_{xyz}
.
Operators work as expected, you can use + - * / within the math tags to add, subtract, multiply and divide. A+B*C/D
looks like A+B∗C/D
Symbols such as √ and π are written using LaTeX commands. The two used previously are \sqrt
and \pi
. A complete list of LaTeX symbols can be found here. So, for example if you typed this within math tags \sqrt[2]{144*2}
you would get this:2√144∗2
∑f(x)=F(x)+g(x)
√12∗32
A2+B2=C2
(n∑k=1akbk)2≤(n∑k=1a2k)(n∑k=1b2k)
Asv=(Asd∗Snw)−Ivol
Where: