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 6147117a authored by Edward Longman's avatar Edward Longman
Browse files

Add multiple supervisor and examiner support and fix \end{\macro}

parent c4e0e44f
......@@ -27,7 +27,7 @@
\ProvidesFile{uosdocs.drv}
%</driver>
%<*thesis|minithesis|progress|project|report|article|gdp|gdpsummary|driver>
[2018/12/20 v2.0
[2019/02/27 v2.1
%</thesis|minithesis|progress|project|report|article|gdp|gdpsummary|driver>
%<thesis|minithesis|progress|project|report|article|gdp|gdpsummary> LaTeX document class]
% \end{macrocode}
......@@ -574,12 +574,18 @@
%
% The various elements of the documents are defined
% as control sequences to make it easy to customize this
% style for other parts of the University.
% style for other parts of the University. When the
% command is run the other terms are defined by the args.
%
% The examiner and supervisor commands can be puralised
% so that it can print "Supervisors:". This is with an
% optional argument. [s] which will add and ``s'' to the
% word "Supervisor"
%
% \begin{macrocode}
%% --------------------- Organisational Structure ----------------------
\newcommand*{\supervisor}[1]{\def\supname{#1}}
\newcommand*{\examiner}[1]{\def\examname{#1}}
\newcommand*{\supervisor}[2][]{\def\supname{#2}\def\supplural{#1}}
\newcommand*{\examiner}[2][]{\def\examname{#2}\def\examplural{#1}}
\newcommand*{\degree}[1]{\def\degreename{#1}}
\newcommand*{\authors}[1]{\def\authornames{#1}}
\newcommand*{\qualifications}[1]{\def\quals{#1}}
......@@ -743,8 +749,8 @@
%</gdpsummary>
%<*minithesis|progress|project|gdp|gdpsummary>
\vfill
{\normalsize Supervisor: \supname \par}
{\normalsize Examiner: \examname \par}
{\normalsize Supervisor\supplural: \supname \par}
{\normalsize Examiner\examplural: \examname \par}
\vfill
\hspace{6mm}\parbox[t][51mm][s]{89mm}{
\center
......@@ -1069,7 +1075,7 @@
\addcontentsline{toc}{section}{#1}}
%</article>
% \end{macrocode}
% \end{\macro}
% \end{macro}
% \subsubsection{Table of Contents}
%
% \begin{macro}{\tableofcontents}
......@@ -1485,7 +1491,9 @@ Data: Author (Year) Title. URI [dataset]}
\addresses {\groupname\\\deptname\\\univname}
\date {\today}
%<*testminithesis|testprogress|testproject|testgdp|testgdpsummary>
% \supervisor[s] {Mr Beavis and Mrs S Supervisor}
\supervisor {Mr Beavis}
% \examiner[s] {Dr Butthead and Dr A.N. Other}
\examiner {Dr Butthead}
%</testminithesis|testprogress|testproject|testgdp|testgdpsummary>
%<*testproject>
......
......@@ -154,8 +154,8 @@
\let\\\space
}
%% --------------------- Organisational Structure ----------------------
\newcommand*{\supervisor}[1]{\def\supname{#1}}
\newcommand*{\examiner}[1]{\def\examname{#1}}
\newcommand*{\supervisor}[2][]{\def\supname{#2}\def\supplural{#1}}
\newcommand*{\examiner}[2][]{\def\examname{#2}\examplural{#1}}
\newcommand*{\degree}[1]{\def\degreename{#1}}
\newcommand*{\authors}[1]{\def\authornames{#1}}
\newcommand*{\qualifications}[1]{\def\quals{#1}}
......
......@@ -154,8 +154,8 @@
\let\\\space
}
%% --------------------- Organisational Structure ----------------------
\newcommand*{\supervisor}[1]{\def\supname{#1}}
\newcommand*{\examiner}[1]{\def\examname{#1}}
\newcommand*{\supervisor}[2][]{\def\supname{#2}\def\supplural{#1}}
\newcommand*{\examiner}[2][]{\def\examname{#2}\examplural{#1}}
\newcommand*{\degree}[1]{\def\degreename{#1}}
\newcommand*{\authors}[1]{\def\authornames{#1}}
\newcommand*{\qualifications}[1]{\def\quals{#1}}
......@@ -222,8 +222,8 @@
{\large A group design project report submitted for}
{\large the award of \par \degreename \par}
\vfill
{\normalsize Supervisor: \supname \par}
{\normalsize Examiner: \examname \par}
{\normalsize Supervisor\supplural: \supname \par}
{\normalsize Examiner\examplural: \examname \par}
\vfill
\hspace{6mm}\parbox[t][51mm][s]{89mm}{
\center
......
......@@ -152,8 +152,8 @@
\let\\\space
}
%% --------------------- Organisational Structure ----------------------
\newcommand*{\supervisor}[1]{\def\supname{#1}}
\newcommand*{\examiner}[1]{\def\examname{#1}}
\newcommand*{\supervisor}[2][]{\def\supname{#2}\def\supplural{#1}}
\newcommand*{\examiner}[2][]{\def\examname{#2}\examplural{#1}}
\newcommand*{\degree}[1]{\def\degreename{#1}}
\newcommand*{\authors}[1]{\def\authornames{#1}}
\newcommand*{\qualifications}[1]{\def\quals{#1}}
......@@ -220,8 +220,8 @@
{\large A group design project summary report submitted}
{\large for the award of \par \degreename \par}
\vfill
{\normalsize Supervisor: \supname \par}
{\normalsize Examiner: \examname \par}
{\normalsize Supervisor\supplural: \supname \par}
{\normalsize Examiner\examplural: \examname \par}
\vfill
\hspace{6mm}\parbox[t][51mm][s]{89mm}{
\center
......
......@@ -154,8 +154,8 @@
\let\\\space
}
%% --------------------- Organisational Structure ----------------------
\newcommand*{\supervisor}[1]{\def\supname{#1}}
\newcommand*{\examiner}[1]{\def\examname{#1}}
\newcommand*{\supervisor}[2][]{\def\supname{#2}\def\supplural{#1}}
\newcommand*{\examiner}[2][]{\def\examname{#2}\examplural{#1}}
\newcommand*{\degree}[1]{\def\degreename{#1}}
\newcommand*{\authors}[1]{\def\authornames{#1}}
\newcommand*{\qualifications}[1]{\def\quals{#1}}
......@@ -223,8 +223,8 @@
{\large A mini-thesis submitted for transfer from}
{\large MPhil to PhD \par}
\vfill
{\normalsize Supervisor: \supname \par}
{\normalsize Examiner: \examname \par}
{\normalsize Supervisor\supplural: \supname \par}
{\normalsize Examiner\examplural: \examname \par}
\vfill
\hspace{6mm}\parbox[t][51mm][s]{89mm}{
\center
......
......@@ -154,8 +154,8 @@
\let\\\space
}
%% --------------------- Organisational Structure ----------------------
\newcommand*{\supervisor}[1]{\def\supname{#1}}
\newcommand*{\examiner}[1]{\def\examname{#1}}
\newcommand*{\supervisor}[2][]{\def\supname{#2}\def\supplural{#1}}
\newcommand*{\examiner}[2][]{\def\examname{#2}\examplural{#1}}
\newcommand*{\degree}[1]{\def\degreename{#1}}
\newcommand*{\authors}[1]{\def\authornames{#1}}
\newcommand*{\qualifications}[1]{\def\quals{#1}}
......@@ -223,8 +223,8 @@
{\large A progress report submitted for continuation}
{\large towards a PhD \par}
\vfill
{\normalsize Supervisor: \supname \par}
{\normalsize Examiner: \examname \par}
{\normalsize Supervisor\supplural: \supname \par}
{\normalsize Examiner\examplural: \examname \par}
\vfill
\hspace{6mm}\parbox[t][51mm][s]{89mm}{
\center
......
......@@ -154,8 +154,8 @@
\let\\\space
}
%% --------------------- Organisational Structure ----------------------
\newcommand*{\supervisor}[1]{\def\supname{#1}}
\newcommand*{\examiner}[1]{\def\examname{#1}}
\newcommand*{\supervisor}[2][]{\def\supname{#2}\def\supplural{#1}}
\newcommand*{\examiner}[2][]{\def\examname{#2}\examplural{#1}}
\newcommand*{\degree}[1]{\def\degreename{#1}}
\newcommand*{\authors}[1]{\def\authornames{#1}}
\newcommand*{\qualifications}[1]{\def\quals{#1}}
......@@ -223,8 +223,8 @@
{\large A project report submitted for the}
{\large award of \par \degreename \par}
\vfill
{\normalsize Supervisor: \supname \par}
{\normalsize Examiner: \examname \par}
{\normalsize Supervisor\supplural: \supname \par}
{\normalsize Examiner\examplural: \examname \par}
\vfill
\hspace{6mm}\parbox[t][51mm][s]{89mm}{
\center
......
......@@ -154,8 +154,8 @@
\let\\\space
}
%% --------------------- Organisational Structure ----------------------
\newcommand*{\supervisor}[1]{\def\supname{#1}}
\newcommand*{\examiner}[1]{\def\examname{#1}}
\newcommand*{\supervisor}[2][]{\def\supname{#2}\def\supplural{#1}}
\newcommand*{\examiner}[2][]{\def\examname{#2}\examplural{#1}}
\newcommand*{\degree}[1]{\def\degreename{#1}}
\newcommand*{\authors}[1]{\def\authornames{#1}}
\newcommand*{\qualifications}[1]{\def\quals{#1}}
......
......@@ -158,8 +158,8 @@
\let\\\space
}
%% --------------------- Organisational Structure ----------------------
\newcommand*{\supervisor}[1]{\def\supname{#1}}
\newcommand*{\examiner}[1]{\def\examname{#1}}
\newcommand*{\supervisor}[2][]{\def\supname{#2}\def\supplural{#1}}
\newcommand*{\examiner}[2][]{\def\examname{#2}\examplural{#1}}
\newcommand*{\degree}[1]{\def\degreename{#1}}
\newcommand*{\authors}[1]{\def\authornames{#1}}
\newcommand*{\qualifications}[1]{\def\quals{#1}}
......
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