Fixed typos in latex.py