General purpose latex template