add latex snippets