summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-06-20 22:23:22 +0000
committerKarl Berry <karl@freefriends.org>2016-06-20 22:23:22 +0000
commit3e8660b7e48a9dc877ff5690f1a0bb4f740215a7 (patch)
tree0f2b9848c4bde6292fd00f1cea39f51f5c9050d5 /Master
parentfb2abeda084752c0b5e4464f60631328e433c942 (diff)
aucklandthesis (20jun16)
git-svn-id: svn://tug.org/texlive/trunk@41506 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/aucklandthesis/README.txt27
-rw-r--r--Master/texmf-dist/doc/latex/aucklandthesis/aucklandthesis_userguide.pdfbin0 -> 711131 bytes
-rw-r--r--Master/texmf-dist/doc/latex/aucklandthesis/template.tex160
-rw-r--r--Master/texmf-dist/tex/latex/aucklandthesis/aucklandthesis.cls330
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check3
-rw-r--r--Master/tlpkg/tlpsrc/aucklandthesis.tlpsrc0
-rw-r--r--Master/tlpkg/tlpsrc/collection-publishers.tlpsrc1
7 files changed, 520 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/aucklandthesis/README.txt b/Master/texmf-dist/doc/latex/aucklandthesis/README.txt
new file mode 100644
index 00000000000..fa1f33a0a71
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/aucklandthesis/README.txt
@@ -0,0 +1,27 @@
+2016-06-11
+
+aucklandthesis.cls
+
+A class for formatting University of Auckland masters' and doctors' theses, with a user guide designed to complement introductory workshops taught at University of Auckland Libraries and Learning Services.
+
+Built on the Memoir class by Peter Wilson (maintained by Lars Madsen).
+
+Includes two further files:
+
+aucklandthesis_user_guide.pdf
+template.tex
+
+Copyright 2016 Alistair M. Kwan
+
+This class and template may be distributed
+and/or modified under the conditions of the LaTeX Project
+Public License, either version 1.3 of this license or
+(at your option) any later version. The latest version
+of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of
+LaTeX version 2005/12/01 or later.
+
+The user guide may be distributed and used under the conditions of
+the Creative Commons license CC BY—NC-ND. The latest version
+of this license is at https://creativecommons.org/licenses/
diff --git a/Master/texmf-dist/doc/latex/aucklandthesis/aucklandthesis_userguide.pdf b/Master/texmf-dist/doc/latex/aucklandthesis/aucklandthesis_userguide.pdf
new file mode 100644
index 00000000000..c0db3fd70c0
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/aucklandthesis/aucklandthesis_userguide.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/aucklandthesis/template.tex b/Master/texmf-dist/doc/latex/aucklandthesis/template.tex
new file mode 100644
index 00000000000..5f1bfb64deb
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/aucklandthesis/template.tex
@@ -0,0 +1,160 @@
+\documentclass[11pt]{aucklandthesis}
+%
+% This is a template for University of Auckland theses.
+%
+% Written by Alistair Kwan, June 2016
+%
+%
+% Options:
+% 10pt, 11pt, 12pt: size of main text
+% examcopy: asserts confidentiality for examination copies
+% partial: thesis partial fulfils degree requirements
+% singlespace, onehalfspace, doublespace: line spacing
+% oneside: format for single-sided printing
+% draft: adds 'draft' and date to footer
+%
+
+%
+% Add, delete or un-comment packages below as required.
+%
+
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+
+%\usepackage{graphicx} % for inserting graphics files
+%\usepackage{appendix} % for appendices
+
+%\usepackage{hyperref} % for formatting web addresses and other URLs
+%\urlstyle{same} % try also tt, sf if this option doesn't produce clear enough output
+
+% Readability options
+%
+%\usepackage{booktabs} % for table rules
+%\usepackage{microtype} % for improved justification
+
+% Typeface options — choose one if desired
+% or choose a different typeface to accommmodate character sets
+% as needed for East Asian and other languages.
+%
+% Consider compiling using the XeLaTeX engine if you have more extreme
+% typeface needs, e.g. for multiple languages, or a need for symbols particular
+% to a typeface.
+%
+% See also the LaTeX Symbols List at
+% https://http://www.ctan.org/pkg/comprehensive
+%
+%\usepackage{mathptmx} % Times New Roman, including mathematics
+%\usepackage{mathpazo} % Palatino with mathematics support
+%\usepackage{fourier} % Utopia, a serif typeface with Fourier mathematics
+%\usepackage{gentium} % a contemporary serif typeface
+%\usepackage{libertine} % a softer-feeling serif typeface; also installs sans-serif font Biolinum
+%\usepackage{fouriernc} % Century Schoolbook with Fourier maths
+%\usepackage{mathpple} % Palatino with Fourier maths
+
+
+% To set the sans serif font (for \sffamily):
+%\usepackage[scaled]{helvet} % Nimbus, like Helvetica
+%\usepackage{universalis} % Universalis
+%\usepackage{avant} % URW Gothic, like Avant Garde
+%\usepackage{PTSansNarrow}
+%\usepackage{AlegreyaSans} % Alegreya Sans
+
+% To set the mathematics font:
+%\usepackage{eulervm} % Euler, based on a Zapf design
+
+% To set the (usually monospaced) typewriter font:
+%\usepackage[ttdefault=true]{AnonymousPro}
+%\usepackage[scaled]{beramono}
+%\usepackage{inconsolata}
+%\usepackage{sourcecodepro}
+
+%\usepackage{cjk} % for Chinese, Japanese, Korean
+
+%\usepackage{tabularx} % For easier table formatting.
+
+%\usepackage[nottoc]{tocbibind} % Controls the table of contents
+% nottoc: don't list table of contents inside itself
+% section: go as far as section-level headings
+
+% Automated bibliography
+%
+%\usepackage[
+% style=authortitle,
+% citestyle=authortitle,
+% backend=biber
+% ]
+% {biblatex}
+%bibliography{bibliography1.bib, bibliography2.bib} % Specify bibliography files
+
+\begin{document}
+
+% ====================================================
+%
+% FRONTMATTER
+%
+% Arabic pagination, starting with the title page
+% which is counted but not numbered
+%
+% ====================================================
+
+% Specify the title page content
+\title{[thesis title]}
+\subtitle{[subtitle]}
+\author{[candidate's name]}
+\degreesought{[degree]}
+\degreediscipline{[discipline]}
+\degreecompletionyear{[year]}
+
+% Print the title page
+\maketitle
+
+% Abstract, up to 350 words
+%\input{abstract} % it's in a separate file
+
+% Dedication (optional)
+%\thesisdedication{Dedicated to grandma, and to grammar.}
+
+% Preface and/or acknowledgements (optional)
+%\input{acknowledgements} % it's in a separate file
+
+% Contents, lists of tables and figures
+\settocdepth{section} % choose chapter, section, subsection \cleardoublepage\tableofcontents
+%\cleardoublepage\listoffigures
+%\cleardoublepage\listoftables
+
+% Glossary (optional)
+%\input{glossary}
+
+% ====================================================
+%
+% MAINMATTER
+%
+% Include external chapter files here using
+% the \input{} command
+%
+% If you run out of memory during compilation,
+% switch some or all chapters to \include{} instead of \input{},
+% but watch out for pagination problems.
+%
+% ====================================================
+
+%\input{chapter1} % I hope that you have better titles than this
+%\input{chapter2}
+%\input{chapter3}
+
+% ====================================================
+%
+% ENDMATTER
+%
+% Appendices and bibliography
+% Pagination arabic, re-starts at 1
+%
+% ====================================================
+\cleardoublepage % start afresh on a new page
+\setcounter{page}{1} % re-sets the page counter
+%\appendixpage* % makes a page to mark beginning of appendices
+% \input{appendix1}
+
+%\printbibliography[title={Works cited}, heading=bibintoc]
+
+\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/aucklandthesis/aucklandthesis.cls b/Master/texmf-dist/tex/latex/aucklandthesis/aucklandthesis.cls
new file mode 100644
index 00000000000..29629db352c
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/aucklandthesis/aucklandthesis.cls
@@ -0,0 +1,330 @@
+% University of Auckland thesis class
+%
+% aucklandthesis.cls
+%
+% built on memoir.cls by Peter Wilson, Lars Madsen
+%
+% Written for broader applicability
+% across disciplines by
+% Alistair Kwan
+% Centre for Learning & Research in Higher Education
+% University of Auckland
+%
+% Version of 2016-06-11
+%
+% Accommodates theses for the PhD and some other degrees.
+%
+% This class does not intervene much — font and
+% chapter heading customisation are left for
+% user to determine, as is the choice to compile
+% using XeLaTeX or LuaTeX.
+%
+% Incorporates code snippets from the Memoir class manual.
+%
+% This file may be distributed and/or modified under the conditions of
+% the LaTeX Project Public License, either version 1.2 of this license
+% or (at your option) any later version. The latest version of this
+% license is in:
+%
+% http://www.latex-project.org/lppl.txt
+%
+% and version 1.2 or later is part of all distributions of LaTeX version
+% 1999/12/01 or later.
+%
+
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{aucklandthesis}
+ [2016/06/11 University of Auckland thesis class]
+\newif\ifUa@examcp
+\newif\ifUa@singlesp
+\newif\ifUa@onehalfsp
+\newif\ifUa@doublesp
+\newif\ifUa@partialfulfilment
+\newif\ifUa@subtitle
+
+\Ua@examcpfalse
+\Ua@onehalfspfalse
+\Ua@doublespfalse
+\Ua@partialfulfilmentfalse
+\Ua@subtitlefalse
+
+\DeclareOption{doublespace}{\Ua@doublesptrue}
+\DeclareOption{singlespace}{\Ua@singlesptrue}
+\DeclareOption{onehalfspace}{\Ua@onehalfsptrue}
+\DeclareOption{examcopy}{\Ua@examcptrue}
+\DeclareOption{partial}{\Ua@partialfulfilmenttrue}
+%\DeclareOption{draft} option already exists
+%\DeclareOption{twoside}{\PassOptionsToPackage{twoside}{geometry}}
+
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{memoir}}
+
+%\ExecuteOptions{oneside}
+\ProcessOptions\relax
+
+\LoadClass{memoir}
+
+% Set page dimensions
+\setlrmarginsandblock{4cm}{4cm}{*}
+\setulmarginsandblock{3cm}{4cm}{*}
+\setheadfoot{\baselineskip}{3\baselineskip}
+\setheaderspaces{*}{2\baselineskip}{*}
+\setmarginnotes{3mm}{3cm}{6pt}
+\checkandfixthelayout
+\fixpdflayout
+
+% Typeface: leave the author to choose
+
+\midsloppy % author can override with fussy or sloppy
+\sloppybottom % for fewer widows and orphans
+
+% Constrain excessive subdivisional numberings
+\setsecnumdepth{subsubsection}
+
+% Title page
+\def\@title{}
+\def\@subtitle{\relax}
+\def\subtitle#1{
+ \gdef\@subtitle{#1}
+ \sbox0{#1}%
+ \ifdim\wd0=0pt %
+ \Ua@subtitlefalse%
+ \else%
+ \Ua@subtitletrue%
+ \fi%
+}
+\def\@author{}
+\def\degreesought#1{\gdef\@degreesought{#1}}
+\def\@degreesought{\@latex@error{No \noexpand\degreesought given}\@ehc}
+\def\degreediscipline#1{\gdef\@degreediscipline{#1}}
+\def\@degreediscipline{\@latex@error{No \noexpand\degreediscipline given}\@ehc}
+\def\degreecompletionyear#1{\gdef\@degreecompletionyear{#1}}
+\def\@degreecompletionyear{\@latex@error{No \noexpand\degreecompletionyear given}\@ehc}
+
+\renewcommand{\maketitle}{
+ \cleardoublepage
+ \thispagestyle{empty}
+ \enlargethispage{1cm}
+ \setcounter{page}{1}
+ \noindent\hrulefill
+
+ \noindent\begin{minipage}[t][0.3\textheight][t]{\textwidth}
+ \vspace*{\fill}
+ \begin{center}
+ \Huge \@title \par
+ \ifUa@subtitle
+ \huge \vspace{0.5\baselineskip} \@subtitle \par
+ \else \relax
+ \fi
+ \end{center}
+ \vspace*{\fill}
+ \end{minipage}
+
+ \vfill
+
+ \noindent\begin{minipage}[t][0.3\textheight][t]{\textwidth}
+ \vspace*{\fill}
+ \begin{center}
+ \large
+ \@author
+ \end{center}
+ \vspace*{\fill}
+ \end{minipage}
+
+ \vfill
+
+ \noindent\begin{minipage}[t][0.3\textheight][t]{\textwidth}
+ \vspace*{\fill}
+ \begin{center}
+ \normalfont
+ A thesis submitted in
+ \ifUa@partialfulfilment
+ partial
+ \fi
+ fulfilment of the requirements for the degree of
+
+ \@degreesought\
+ in
+ \@degreediscipline,
+
+ The University of Auckland,
+ \@degreecompletionyear.
+
+ \ifUa@examcp
+ \bigskip
+ \textbf{This thesis is for examination purposes only,}
+
+ \textbf{and is confidential to the examination process.}
+ \fi
+ \end{center}
+ \vspace*{\fill}
+ \end{minipage}
+
+ \noindent\hrulefill
+
+ \clearpage
+ \killtitle
+ \mainmatter
+}
+
+% Command for dedication page
+\newcommand\thesisdedication[1]{
+ \cleardoublepage
+\thispagestyle{plain}
+\vspace*{\fill}
+\begin{center}
+#1
+\end{center}
+\vspace*{\fill}
+\vspace*{\fill}
+}
+
+% line spacing
+\renewcommand\mainmatter{
+ \ifUa@doublesp
+ \DoubleSpacing%
+\else\ifUa@singlesp
+ \SingleSpacing%
+\else
+ \OnehalfSpacing
+\fi%
+\fi
+}
+
+\renewcommand\backmatter{
+ \clearpage
+ \setcounter{page}{0}
+}
+
+\frenchspacing
+
+
+
+\nouppercaseheads
+\createmark{chapter}{both}{nonumber}{}{}
+\createmark{section}{right}{nonumber}{}{}
+
+% Pagestyle: Forder
+\copypagestyle{Forder}{myheadings}
+\makerunningwidth{Forder}{1.2\textwidth}
+\makeheadposition{Forder}{flushright}{flushleft}{}{}
+\makeoddhead{Forder}{}{}{\itshape{\rightmark}\makebox[0.2\textwidth]{\quad\normalfont\thepage\hfill}}
+\makeevenhead{Forder}{\makebox[0.2\textwidth]{\hfill\thepage\quad}\emph{\leftmark}}{}{}
+\makepsmarks{Forder}{
+ \nouppercaseheads
+ \createmark{chapter}{both}{nonumber}{}{}
+ \createmark{section}{right}{nonumber}{}{}
+ }
+
+% Chapter style: Forder
+\makechapterstyle{Forder}{%
+ \renewcommand\chaptername{chapter}
+ \def\chapterheadstart{\vspace*{\beforechapskip}}
+ \def\printchaptername{\SingleSpacing\center\chapnamefont --- \@chapapp}
+ \def\chapternamenum{\space}
+ \def\printchapternum{\chapnumfont \NumToName{\value{chapter}}}
+ \def\printchapternum{\chapnumfont \roman{chapter} ---}
+ \def\afterchapternum{\par\nobreak\vskip\midchapskip}
+ \def\printchapternonum{}
+ \def\printchaptertitle##1{\begin{center}\SingleSpace\chaptitlefont ##1\end{center}}
+ \def\afterchaptertitle{\par\nobreak\vskip \afterchapskip}
+ \renewcommand*{\chapnamefont}{\normalfont\Large\scshape}
+ \renewcommand*{\chapnumfont}{\chapnamefont}
+ \renewcommand*{\chaptitlefont}{\normalfont\Huge\scshape\MakeLowercase}
+ \setlength{\beforechapskip}{50pt}
+ \setlength{\midchapskip}{20pt}
+ \setlength{\afterchapskip}{60pt}
+ %
+ \setsecnumdepth{section}
+ \renewcommand*\thesection{\arabic{section}}
+ %
+ \setsechook{\hangsecnum}
+ \setaftersecskip{3pt}
+ \setsecheadstyle{\raggedright\Large\scshape}
+ \setbeforesecskip{-1.5\onelineskip}
+ \setaftersecskip{0.5\onelineskip}
+ %
+ \setsubsechook{\defaultsecnum}
+ \setsubsecheadstyle{\raggedright\large\bfseries}
+ \setbeforesubsecskip{-\onelineskip}
+ \setaftersubsecskip{0.5\onelineskip}
+ %
+ \setsubsubsecheadstyle{\raggedright\itshape}
+ \setbeforesubsubsecskip{-\onelineskip}
+ \setaftersubsubsecskip{0.5\onelineskip}
+ %
+ \pagestyle{Forder}
+}
+
+% Page style: Sewell
+\copypagestyle{Sewell}{myheadings}
+\makeoddhead{Sewell}{\itshape{\rightmark}}{}{\thepage}
+\makeevenhead{Sewell}{\thepage}{}{\itshape{\thechapter. \leftmark}}
+\makeheadrule{Sewell}{\textwidth}{0.5pt}
+\makepsmarks{Sewell}{
+ \nouppercaseheads
+ \createmark{chapter}{both}{nonumber}{}{}
+ \createmark{section}{right}{nonumber}{}{}
+ }
+
+% Chapter style: Sewell
+\makechapterstyle{Sewell}{%
+ \renewcommand\chaptername{Chapter}
+ \def\chapterheadstart{\vspace*{\beforechapskip}}
+ \def\printchaptername{\SingleSpacing\flushright \chapnamefont \@chapapp}
+ \def\chapternamenum{\space}
+ \def\printchapternum{\chapnumfont\numtoName{\value{chapter}}}
+ \def\afterchapternum{\par\nobreak \hrulefill\par\vskip\midchapskip}
+ \def\printchapternonum{}
+ \def\printchaptertitle##1{\SingleSpacing\raggedright\chaptitlefont ##1}
+ \def\afterchaptertitle{\par\nobreak\vskip \afterchapskip}
+ \renewcommand*{\chapnamefont}{\normalfont\Large\scshape}
+ \renewcommand*{\chapnumfont}{\chapnamefont}
+ \renewcommand*{\chaptitlefont}{\normalfont\Huge\itshape}
+ \setlength{\beforechapskip}{50pt}
+ \setlength{\midchapskip}{12pt}
+ \setlength{\afterchapskip}{60pt}
+ %
+ \setsecnumdepth{chapter}
+ %
+ \setsecheadstyle{\center\Large\scshape\MakeLowercase}
+ \setbeforesecskip{-1.5\onelineskip}
+ \setaftersecskip{0.5\onelineskip}
+ %
+ \setsubsecheadstyle{\center\large\bfseries}
+ \setbeforesubsecskip{-\onelineskip}
+ \setaftersubsecskip{0.01\onelineskip}
+ %
+ \setsubsubsecheadstyle{\center\itshape}
+ \setbeforesubsubsecskip{-\onelineskip}
+ \setaftersubsubsecskip{0.01\onelineskip}
+ %
+ \pagestyle{Sewell}
+}
+
+
+% uppercase chapter entries in ToC, hyperref-friendly
+%\makeatletter
+%\renewcommand*{\l@chapter}[2]{%
+% \l@chapapp{\uppercase{#1}}{#2}{\cftchaptername}}
+%\makeatother
+
+\renewcommand\cftchapterfont{\scshape}
+\setlength\cftsubsectionindent{6em}
+\renewcommand\cftsubsectionfont{\itshape}
+
+\AtBeginDocument{%
+% Mark drafts in page footer
+\ifdraftdoc
+ \makeevenfoot{plain}{\textit{Draft}}{\thepage}{\textit\today}
+ \makeoddfoot{plain}{\textit{Draft}}{\thepage}{\textit\today}
+ \makeevenfoot{myheadings}{\thepage}{\textit{Draft: \today}}{}
+ \makeoddfoot{myheadings}{}{\textit{Draft: \today}}{\thepage}
+ \nouppercaseheads
+ \createmark{chapter}{both}{nonumber}{}{}
+ \createmark{section}{right}{nonumber}{}{}
+\fi
+}
+
+
+\endinput
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index abd283adc64..b3ae53b9f3d 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -49,7 +49,8 @@ my @TLP_working = qw(
assignment assoccnt astro asyfig
asymptote-faq-zh-cn asymptote-by-example-zh-cn asymptote-manual-zh-cn
asypictureb attachfile
- augie auncial-new aurical autopdf authoraftertitle authorindex
+ aucklandthesis augie auncial-new aurical autopdf
+ authoraftertitle authorindex
auto-pst-pdf autoarea automata autonum autosp avantgar avremu
b1encoding babel
babel-albanian babel-bahasa babel-basque
diff --git a/Master/tlpkg/tlpsrc/aucklandthesis.tlpsrc b/Master/tlpkg/tlpsrc/aucklandthesis.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/aucklandthesis.tlpsrc
diff --git a/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc b/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc
index b80e7b05eb8..12fbfd57062 100644
--- a/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc
@@ -25,6 +25,7 @@ depend arsclassica
depend articleingud
depend asaetr
depend ascelike
+depend aucklandthesis
depend bangorcsthesis
depend beamer-FUBerlin
depend beamer-verona