move code for inserting TeX