Fixed some TeX errors