CS Assignment Template
About this template
A CS assignment in Source Sans and Source Code Pro with theorem-style solutions, algorithm2e pseudocode for divide and conquer, a recurrence, and a Dijkstra walkthrough.
Tags
What is in this template
Read from the source files of this template.
- Document class
article[11pt, a4paper]- Compiles with
- pdfLaTeX
- Pages in the compiled PDF
- 4
- Bibliography
- None
- Files
- 1 file: 1 .tex
- Packages
sourcesansprosourcecodeprogeometryxcolortitlesecbooktabstabularxarraylistingsamsmathamssymbamsthmalgorithm2efancyhdrtikzhyperref
\documentclass[11pt,a4paper]{article}
% --- Fonts ---
\usepackage{sourcesanspro}
\usepackage[scale=0.9]{sourcecodepro}
\renewcommand{\familydefault}{\sfdefault}
% --- Layout ---
\usepackage[margin=1in,headsep=14pt,footskip=24pt]{geometry}
\setlength{\parindent}{0pt}
\setlength{\parskip}{4pt plus 2pt minus 1pt}
% --- Colors ---
\usepackage[table]{xcolor}
\definecolor{accent}{HTML}{2563EB}
\definecolor{dark}{HTML}{1F2937}
\definecolor{lightgray}{HTML}{F3F4F6}
\definecolor{codebg}{HTML}{F8FAFC}
\definecolor{bordergray}{HTML}{D1D5DB}
% --- Headers ---
\usepackage{titlesec}
\titleformat{\section}
{\Large\bfseries\color{accent}}
{}{0pt}
{}
[\vspace{-4pt}\titlerule\vspace{6pt}]
\titlespacing{\section}{0pt}{16pt}{8pt}
\titleformat{\subsection}
{\large\bfseries\color{dark}}
{}{0pt}
{}
\titlespacing{\subsection}{0pt}{12pt}{4pt}
% --- Tables ---
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{array}Put this template on your own page
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.
[](https://letx.app/open?template=cs-assignment-template)<a href="https://letx.app/open?template=cs-assignment-template"><img src="https://letx.app/badges/open-in-letx.svg" alt="Open in LetX"></a>Frequently asked questions
What does the CS Assignment template load?
It uses the article class (options: 11pt, a4paper), builds with pdfLaTeX, and loads 16 packages, including sourcesanspro, sourcecodepro, geometry, xcolor, titlesec, booktabs, tabularx and array.
How long is the CS Assignment Template sample?
The compiled sample is 4 pages, from a single file. Replace the sample text with yours and the layout stays.
Is the CS Assignment 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 CS Assignment Template, free, in your browser, with real-time collaboration.