Skip to content
Snippets Groups Projects
Commit 7d7ae3b6 authored by Edward Longman's avatar Edward Longman
Browse files

Improve the items in the table of contents

parent dfe47907
No related branches found
No related tags found
No related merge requests found
...@@ -1069,7 +1069,7 @@ ...@@ -1069,7 +1069,7 @@
% %
% \begin{macrocode} % \begin{macrocode}
\renewcommand\listoffigures{ \renewcommand\listoffigures{
\btypeout{List of Figures} \addtotoc{\listfigurename}
\begin{spacing}{1}{ \begin{spacing}{1}{
\setlength{\parskip}{1pt} \setlength{\parskip}{1pt}
\if@twocolumn \if@twocolumn
...@@ -1103,7 +1103,7 @@ ...@@ -1103,7 +1103,7 @@
% %
% \begin{macrocode} % \begin{macrocode}
\renewcommand\listoftables{ \renewcommand\listoftables{
\btypeout{List of Tables} \addtotoc{\listtablename}
\begin{spacing}{1}{ \begin{spacing}{1}{
\setlength{\parskip}{1pt} \setlength{\parskip}{1pt}
\if@twocolumn \if@twocolumn
...@@ -1206,8 +1206,7 @@ attributed; ...@@ -1206,8 +1206,7 @@ attributed;
\item where I have quoted from the work of others, the source is always given. With \item where I have quoted from the work of others, the source is always given. With
the exception of such quotations, this thesis is entirely my own work; the exception of such quotations, this thesis is entirely my own work;
\item I have acknowledged all main sources of help; \item I have acknowledged all main sources of help;
\item where and part of this \item where the thesis
thesis
is based on work done by myself jointly with others, I have is based on work done by myself jointly with others, I have
made clear exactly what was done by others and what I have contributed myself; made clear exactly what was done by others and what I have contributed myself;
\ifthenelse{\isempty{#1}} \ifthenelse{\isempty{#1}}
...@@ -1428,7 +1427,7 @@ PhD Thesis, pagination. } ...@@ -1428,7 +1427,7 @@ PhD Thesis, pagination. }
%% ---------------------------------------------------------------- %% ----------------------------------------------------------------
\begin{document} \begin{document}
%<*testthesis> %<*testthesis>
%% TODO: Check that the page numbering isn't destroyed %% TODO: Add ORCiD and DOI options
\pagenumbering{gobble} % removes page number \pagenumbering{gobble} % removes page number
\copyrightDeclaration{} % !!! Comment this line when printing the hardcopy !!! \copyrightDeclaration{} % !!! Comment this line when printing the hardcopy !!!
%</testthesis> %</testthesis>
...@@ -1461,6 +1460,8 @@ This work is all about \dots ...@@ -1461,6 +1460,8 @@ This work is all about \dots
\tableofcontents \tableofcontents
\listoffigures \listoffigures
\listoftables \listoftables
%% The List of listings does not, by default, appear in the ToC, so....
\addtotoc{List of Listings}
\lstlistoflistings \lstlistoflistings
\listofsymbols{ll}{$w$ & The weight vector} \listofsymbols{ll}{$w$ & The weight vector}
%</testthesis|testminithesis|testprogress|testproject|testreport|testarticle|testgdp> %</testthesis|testminithesis|testprogress|testproject|testreport|testarticle|testgdp>
...@@ -1483,6 +1484,13 @@ This work is all about \dots ...@@ -1483,6 +1484,13 @@ This work is all about \dots
%<*testthesis|testminithesis|testprogress|testproject|testreport|testgdp> %<*testthesis|testminithesis|testprogress|testproject|testreport|testgdp>
\include{Introduction} \include{Introduction}
\include{Conclusions} \include{Conclusions}
\begin{lstlisting}[caption=Without a title it doesn't appear in the table]
This is a test listing
It has several lines
That
say not much at all
\end{lstlisting}
\appendix \appendix
\include{AppendixA} \include{AppendixA}
\backmatter \backmatter
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment