Adds custom tex snippets.
Fixes latex filetype.