From b6202a785ce486531826d23999971712c512c785 Mon Sep 17 00:00:00 2001
From: mjkwiatkowski <mati.rewa@gmail.com>
Date: Fri, 10 Jul 2026 21:41:05 +0200
Subject: feat: changed the TOC and added the preamble

---
 style/toc.tex | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 style/toc.tex

(limited to 'style/toc.tex')

diff --git a/style/toc.tex b/style/toc.tex
new file mode 100644
index 0000000..956a8f4
--- /dev/null
+++ b/style/toc.tex
@@ -0,0 +1,14 @@
+\setcounter{secnumdepth}{3}
+% Set to 1, suggested by Alexandru
+\setcounter{tocdepth}{1}
+% This is so that we can fit the entire TOC on one page
+\newgeometry{height=22cm, a4paper, hmargin={2in, 0.25in}, vmargin={1in, 1.65cm}}
+% Curcial for the bottom margin to remain 1.65 cm
+\thispagestyle{empty}
+{\small\tableofcontents}
+\restoregeometry
+%\listoffigures
+%\listoftables
+
+% Restores to normal numbers.
+\pagenumbering{arabic}
-- 
cgit v1.2.3

