Script for creating templates for latex documents