-Adding tex corresponding to output from code