added write & compile LaTeX