LaTeX headers and templates