Administrator approval is now required for registering new accounts. If you are registering a new account, and are external to the University, please ask the repository owner to contact ServiceLine to request your account be approved. Repository owners must include the newly registered email address, and specific repository in the request for approval.

Commit d6350c0c authored by Edward Longman's avatar Edward Longman
Browse files

Genericise the template names and sections

Clean up the not needed redefinitions as well
parent 6147117a
......@@ -1056,6 +1056,8 @@
% \subsubsection{Add to Table of Contents}
%
% \begin{macro}{\addtotoc}
% Get a better list of contents package
%
% Ensures numbering for sub-subsections in the table of contents, and provide
% for 6 levels to appear in toc. Define \texttt{addtotoc} to enable adding
% elements to the toc at chapter level, using a dummy counter to fix bookmarks
......@@ -1063,6 +1065,7 @@
%
% \begin{macrocode}
%<*thesis|minithesis|progress|project|report|gdp|article>
\usepackage[nottoc]{tocbibind} % Put the Lists, Glossary, Biblog and Idx in the contents
\addtocounter{secnumdepth}{1}
\setcounter{tocdepth}{6}
\newcounter{dummy}
......@@ -1388,52 +1391,23 @@ Data: Author (Year) Title. URI [dataset]}
% \section{Parts}
%
% \begin{macro}{\frontmatter}
%
% Modify \texttt{frontmatter}.
%
% \begin{macrocode}
%<*article>
\newcommand\frontmatter{ }
%</article>
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\mainmatter}
%
% Modify \texttt{mainmatter}.
%
% \begin{macrocode}
%<*article>
\newcommand\mainmatter{ }
%</article>
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\backmatter}
%
% Modify \texttt{backmatter} to add the bibliography to the table of contents.
% Define \texttt{frontmatter},\texttt{mainmatter},\texttt{backmatter} for the article class
% and rename the bibliography to something that makes more sense.
%
% \begin{macrocode}
%<*thesis|minithesis|progress|project|report|gdp>
\renewcommand\backmatter{
\if@openright
\cleardoublepage
\else
\clearpage
\fi
\addtotoc{\bibname}
\btypeout{\bibname}
\@mainmatterfalse}
%</thesis|minithesis|progress|project|report|gdp>
%<*article>
\newcommand\frontmatter{ }
\newcommand\mainmatter{ }
\newcommand\bibname{References}
\newcommand\backmatter{
\addtotoc{\bibname}
\btypeout{\bibname}
}
\newcommand\backmatter{}
%</article>
% \end{macrocode}
% \end{macro}
% \end{macro}
% \end{macro}
%
% \begin{macrocode}
%</thesis|minithesis|progress|project|report|article|gdp|gdpsummary>
......@@ -1478,14 +1452,20 @@ Data: Author (Year) Title. URI [dataset]}
\input{Definitions} % Include your abbreviations
%% ----------------------------------------------------------------
%% --------------------THESIS/DOC INFORMATION ---------------------
\department {School of [Insert school]}
\DEPARTMENT {\MakeUppercase{\deptname}}
\group {[Group name]}
\GROUP {\MakeUppercase{\groupname}}
\faculty {Faculty of [Insert faculty]}
\FACULTY {\MakeUppercase{\facname}}
\title {An Investigation into \dots}
%<*testthesis>
\authors {Steve R. Gunn} % Use of Soton Email unadvised, use ORCiD instead.
\authors {Insert name, for example, Sarah Alison Watson} % Use of Soton Email unadvised, use ORCiD instead.
%</testthesis>
%<*testminithesis|testprogress|testproject|testreport|testarticle|testgdp|testgdpsummary>
\authors {\texorpdfstring
{\href{mailto:S.R.Gunn@ecs.soton.ac.uk}{Steve R. Gunn}}
{Steve R. Gunn}
{\href{mailto:S.A.Watson@soton.ac.uk}{Name and email, for example, Sarah Alison Watson}}
{Name and email, for example, Sarah Alison Watson}
}
%</testminithesis|testprogress|testproject|testreport|testarticle|testgdp|testgdpsummary>
\addresses {\groupname\\\deptname\\\univname}
......@@ -1530,7 +1510,7 @@ This work is all about \dots
\listoffigures
\listoftables
%% The List of listings does not, by default, appear in the ToC, so....
\addtotoc{List of Listings}
\addtotoc{Listings}
\lstlistoflistings
%<*testthesis|testminithesis|testproject|testreport|testgdp>
%% ---------- AUTHORSHIP DECLARATION/ ACKNOW. / DEDICATORY ----------
......@@ -1545,7 +1525,8 @@ This work is all about \dots
\dedicatory{To \dots}
%</testthesis|testminithesis|testproject|testreport|testgdp>
%%Lightweight Definitions and Abbreviations see package:nomencl for alternative
\listofsymbols{ll}{$w$ & The weight vector}
%% Include if relevant to discipline
\listofsymbols{ll}{$w$ & The weight vector\\$\S$ & If relevant to discipline}
%</testthesis|testminithesis|testprogress|testproject|testreport|testgdp>
%</testthesis|testminithesis|testprogress|testproject|testreport|testarticle|testgdp>
%<*testthesis|testminithesis|testprogress|testproject|testreport|testarticle|testgdp|testgdpsummary>
......@@ -1565,8 +1546,16 @@ say not much at all
\appendix
\include{AppendixA}
\backmatter
%<*testthesis|testminithesis|testprogress>
\chapter{Glossary [if relevant]}
%</testthesis|testminithesis|testprogress>
\chapter{References}
To use list of references as well as the bibliography section use the \texttt{multibbl} package.
\bibliographystyle{uos}
\bibliography{UOS}
%<*testthesis|testminithesis|testprogress>
\chapter{Index [if relevant]}
%</testthesis|testminithesis|testprogress>
%</testthesis|testminithesis|testprogress|testproject|testreport|testgdp>
%<*testgdpsummary>
\section*{Introduction}
......@@ -1646,9 +1635,9 @@ It works.
%<*testarticle>
\acknowledgements{Thanks to no one.}
\backmatter
\appendix
\bibliographystyle{uos}
\bibliography{UOS}
\appendix
%</testarticle>
%<*appendix|testarticle>
%<*appendix>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment