add arrow snippets from tex to pandoc. change \phi to \varphi for pandoc