cleaned up TeX code
Merge pull request #2 from empaisley/master

cleaned up TeX code