TeXpad

Coursework & Study

LaTeX homework template for problem sets

A problem-set template with a course header, a problem and solution structure, and amsmath plus amssymb already loaded. Write proofs with a live math preview, then hand in a PDF compiled by real pdfTeX.

Open in TeXpad, no signup → Download example PDF

Free · real pdfTeX in your browser · works offline · your files stay on your device

Page 1 of the Problem Set template, compiled with pdfTeX
Page 1, compiled with pdfTeX. This is the actual output.

Who it's for

Made for weekly graded assignments: one problem per section, statement in italics, then your solution. For notes you take in class, use the lecture notes template.

How to customize this template

  1. Change the course, problem set number, and Your Name in the header.
  2. Copy a \section*{Problem n} block per problem, with the statement in \textit{…}, then Solution. or Proof.
  3. Use \[ … \] for displayed equations and \begin{enumerate}\item[(a)] for lettered parts.
  4. List your collaborators at the end, since most courses require it.

When it looks right, press Download PDF. To take the .tex to Overleaf or a local TeX install, choose Export → LaTeX source.

The first lines of the source

\documentclass{article}
\usepackage{amsmath}
\usepackage{amssymb}

\begin{document}

\begin{center}
{\Large CS 6220: Machine Learning Theory} \\
Problem Set 4 \\
Your Name \\
\today
\end{center}

\hrule
\bigskip

\section*{Problem 1}
\textit{Show that the softmax function is invariant to adding a constant to all its inputs, and use this fact to derive a numerically stable implementation.}
…

Open the full template in the editor →

Related templates

Free LaTeX tools