joaotavora / yasnippet

A template system for Emacs
http://joaotavora.github.io/yasnippet/
2.81k stars 311 forks source link

special character #1189

Open aloispichler opened 10 months ago

aloispichler commented 10 months ago

I’d like to define snippets for LaTeX. As usual LaTeX commands, they should start with \. How is it possible, for example, to define a snippet which expands after \embed, say? That is, the key should be \embed, including the special character.