Cleese Assignment

This template comes in two versions, one for teachers/instructors/educators to create assignments/homework for their students to fill out by hand, and another for students proficient in LaTeX to answer questions posed to them at school or university/college. Both versions contain simple environments for each question and subquestion within, and allow answer boxes to be created with either an answer or blank for space to write an answer. Sets of questions can be grouped by headings and the template includes examples of including an image, table, equation and code within questions.

Description

This template comes in two versions, one for teachers/instructors/educators to create assignments/homework for their students to fill out by hand, and another for students proficient in LaTeX to answer questions posed to them at school or university/college. Both versions contain simple environments for each question and subquestion within, and allow answer boxes to be created with either an answer or blank for space to write an answer. Sets of questions can be grouped by headings and the template includes examples of including an image, table, equation and code within questions.

The students version of the template contains a title page for handing in the assignment and headers on each page list the class, assignment title, class instructor and student name, so if any page gets lost it can be easily attributed to the correct student later. The teachers version of the template does not have a title page as it is meant to be distributed to students individually on paper and lists the class, assignment title, class instructor and due date in the headers on each page.

Preview

  • Template Preview Image
  • Template Preview Image
  • Template Preview Image
  • Template Preview Image
  • Template Preview Image
  • Template Preview Image

Authorship

This template was created by Vel.

Current Version

v2.0 (May 27, 2018)

License

This template is licensed under a CC BY-NC-SA 3.0 license. Click here to see what this license means for your use of the template.

Usage Guide

Compilation

This template can be compiled with standard pdflatex but will require 2 compilations each time to correctly update the “Page X of Y” in the footer (only if the number of pages changes).

Custom Environments

There are two custom environments you need to use in this template, the question environment and the subquestion environment. Each question in the assignment should be in its own question environment and any subquestions should be placed in subquestion environments within. The question environment outputs a “Question 1” heading and the number iterates automatically for each new environment. subquestion environments have one argument which is the subquestion question, and each of these is output as “(a) Question…” where the letter is automatically iterated for each subquestion environment.

Custom Commands

A few custom commands are available to be used within the question/subquestion environments. \questiontext{[text]} is used to output a question within the question environment. It should typically be used as the first thing in a question environment but is not required (e.g. you may have a question that is entirely within a figure). \answerbox{[num lines]} is used primarily in the For Teachers version of the template to output an answer box with a height of the number of lines supplied to the single required parameter. It will break across pages automatically. \answer{[answer text]} is used primarily in the For Students version of the template to answer a question or subquestion. It will expand to fill whatever content is put into it and will break across pages automatically. Finally, \assignmentSection{[section title]} can be used in either template outside any question environment. It outputs an all-caps header with 2 rules on either side to act as a section title for the questions following it. It’s useful to group questions that are of a similar nature together.

Open Template for Free Editing Online

Download Template


Template last updated on: May 27, 2018