A template for mathematical works in LaTeX