Editing Math Equations using TeX