improve latex file