General templates for typesetting assignments and reports