\documentclass[]{article}
\usepackage[utf8]{inputenc} % UTF-8 input please
\usepackage{libertine} % The best font
\usepackage{libertinust1math} % ... and its Math variant
\usepackage{inconsolata} % A sane monospace default
\usepackage{amsmath} % Misc. math stuff
\usepackage{amsthm} % Theorems etc.
% \usepackage{hyperref} % Clickable links
% \usepackage{cleveref} % \cref
\usepackage[inline]{enumitem} % inline enumeration
% \usepackage{subcaption} % Subfigures
\usepackage{booktabs} % Rules in tables
% \usepackage{tikz} % Graph figures
% \usetikzlibrary{fit,positioning,shapes} % ^.. libraries
% Packages we only need when writing:
% \usepackage{color} % Colors
% idk, tikz complained
% \usepackage{todo} % TODO: notes
\usepackage[left=1cm,
right=1cm,
top=2cm,
bottom=2cm,
% not A4
a5paper,
]{geometry} % Smaller page margins
\usepackage{parskip} % Maybe don't have indents for paragraphs
% \definecolor{lightgrey}{HTML}{f0f0f0}
\newtheorem{definition}{Definition}
\newtheorem{lemma}{Lemma}
% \crefname{definition}{Definition}{Definitions}
\newcommand{\dan}[1]{{\texttt{\color{blue} Dan: [{#1}]}}}
\newcommand{\martin}[1]{{\texttt{\color{red} Martin: [{#1}]}}}
\def\Exp{\mathbb{E}}
\newcommand{\algo}[1]{\textsc{#1}} % Style for algorithm names like `Union`
\newcommand{\algocall}[2]{\textsc{#1(\(#2\))}} % .. and if we want to call it: `Union(a, b)`
\title{Notes on Homology}
\author{Martin Hafskjold Thoresen}
\date{\today}
\begin{document}
\maketitle
\input{text.tex}
\input{algos.tex}
% \bibliographystyle{acm}
% \bibliography{bib}
\end{document}