Generalized the templates a bit and put examples from sharelatex on the README