Improve LaTeX templates (snippets)