summaryrefslogtreecommitdiff
path: root/style/toc.tex
diff options
context:
space:
mode:
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}