Writing snippets for LaTeX


#1

I tried writing a snippet for LaTeX and I got a basic working example. However, I want to be able to include text like \usepackage{...} but I’ve found that if the snippet contains the characters \u anywhere in it then it throws an error. Anybody know how to get around this?


#2

See this comment regarding snippets for LaTeX on the snippets package: