Fix the template of the latex-mode