From 5ec248b710a86c61c30758befb5a9cc27ae4c6ab Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Fri, 18 Jul 2025 15:04:58 +0200 Subject: [PATCH] thesis: Add List of Listings --- thesis/.gitignore | 1 + thesis/thesis.tex | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) 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