LaTeX Templates

If you would like to use LaTeX for homework, you can start by copying one of these templates, and then filling in your responses. This should prevent you from having to spend time on formatting.

To get up-and-running quickly, you can use the Overleaf online editor, which is essentially Google Docs but for LaTeX. They also have tutorials . You may prefer to install LaTeX to your computer, in which case you can use any text editor. For Emacs users, the AUCTeX plugin is very popular.

Navigation Menu

Search code, repositories, users, issues, pull requests..., provide feedback.

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly.

To see all available qualifiers, see our documentation .

  • Notifications You must be signed in to change notification settings

Typeset assignments and problem sets using LaTeX; typographically optimized for online submission

jstrieb/homework-template

Folders and files, repository files navigation, latex homework template for submitting online.

This simple LaTeX homework template consists of a class file and shortcut package that contain best-practice document style settings and shortcut commands (respectively). Designed specifically for typesetting solutions to math and computer science problem sets that will be graded online, this homework template is intended to make typing solutions as quick, painless, and visually consistent as possible.

In particular, the class is designed to be consistent with best-practices from the authoritative Elements of Typographic Style by Robert Bringhurst . By default, the text is set in the Palatino typeface, created by the late Hermann Zapf (who worked with Don Knuth to create some of the first digital typefaces for setting mathematics ). Palatino (via the mathpazo package with the osf option) was chosen specifically because it uses old-style figures for numbers outside of math mode, as opposed to the typical—improper—lining figures, which should ideally be exclusively reserved for setting math. It also contains tasteful small caps for setting the section headers that title each problem. Moreover, Palatino is a splendid face for digital reading in general.

Online Optimizations

At the time of this template's release, university classes are primarily being conducted remotely. As such, homework submission and grading are primarily performed digitally. This template includes a number of typographic optimizations that make homework assignments easy to read and grade using online platforms such as Gradescope:

  • Header with student information is included on every page for quick reference
  • Palatino typeface is optimized for digital reading at various sizes, unlike Computer Modern, the default LaTeX font
  • Page layout such that a moderately-sized solution can fit on a single page, set on letter paper
  • PDF metadata is automatically included
  • Microtype is employed to improve numerous typographic aspects of the text, maximizing readability and compactness

Minimal Example

The included example.tex utilizes some of the macros included in the class. The generated example.pdf provides a sample of what a multi-page typeset assignment might look like. Alternatively, open the example in Overleaf

Single-page example

Local Installation

  • Clone the repository and navigate to the proper directory.
  • Use the builtin Makefile target to try and install the class in a folder accessible to the local TeX distribution.
  • If the previous steps did not work, consult the sage wisdom of Stack Exchange for where to install the .cls and .sty files. In particular, this answer may be helpful. Note that both the homework.cls and hw-shortcuts.sty files should be moved to the same directory to make them accessible.

Overleaf & ShareLaTeX

Instead of using the template with a local tex installation, it is also possible to use the template with Overleaf/ShareLaTeX.

Download the repository as a zip file by clicking here , or by using the green "Clone" button near the top-right of this page.

Create a new project on Overleaf/ShareLaTeX and upload the zip file there.

Either create a new tex file, or overwrite the contents of the example.tex file to typeset your document.

The template is currently in the process of being added to the Overleaf gallery, after which a link will be available that allows for streamlined cloning and use. In the meantime, it may be possible to copy the project from this Overleaf project .

Usage & Notes

Once the installed, using the template is as simple as invoking homework as the designated document class and including some additional options. For example:

Document Class Options

The following key-value parameters are accepted by the document class at declaration.

  • name (required) – name of the student typing the assignment
  • num (required) – homework assignment number
  • course (required) – course identifier
  • andrewid (required) – Student ID (used for student email)
  • type (optional) – assignment type; defaults to "Homework"
  • emaildomain (optional) – email address domain to be used with student ID; defaults to cmu.edu

Math Shortcuts

To use the custom math shortcuts, use the hw-shortcuts package. This package does not take any parameters. The contents of the shortcuts package will likely change significantly over time as I add macros based on what is required for my homework. Most users will likely not want to use the math shortcuts without amendment, because they are fairly specific to the homework I have been doing.

  • Makefile 1.9%

Math Homework template for Latex

A custom .sty and template for college math homework.

Math Homework template for Latex

\begin { now }

Discover why 18 million people worldwide trust Overleaf with their work.

Sign up for free Explore all plans

BuÄŹte v kontaktu

Have you checked our knowledge base ?

Message sent! Our team will review it and reply by email.

Email: 

Mathematics assignment template

Template designed for answering multiple questions for an assignment/homework. It works fine for math homework, but also for text assignments. The theoretical background and the list of task are included.

This template was originally published on ShareLaTeX and subsequently moved to Overleaf in October 2019.

Mathematics assignment template

\begin { now }

Discover why 18 million people worldwide trust Overleaf with their work.

Sign up for free Explore all plans

Get in touch

Have you checked our knowledge base ?

Message sent! Our team will review it and reply by email.

Email: 

Assignments

Assignments, also known as homework, are usually given to school or university students to reinforce their knowledge of a subject and aid in learning. They are typically structured in question and answer form to be completed by the student consecutively.

math homework template latex

fphw Assignment

This template is for formatting assignments or homework in a clear and simple way. The title section at the top of the first page clearly displays the assignment, student and class information. This information also appears in the headers and footers of subsequent pages. Questions in the assignment are clearly demarcated and appear inside boxes to focus attention. The template features examples of including images, tables, equations and code listings for covering virtually all common assignment information. Multi-part questions and answers are shown for more complex questions.

  • View Template Information

Wenneker Assignment

This template can be used by teachers or students for school or university assignments. It contains a clear title section at the start to specify the assignment class, title, date and teacher/student name. The template supports up to 4 levels of sections to structure the assignment into sections, questions, subquestions and bonus content. Examples of common assignment content are included: figure, equations, lists, table, code and paragraphs of text.

Lachaise Assignment

This template is for teachers/instructors/educators to create assignments/homework for their students. It includes a clear title on the first page for the course, assignment and teacher’s name, as well as the institution and date. Sets of questions can be grouped by headings and the template includes examples of unnumbered and numbered sections, and numbered subsections (for longer assignments). Amongst the description text for each question, examples are provided for virtually any subject matter, including: equations, algorithms, code and command line outputs.

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.

math homework template latex

LaTeX Templates Information

General enquiries [email protected]

Most templates licensed under CC BY-NC-SA 4.0

LaTeX Templates is developed in Boston

© Creodocs Limited. All Rights Reserved.

IMAGES

  1. Latex Table Cheat Sheet

    math homework template latex

  2. A LaTeX Homework Template

    math homework template latex

  3. Doing Your Homework in LaTeX

    math homework template latex

  4. Latex Template For Homework

    math homework template latex

  5. Latex Hw Template

    math homework template latex

  6. Latex Math Homework Template

    math homework template latex

COMMENTS

  1. Simple Math Homework Template - Overleaf, Online LaTeX Editor

    %This is my super simple Real Analysis Homework template \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage[]{amsthm} %lets us use \begin{proof} \usepackage[]{amssymb} %gives us the character \varnothing \title{Homework 1} \author{Your Name} \date\today %This information doesn't actually show up on your document unless you use the maketitle command ...

  2. Example math homework (with solutions) - Overleaf, Online ...

    An online LaTeX editor that’s easy to use. No installation, real-time collaboration, version control, hundreds of LaTeX templates, and more.

  3. Templates - Journals, CVs, Presentations, Reports and More

    Homework Proof Template A template for a proof submitted as homework with student name, today's date, assignment number, assignment statement, and proof. Includes a function for aligning equals signs and has a box for the QED at the end of the proof.

  4. Math N55: LaTeX Templates

    LaTeX Templates. If you would like to use LaTeX for homework, you can start by copying one of these templates, and then filling in your responses. This should prevent you from having to spend time on formatting. HW 3; To get up-and-running quickly, you can use the Overleaf online

  5. LaTeX Math Homework Template - GitHub

    LaTeX Math Homework Template This repository contains a LaTeX template designed for math homework assignments. It provides a clean, professional layout with pre-defined environments for problems, solutions, remarks, and proofs.

  6. GitHub - jdavis/latex-homework-template: The LaTeX file ...

    🎓📄 The LaTeX file that I used as the base for all my homework in university. - jdavis/latex-homework-template

  7. LaTeX Homework Template for Submitting Online - GitHub

    This simple LaTeX homework template consists of a class file and shortcut package that contain best-practice document style settings and shortcut commands (respectively). Designed specifically for typesetting solutions to math and computer science problem sets that will be graded online, this homework template is intended to make typing ...

  8. Math Homework template for Latex - Overleaf

    A custom .sty and template for college math homework. An online LaTeX editor that’s easy to use. No installation, real-time collaboration, version control, hundreds of LaTeX templates, and more.

  9. Mathematics assignment template - Overleaf, Online LaTeX Editor

    Template designed for answering multiple questions for an assignment/homework. It works fine for math homework, but also for text assignments. The theoretical background and the list of task are included. This template was originally published on ShareLaTeX and subsequently moved to Overleaf in October 2019.

  10. Assignments - LaTeX Templates

    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.