90% of what you need is in "The Not So Short Introduction To Latex". If you have latex
installed, it's probably on your HD already:
file:/usr/share/texmf/doc/newhelpindex.html
file:/usr/share/texmf/doc/latex/latex2e-html/ltx-2.html
Then there's CTAN and TUG:
TUG
http://www.tug.org/tex-archive/help/Catalogue/bytopic.html
For math related stuff
For making nice graphs, check out JFreeChart. It's easy to use and makes nice graphs,
but you need to know some basic Java programming to use it.
Gentoo Forum Link