summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/bangorcsthesis
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/bangorcsthesis')
-rw-r--r--Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx30
1 files changed, 20 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx b/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx
index 68245cc536e..e869f890ff4 100644
--- a/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx
+++ b/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx
@@ -40,15 +40,16 @@
\end{document}
%</driver>
%\fi
-%\CheckSum{566}
+%\CheckSum{577}
%\RecordChanges
%\changes{v1.0}{2014/07/01}{Initial version.}
%\changes{v1.0.1}{2014/09/01}{Repackaged to remove external logo file.}
-%\changes{v1.2.0}{2015/03/18}{Added serif headings and compressed cite style}
+%\changes{v1.2.0}{2015/03/18}{Added serif headings and compressed cite style.}
+%\changes{v1.3.0}{2015/04/06}{Added small references style.}
%\pagestyle{fancy}
%\title{Bangor University Computer Science Department\\ Thesis Document Class}
%\author{Cameron Gray \texttt{<c.gray@bangor.ac.uk>}}
-%\date{March 18, 2015}
+%\date{April 6, 2015}
%\maketitle
%
%\begin{abstract}
@@ -185,11 +186,12 @@
%
%\ \\
%
-%\DescribeMacro{\references} This macro starts the appendices for the thesis and
+%\DescribeMacro{\references\\\oarg{small}} This macro starts the appendices for the thesis and
%generates an appropriately formatted `References' list. This differs from a
%Bibliography as it only contains items specifically cited in the thesis text whereas
%a Bibliography should contain everything that has been read/used during the
-%preparation of the thesis.
+%preparation of the thesis. If the small parameter is included, the font and spacing are
+%altered for the references section to present a more compact form.
%
%\ \\
%
@@ -254,11 +256,11 @@
% \end{macrocode}
%\fi
% \begin{macrocode}
-\def\version{1.2.0}
+\def\version{1.3.0}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{bangorcsthesis}[2015/03/18 \version C. Gray]
+\ProvidesClass{bangorcsthesis}[2015/04/06 \version C. Gray]
% Originally inspired by Clean Thesis
% - http://cleanthesis.der-ric.de/
@@ -452,10 +454,18 @@
}
}
-\newcommand{\references}{
+\DeclareDocumentCommand{\references}{ O{} }{%
\appendix
- \pagestyle{maincontentstyle}
- \printbibliography[heading=bibnumbered]
+ {
+ \ifthenelse{\equal{#1}{small}}{%
+ \renewcommand*{\bibfont}{\footnotesize}
+ \linespread{1.0}
+ \setlength\itemsep{1ex}
+ \setlength\bibitemsep{0.7\itemsep}
+ }{}
+ \pagestyle{maincontentstyle}
+ \printbibliography[heading=bibnumbered]
+ }
}
% **************************************************