kpm template for LaTeX documents.