diff --git a/source/latex/uosdocs/uosdocs.dtx b/source/latex/uosdocs/uosdocs.dtx index 8397fff3f4b542fa48060791c327abbcd67c7400..f30af1bba63cdfd5891954a8c3b39de8c6b2c32e 100644 --- a/source/latex/uosdocs/uosdocs.dtx +++ b/source/latex/uosdocs/uosdocs.dtx @@ -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>