Defining a LaTeX class for assignments from within Emacs