diff options
author | Karl Berry <karl@freefriends.org> | 2015-04-06 21:34:59 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-04-06 21:34:59 +0000 |
commit | 97ba464ea10fb58f4e44bef9f64513e47a3498a3 (patch) | |
tree | 585b5df6532d0bbdb4d4d8a37877572b8e99d0f6 /Master/texmf-dist/source/latex/bangorcsthesis | |
parent | 925f94240db08323153ef2909159b26ef4bb2f47 (diff) |
bangorcsthesis (6apr15)
git-svn-id: svn://tug.org/texlive/trunk@36727 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/bangorcsthesis')
-rw-r--r-- | Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx | 30 |
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] + } } % ************************************************** |