add several snippets for .tex files.