DOC: issue 3685

Rewriting documentation in LaTeX syntax as mentioned in https://code.google.com/p/sympy/issues/detail?id=3685