texlive[41506] Master: aucklandthesis (20jun16)

commits+karl at tug.org commits+karl at tug.org
Tue Jun 21 00:23:22 CEST 2016


Revision: 41506
          http://tug.org/svn/texlive?view=revision&revision=41506
Author:   karl
Date:     2016-06-21 00:23:22 +0200 (Tue, 21 Jun 2016)
Log Message:
-----------
aucklandthesis (20jun16)

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tlpkg-ctan-check
    trunk/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/aucklandthesis/
    trunk/Master/texmf-dist/doc/latex/aucklandthesis/README.txt
    trunk/Master/texmf-dist/doc/latex/aucklandthesis/aucklandthesis_userguide.pdf
    trunk/Master/texmf-dist/doc/latex/aucklandthesis/template.tex
    trunk/Master/texmf-dist/tex/latex/aucklandthesis/
    trunk/Master/texmf-dist/tex/latex/aucklandthesis/aucklandthesis.cls
    trunk/Master/tlpkg/tlpsrc/aucklandthesis.tlpsrc

Added: trunk/Master/texmf-dist/doc/latex/aucklandthesis/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/aucklandthesis/README.txt	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/aucklandthesis/README.txt	2016-06-20 22:23:22 UTC (rev 41506)
@@ -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/


Property changes on: trunk/Master/texmf-dist/doc/latex/aucklandthesis/README.txt
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/aucklandthesis/aucklandthesis_userguide.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/aucklandthesis/aucklandthesis_userguide.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/aucklandthesis/aucklandthesis_userguide.pdf	2016-06-20 22:22:26 UTC (rev 41505)
+++ trunk/Master/texmf-dist/doc/latex/aucklandthesis/aucklandthesis_userguide.pdf	2016-06-20 22:23:22 UTC (rev 41506)

Property changes on: trunk/Master/texmf-dist/doc/latex/aucklandthesis/aucklandthesis_userguide.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/aucklandthesis/template.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/aucklandthesis/template.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/aucklandthesis/template.tex	2016-06-20 22:23:22 UTC (rev 41506)
@@ -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


Property changes on: trunk/Master/texmf-dist/doc/latex/aucklandthesis/template.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/aucklandthesis/aucklandthesis.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/aucklandthesis/aucklandthesis.cls	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/aucklandthesis/aucklandthesis.cls	2016-06-20 22:23:22 UTC (rev 41506)
@@ -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 at examcp
+\newif\ifUa at singlesp
+\newif\ifUa at onehalfsp
+\newif\ifUa at doublesp
+\newif\ifUa at partialfulfilment
+\newif\ifUa at subtitle
+
+\Ua at examcpfalse
+\Ua at onehalfspfalse
+\Ua at doublespfalse
+\Ua at partialfulfilmentfalse
+\Ua at subtitlefalse
+
+\DeclareOption{doublespace}{\Ua at doublesptrue}
+\DeclareOption{singlespace}{\Ua at singlesptrue}
+\DeclareOption{onehalfspace}{\Ua at onehalfsptrue}
+\DeclareOption{examcopy}{\Ua at examcptrue}
+\DeclareOption{partial}{\Ua at 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 at subtitlefalse%
+	\else%
+		\Ua at subtitletrue%
+	\fi%
+}
+\def\@author{}
+\def\degreesought#1{\gdef\@degreesought{#1}}
+\def\@degreesought{\@latex at error{No \noexpand\degreesought given}\@ehc}
+\def\degreediscipline#1{\gdef\@degreediscipline{#1}}
+\def\@degreediscipline{\@latex at error{No \noexpand\degreediscipline given}\@ehc}
+\def\degreecompletionyear#1{\gdef\@degreecompletionyear{#1}}
+\def\@degreecompletionyear{\@latex at 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 at 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 at partialfulfilment
+			partial 
+		\fi
+		fulfilment of the requirements for the degree of
+		
+		\@degreesought\
+		in 
+		\@degreediscipline,
+		
+		The University of Auckland,
+		\@degreecompletionyear.
+		
+		\ifUa at 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 at doublesp
+   \DoubleSpacing%
+\else\ifUa at 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 at chapter}[2]{%
+%  \l at 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


Property changes on: trunk/Master/texmf-dist/tex/latex/aucklandthesis/aucklandthesis.cls
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check	2016-06-20 22:22:26 UTC (rev 41505)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2016-06-20 22:23:22 UTC (rev 41506)
@@ -49,7 +49,8 @@
     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

Added: trunk/Master/tlpkg/tlpsrc/aucklandthesis.tlpsrc
===================================================================
Modified: trunk/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc	2016-06-20 22:22:26 UTC (rev 41505)
+++ trunk/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc	2016-06-20 22:23:22 UTC (rev 41506)
@@ -25,6 +25,7 @@
 depend articleingud
 depend asaetr
 depend ascelike
+depend aucklandthesis
 depend bangorcsthesis
 depend beamer-FUBerlin
 depend beamer-verona



More information about the tex-live-commits mailing list