diff --git a/thesis/.gitignore b/thesis/.gitignore index 91383f3..0fd3359 100644 --- a/thesis/.gitignore +++ b/thesis/.gitignore @@ -14,6 +14,7 @@ *.lof *.log *.lot +*.lol *.mw *.out *.toc diff --git a/thesis/thesis.tex b/thesis/thesis.tex index e4f8e05..db06f67 100644 --- a/thesis/thesis.tex +++ b/thesis/thesis.tex @@ -159,10 +159,15 @@ \cleardoublepage % Start list of tables on the next empty right hand page. \listoftables % Starred version, i.e., \listoftables*, removes the toc entry. -% Use an optional list of alogrithms. +% Use an optional list of algorithms. \listofalgorithms \addcontentsline{toc}{chapter}{List of Algorithms} +% Use an optional list of listings. +\cleardoublepage +\listof{listing}{\listoflistingscaption} +\addcontentsline{toc}{chapter}{\listoflistingscaption} + % Add an index. \printindex