Homework Template

Jeff DavisUpdated Open Source
Open full PDF

 

About this template

Minimal homework template with problem-solution structure and clean formatting.

Preview

What is in this template

Read from the source files of this template.

Document class
article
Compiles with
pdfLaTeX
Pages in the compiled PDF
7
Bibliography
None
Files
8 files: 1 .tex, 7 images
Packages
  • fancyhdr
  • extramarks
  • amsmath
  • amsthm
  • amsfonts
  • tikz
  • algorithm
  • algpseudocode
The start of the preamble of main.tex, from its \documentclass line.
\documentclass{article}

\usepackage{fancyhdr}
\usepackage{extramarks}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{tikz}
\usepackage[plain]{algorithm}
\usepackage{algpseudocode}

\usetikzlibrary{automata,positioning}

%
% Basic Document Settings
%

\topmargin=-0.45in
\evensidemargin=0in
\oddsidemargin=0in
\textwidth=6.5in
\textheight=9.0in
\headsep=0.25in

\linespread{1.1}

\pagestyle{fancy}
\lhead{\hmwkAuthorName}
\chead{\hmwkClass\ (\hmwkClassInstructor\ \hmwkClassTime): \hmwkTitle}
\rhead{\firstxmark}
\lfoot{\lastxmark}
\cfoot{\thepage}

\renewcommand\headrulewidth{0.4pt}
\renewcommand\footrulewidth{0.4pt}

\setlength\parindent{0pt}

%
% Create Problem Sections

Put this template on your own page

Open in LetX

Paste this badge on a thesis guide, a course page or a README. One click opens the template as a new project in the reader's own LetX account.

Markdown
[![Open in LetX](https://letx.app/badges/open-in-letx.svg)](https://letx.app/open?template=jdavis-homework)
HTML
<a href="https://letx.app/open?template=jdavis-homework"><img src="https://letx.app/badges/open-in-letx.svg" alt="Open in LetX"></a>
About the Open in LetX badge

Frequently asked questions

What does the Homework template load?

It uses the article class, builds with pdfLaTeX, and loads 8 packages: fancyhdr, extramarks, amsmath, amsthm, amsfonts, tikz, algorithm and algpseudocode.

How long is the Homework Template sample?

The compiled sample is 7 pages, from 8 files: 1 .tex, 7 images. Replace the sample text with yours and the layout stays.

Is the Homework template free to use online?

Yes. "Open as Template" makes it your own LetX project: edit the LaTeX in the browser, invite collaborators to edit with you in real time, and download the compiled PDF. There is nothing to install.

More Assignments templates

\begin{now}

Start writing with Homework Template, free, in your browser, with real-time collaboration.