It is no secret that I’m a fan of .

Here is a good (if not the best) tutorial:

http://www.ctan.org/tex-archive/info/l**short**/english/l**short**.pdf

Here are a few examples of math(I can only show inline math in this blog so this stuff won’t look right in the post, but LaTeX has other equation typesetting features. Check the above link for more info):

- Integrals $\int_{-\infty}^{\infty}f(x)dx = 2$ becomes
- Fractions $\frac{x+1}{x+2}$ becomes
- Superscripts, subscripts, etc $\sum_{n=0}^{N}2n + 1$ becomes

As an example of other math formatting you would do:

\begin{equation}

\prod_{x = 2}^{10}2x+1

\end{equation}

Note that when you don’t typeset math inline with text, you omit the $ symbol and instead wrap the equation inside a \begin{equation}..\end{equation} pair.