LaTeX letter template + refactorings