fixed many LaTeX issues up to problem 59