added latex snippets