Add some snippets for tex
Merge branch 'master' into mac