Adding \documentclass and \begin{document} \end{document} snippets