LaTex is a program that will help you type math. Here are some LaTex
resources.
Introduction
to LaTex: installing and how to type.
Detexify: to find
a symbol you want to know.
WriteLatex.com no need to install
anything - typeset
online!
Templates: the tex file is here and output
is here.