summaryrefslogtreecommitdiff
path: root/style/toc.tex
diff options
context:
space:
mode:
authormjkwiatkowski <mati.rewa@gmail.com>2026-07-10 21:41:05 +0200
committermjkwiatkowski <mati.rewa@gmail.com>2026-07-10 21:41:05 +0200
commitb6202a785ce486531826d23999971712c512c785 (patch)
tree346cc89f739dfa13e16a45bb2ec040512a36a4a4 /style/toc.tex
parentefed2f678137467b6d317c61b88494979ed49109 (diff)
feat: changed the TOC and added the preamble
Diffstat (limited to 'style/toc.tex')
-rw-r--r--style/toc.tex14
1 files changed, 14 insertions, 0 deletions
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}