Centered Math
The following uses latex and is centered:
\[a^2 + b^2 = c^2\]
Using \[...\] will center it.
Inline math
The following fits around other text: $x=0$, I can continue the text after the math like this \(x=0\).
Using $...$ or \(...\) keeps math inline with surrounding text.