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

Add the List of Additional Materials page option.

This method is satisfactory but all of the custom pages should probably 
be moved to something like a tocloft implementation
parent a164caad
No related branches found
No related tags found
No related merge requests found
...@@ -1052,6 +1052,8 @@ ...@@ -1052,6 +1052,8 @@
% \end{macro} % \end{macro}
% %
% \subsection{Contents Pages} % \subsection{Contents Pages}
% Possibly all of these pages should be redone but using the tocloft package to reduce
% complexity in this style file.
% %
% \subsubsection{Add to Table of Contents} % \subsubsection{Add to Table of Contents}
% %
...@@ -1180,7 +1182,7 @@ ...@@ -1180,7 +1182,7 @@
% \end{macrocode} % \end{macrocode}
% \end{macro} % \end{macro}
% %
% \subsection{List of Symbols} % \subsubsection{List of Symbols}
% %
% \begin{macro}{\listsymbolname} % \begin{macro}{\listsymbolname}
% \begin{macro}{\listofsymbols} % \begin{macro}{\listofsymbols}
...@@ -1217,6 +1219,52 @@ ...@@ -1217,6 +1219,52 @@
% \end{macro} % \end{macro}
% \end{macro} % \end{macro}
% %
% \subsubsection{List of Additional Material}
%
% \begin{macro}{\addmaterialname}
% \begin{macro}{\listofaddmaterial}
% \begin{macro}{\addtolom}
%
% Provide a \texttt{listofaddmaterial} command to produce a list of additional material,
% the name can be changed with \verb|\addmaterialname{NewName}|
%
% Material can be added by using \verb|\addcontentsline{lom}{chapter}{Material Name}|
%
% \begin{macrocode}
\newcommand\addmaterialname{List of Additional Material}
\newcommand\listofaddmaterial{
\addtotoc{\addmaterialname}
\begin{spacing}{1}{
\setlength{\parskip}{1pt}
\if@twocolumn
\@restonecoltrue\onecolumn
\else
\@restonecolfalse
\fi
%<*thesis|minithesis|progress|project|report|gdp>
\chapter*{\addmaterialname
%</thesis|minithesis|progress|project|report|gdp>
%<*article>
\section*{\addmaterialname
%</article>
\@mkboth{
\MakeUppercase\addmaterialname}{\MakeUppercase\addmaterialname}}
\@starttoc{lom}
\if@restonecol\twocolumn\fi
%<*thesis|minithesis|progress|project|report|gdp>
\cleardoublepage
%</thesis|minithesis|progress|project|report|gdp>
}\end{spacing}
}
\newcommand\addtolom[1]{%
\addtocontents{lom}{\protect\contentsline{chapter}{\protect\numberline{}#1}{}{}}
}
% \end{macrocode}
%
% \end{macro}
% \end{macro}
% \end{macro}
%
% \subsection{Declaration of Authorship} % \subsection{Declaration of Authorship}
% \begin{macro}{\authorshipdeclaration} % \begin{macro}{\authorshipdeclaration}
% Taken from Modified Template by Lovell \ref{references} % Taken from Modified Template by Lovell \ref{references}
...@@ -1538,6 +1586,10 @@ There is no prescribed font, you should use a font appropriate to your disciplin ...@@ -1538,6 +1586,10 @@ There is no prescribed font, you should use a font appropriate to your disciplin
%% The List of listings does not, by default, appear in the ToC, so.... %% The List of listings does not, by default, appear in the ToC, so....
\addtotoc{Listings} \addtotoc{Listings}
\lstlistoflistings \lstlistoflistings
\listofaddmaterial
\addtolom{Material Name e.g Map}
\addtolom{Material Name e.g CD}
\addtolom{Test Material}
%<*testthesis|testminithesis|testproject|testreport|testgdp> %<*testthesis|testminithesis|testproject|testreport|testgdp>
%% ---------- AUTHORSHIP DECLARATION/ ACKNOW. / DEDICATORY ---------- %% ---------- AUTHORSHIP DECLARATION/ ACKNOW. / DEDICATORY ----------
%% Either include citations like below (as many as required spaced with commas or 'and'). %% Either include citations like below (as many as required spaced with commas or 'and').
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment