texlive[44845] Master/texmf-dist: uowthesistitlepage (19jul17)
commits+karl at tug.org
commits+karl at tug.org
Wed Jul 19 23:09:36 CEST 2017
Revision: 44845
http://tug.org/svn/texlive?view=revision&revision=44845
Author: karl
Date: 2017-07-19 23:09:35 +0200 (Wed, 19 Jul 2017)
Log Message:
-----------
uowthesistitlepage (19jul17)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/uowthesistitlepage/uowthesistitlepage_doc.pdf
trunk/Master/texmf-dist/doc/latex/uowthesistitlepage/uowthesistitlepage_doc.tex
trunk/Master/texmf-dist/tex/latex/uowthesistitlepage/uowthesistitlepage.sty
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/uowthesistitlepage/README.md
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/latex/uowthesistitlepage/README
Deleted: trunk/Master/texmf-dist/doc/latex/uowthesistitlepage/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/uowthesistitlepage/README 2017-07-19 00:17:43 UTC (rev 44844)
+++ trunk/Master/texmf-dist/doc/latex/uowthesistitlepage/README 2017-07-19 21:09:35 UTC (rev 44845)
@@ -1,76 +0,0 @@
-This is the README for uowthesistitlepage.sty Version 2.0, 2014-01-07
-%------------------------------------------%
-ABOUT
-This Package redefines the \maketitle command for LaTeX documents and generates a title page for a UOW thesis in accordance with the uow branding guidelines. Use this package with the book class to typeset your thesis (it will work with report though if you do so desire). The package also provides the \declaration command. This typesets the declaration (below) that this thesis/dissertation/report is your own work, required in the front of each PhD Thesis.
-
-This package is not a complete thesis template or document class, it only typesets the title page and declaration. The default when the package is loaded is an undergraduate honours thesis.
-
-%------------------------------------------%
-LEGAL
-Copyright (CC BY-NC-SA 3.0 AU) 2013 by T. M. Griffiths under the creative commons licence(attribution, non-comercial, share alike): http://creativecommons.org/licenses/by-nc-sa/3.0/au/. This work may be distributed and/or modified under the conditions of the LaTeX Project Public License version 1.3c: http://www.latex-project.org/lppl/lppl-1-3c.txt
-
-%------------------------------------------%
-REQUIREMENTS
-- setspace
-- etoolbox
-- graphicx
-- geometry
-
-%------------------------------------------%
-BASIC USAGE
-\usepackage[]{uowthesistitlepage}
-
-% Standard fields of \maketitle
- \title{A Pretty Swish Title}
- \author{Average J. Blow}
- \date{Month Year}
-
-% The new fields from the \maketitle renewal (see code below).
- \degree{That Degree You've Been Studying}
- % Write it in full: e.g. Bachelor of Science Honours
- \school{Your School}
- % e.g Chemistry
- \supervisor[x]{Supervisor 1, Supervisor 2,... \& Supervisor x}
- % A list of your supervisors, can be turned off with the nosupervisor package option in the preamble or switched to multiple (more than one) with the package option multiplesupervisors
-
-% And the optional field
- \cosupervisor[number of co-supervisors]{Co-supervisors 1, Co-supervisor 2,... \& Co-supervisor x}
-
-\begin{document}
-
-\maketitle
-
-\declaration
-
-% Your Thesis...
-
-\end{document}
-
-%------------------------------------------%
-Wording of the Declaration (example option phd)
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-Declaration
-
-I, <Student’s Full Name>, declare that this thesis submitted in fulfilment of the requirements for the conferral of the degree Doctor of Philosophy, from the University of Wollongong, is wholly my own work unless otherwise referenced or acknowledged. This document has not been submitted for qualifications at any other academic institution.
-
-
-
-
-----------------------------
-
-<Student’s Full Name>
-January 9, 2014
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-
-%------------------------------------------%
-Default Margins for UOW theses.
-
-The UOW default dimensions can be implemented with:
-\usepackage{geometry}
- \geometry{a4paper,inner=4.0cm, outer=2cm, top=3cm, bottom=2cm}
-
-Created by Thomas M. Griffiths (tmg994[at]uowmail[dot]edu[dot]au) 2014-01-07
Added: trunk/Master/texmf-dist/doc/latex/uowthesistitlepage/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/uowthesistitlepage/README.md (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/uowthesistitlepage/README.md 2017-07-19 21:09:35 UTC (rev 44845)
@@ -0,0 +1,101 @@
+This is the README for uowthesistitlepage.sty Version 3.0, 2017-07-18
+=====================================================================
+
+About
+-----
+
+This Package redefines the `\maketitle` command for LaTeX documents and generates a title page for a UOW thesis in accordance with the uow branding guidelines. Use this package with the book class to typeset your thesis (it will work with report though if you do so desire). A copyright declaration is printed on the page immediately following the title page, including the required acknowledgement of the Australian Government Research Training Program Scholarship. The package also provides the `\declaration` command. This typesets the declaration (see below) that your thesis/dissertation/report is your own work, required in the front of each PhD Thesis.
+
+This package *is not* a complete thesis template or document class, it *only* typesets the title page and declaration. This package is designed to do as little to your document as possible. It won't set the margins, spacing, or typeface used in your document. This version is a major redesign of the title page to coincide the re-branding of UOW during 2016. It also adds the copyright statement and acknowledgement of the Australian Government Research Training Partnership Scholarships. Be sure to use the new version of the UOW crest (below). A copy is distributed with the uow thesis template on UOW website. It follows the UOW thesis guidelines and is has a basic setup ready to get you started with your thesis. For those starting off on their own, the following code will give you a document that satisfies the UOW thesis guidelines.
+
+````latex
+\documentclass[twoside,12pt,a4paper]{book}
+\usepackage{geometry}
+ \geometry{a4paper,inner=4.0cm, outer=2cm, top=3cm, bottom=2cm}
+
+\usepackage{setspace}
+\onehalfspacing
+% or
+% \doublespacing
+
+% to use in Times New Roman instead of the LaTeX default, latin modern.
+\usepackage{mathptmx}
+````
+
+
+Required Packages
+-----------------
+
+- setspace
+- etoolbox
+- graphicx
+- geometry
+
+Basic Usage
+-----------
+
+````latex
+ \usepackage[]{uowthesistitlepage}`
+
+ % Standard fields of \maketitle
+ \title{A Pretty Swish Title}
+ \author{Average J. Blow}
+ \date{Month Year}
+
+ % The new fields from the \maketitle renewal (see code below).
+ \degree{That Degree You've Been Studying}
+ % Write in full: e.g. Bachelor of Science Honours
+ \school{Your School}
+ % e.g Chemistry
+ \supervisor[x]{Supervisor 1, Supervisor 2,... \& Supervisor x}
+ % A list of your supervisors, can be turned off with the
+ % nosupervisor package option in the preamble or switched
+ % to multiple (more than one) with the package option
+ % multiplesupervisors
+
+ % And the optional field
+ \cosupervisor[number of co-supervisors]{Co-supervisors 1, Co-supervisor 2,... \& Co-supervisor x}
+
+ \begin{document}
+
+ \maketitle
+
+ \declaration
+
+ % Your Thesis...
+
+ \end{document}
+````
+
+Wording of the Declaration (example option 'phd')
+-------------------------------------------------
+
+> **Declaration**
+>
+> I, *Student’s Full Name*, declare that this thesis submitted in fulfilment of the requirements for the conferral of the degree *Doctor of Philosophy*, from the University of Wollongong, is wholly my own work unless otherwise referenced or acknowledged. This document has not been submitted for qualifications at any other academic institution.
+>
+>
+>
+> Student’s Full Name
+>
+> January 9, 2014
+>
+
+
+Default Margins for UOW Theses
+------------------------------
+
+The UOW default dimensions (as done by the style file) can be implemented with:
+
+````latex
+ \usepackage{geometry}
+ \geometry{a4paper,inner=4.0cm, outer=2cm, top=3cm, bottom=2cm}
+````
+
+Created by Thomas M. Griffiths (tmg994[at]uowmail[dot]edu[dot]au) 2017-07-19
+
+Legal
+-----
+
+Copyright (CC-BY-SA 4.0 AU) 2017 by T. M. Griffiths under the creative commons licence ([attribution, non-comercial, share alike](https://creativecommons.org/licenses/by-sa/4.0/)). This work may be distributed and/or modified under the conditions of the [LaTeX Project Public License version 1.3c](http://www.latex-project.org/lppl/lppl-1-3c.txt)
+
Property changes on: trunk/Master/texmf-dist/doc/latex/uowthesistitlepage/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/uowthesistitlepage/uowthesistitlepage_doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/uowthesistitlepage/uowthesistitlepage_doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/uowthesistitlepage/uowthesistitlepage_doc.tex 2017-07-19 00:17:43 UTC (rev 44844)
+++ trunk/Master/texmf-dist/doc/latex/uowthesistitlepage/uowthesistitlepage_doc.tex 2017-07-19 21:09:35 UTC (rev 44845)
@@ -1,61 +1,94 @@
+%!TEX TS-program = lualatex
+%!TEX encoding = UTF-8 Unicode
+\RequirePackage{luatex85}
+\RequirePackage{shellesc}
\documentclass[12pt,oneside]{article}
\usepackage{geometry}
- \geometry{a4paper,bottom=4.5cm}
+ \geometry{a4paper,bottom=5cm}
\usepackage[usenames,dvipsnames]{xcolor}
- % "Base16" color palette definitions
- \definecolor{Blue}{HTML}{6A9FB5}
- \definecolor{Red}{HTML}{AC4142}
- \definecolor{Yellow}{HTML}{F4BF75}
- \definecolor{Green}{HTML}{90A959}
- \definecolor{Teal}{HTML}{75B5AA}
- \definecolor{Purple}{HTML}{AA759F}
- \definecolor{Brown}{HTML}{885F36}
- \definecolor{Orange}{HTML}{D28445}
- \definecolor{Gray1}{HTML}{151515}
- \definecolor{Gray2}{HTML}{202020}
- \definecolor{Gray3}{HTML}{303030}
- \definecolor{Gray4}{HTML}{404040}
- \definecolor{Gray5}{HTML}{505050}
- \definecolor{Gray6}{HTML}{606060}
- \definecolor{Gray7}{HTML}{707070}
- \definecolor{GrayB}{HTML}{B0B0B0}
- \definecolor{GrayD}{HTML}{D0D0D0}
- \definecolor{GrayE}{HTML}{E0E0E0}
- \definecolor{GrayF}{HTML}{F5F5F5}
+ \definecolor{UOWred}{RGB}{245, 15, 20}%
+ \definecolor{UOWblue}{RGB}{0, 51, 204}% {cmyk}{90, 68, 0, 0} %
+ \definecolor{UOWdarkblue}{RGB}{12, 35, 64}% {cmyk}{100, 76, 12, 70} %
-\usepackage{titlesec}
+\usepackage[explicit]{titlesec}
\titleformat{\section}
{\color{Blue}\normalfont\Large\sffamily}
- {\color{Blue}\thesection}{1em}{}
+ {\color{Blue}\thesection}{1em}{\allcaps{#1}}
\titleformat{\subsection}
{\normalfont\large\sffamily}
- {\thesection}{1em}{}
-
-\usepackage{fontspec,xltxtra,xunicode}
+ {\thesection}{1em}{#1}
+
+\usepackage[scale=2]{ccicons}
+\usepackage{fontspec,xltxtra}
\defaultfontfeatures{Mapping=tex-text}
-\setromanfont[Numbers=OldStyle]{Adobe Garamond Pro}
-\setsansfont[Scale=MatchLowercase]{Gill Sans}
-\setmonofont[Scale=MatchLowercase]{Menlo}
+ \setromanfont[Numbers=OldStyle]{Times LT Std}
+ \setsansfont[Scale=MatchLowercase]{Montserrat}
+ \setmonofont[Scale=MatchLowercase]{Menlo}
+
+\usepackage[tracking=true,protrusion=true,expansion=true]{microtype}
+ \DeclareMicrotypeSet*[tracking]{my}{%
+ encoding = *,%
+ % size = {-small,Large-},%
+ size = {,Large-},%
+ font = */*/*/sc/*,%
+ }
+ \SetTracking{ encoding = *, size = -small }{ 20 }
+ \SetTracking{ encoding = *, size = Large- }{ -20 }
+ \SetTracking[ no ligatures = {f,t} ]{ encoding = *, shape = {sc*},}{60}
+ \newcommand{\allcapsspacing}[1]{\textls*[40]{#1}}%
+ \newcommand{\allcaps}[1]{\allcapsspacing{\MakeTextUppercase{#1}}}%
+\usepackage{textcase}
+\usepackage{embrac}
\usepackage{pdfpages}
\usepackage{hyperref}
+\usepackage{listings}
+ \lstset{%
+ % language=[LaTeX]TeX,%
+ basicstyle=\footnotesize\ttfamily,%
+ breakatwhitespace=false,%
+ keepspaces=true,%
+ % keywordstyle=\color{UOWred},%
+ % texcsstyle=\color{UOWred},%
+ % morekeywords={%
+ % \,%
+ % \{,%
+ % \},%
+ % \[,%
+ % \],%
+ % begin,%
+ % textcopyright,%
+ % vspace,%
+ % smallgap,%
+ % RTPacknowledgement,%
+ % ifdomestic%
+ % },%
+ numbers=left,%
+ numbersep=5pt,%
+ numberstyle=\tiny,%
+ }
+
+
\makeatletter
\renewcommand*\l at section{\@dottedtocline{1}{1.5em}{2.3em}} % dots in the table of contents
\makeatother
-\newcommand{\option}[1]{\texttt{\color{Green}#1}} % simplified the highlighting of options and commands in text
-\newcommand{\command}[1]{\texttt{\color{Red}#1}} % simplified the highlighting of options and commands in text
-\newcommand{\comoptions}[1]{\texttt{\color{Blue}#1}} % simplified the highlighting of options and commands in text
+\newcommand{\option}[1]{\texttt{\color{UOWblue}#1}}
+% simplified the highlighting of options and commands in text
+\newcommand{\command}[1]{\texttt{\color{UOWred}#1}}
+% simplified the highlighting of options and commands in text
+\newcommand{\comoptions}[1]{\texttt{\color{UOWdarkblue}#1}}
+% simplified the highlighting of options and commands in text
\setcounter{secnumdepth}{0}
\begin{document}
-\title{\color{Gray2}{\textsf{The \texttt{uowthesistitlepage} Package}}}
-\author{Thomas M. Griffiths}
-\date{Released \today, Version 2.0}
+\title{\textsf{uowthesistitlepage}}
+\author{\small Thomas M. Griffiths}
+\date{Released \today, Version 3.0}
\maketitle
@@ -62,11 +95,34 @@
\tableofcontents
\section{About}
-This package should be redefines the \command{\textbackslash{}maketitle} command for LaTeX documents and generates a title page compliant with the UOW branding guidelines. Also in this package is a new command \command{\textbackslash{}declaration} which typesets a declaration page, required in the front matter of each PhD thesis. The package has a number of options that change the wording of the title page according to: whether your thesis is part of, or the entire component of assessable work for your degree; the number of supervisors you have, if any. This package \emph{is not} a complete thesis template or document class, it only typesets the title page and declaration. The default when the package is loaded is an \option{honours} thesis.
+This package redefines the \command{\textbackslash{}maketitle} command to generate a title page compliant with the University of Wollongong (\textsc{uow}) branding guidelines. A copyright declaration is printed on the page immediately following the title page, including the required acknowledgement of the Australian Government Research Training Program Scholarship. This package also defines a command, \command{\textbackslash{}declaration}, which typesets a declaration page, required in the front matter of each PhD thesis.
+The package has a number of options that change the wording of the title page according to whether your thesis is only one part of, or comprises the entire of assessable component for your degree and the number of supervisors you have (if any). The default when the package is loaded is an \option{honours} thesis.
+
+This package \emph{is not} a complete thesis template or document class, it \emph{only} typesets the title page and declaration. This package is designed to do as little to your document as possible. It won't set the margins, spacing, or typeface used in your document. There is a template document online that you can download. It follows the \textsc{uow} thesis guidelines and is has a basic setup ready to get you started with your thesis. For those starting off on their own, the following code will give you a document that satisfies the \textsc{uow} thesis guidelines.\\
+
+\command{\textbackslash{}documentclass}\option{[twoside,12pt,a4paper]}\comoptions{\{book\}}
+
+\command{\textbackslash{}usepackage}\comoptions{\{geometry\}}
+
+\command{\textbackslash{}geometry}\comoptions{\{a4paper,inner=4.0cm, outer=2cm, top=3cm, bottom=2cm\}}
+
+\command{\textbackslash{}usepackage}\comoptions{\{setspace\}}
+
+\command{\textbackslash{}onehalfspacing}
+
+\texttt{\% or}
+
+\texttt{\%} \command{\textbackslash{}doublespacing}
+
+\texttt{\% to use in Times New Roman instead of the LaTeX default, latin modern.}
+
+\command{\textbackslash{}usepackage}\comoptions{\{mathptmx\}}
+
+
\section{Usage}
\subsection*{\command{\textbackslash{}maketitle}}
-If you are familiar with LaTeX using this package is very simple, place the package in your document's preamble:\\
+If you are familiar with \LaTeX{} using this package is very simple, place the package in your document's preamble:\\
\command{\textbackslash{}usepackage}\option{[options]}\comoptions{\{uowthesistitlepage\}}\\
@@ -86,12 +142,14 @@
\command{\textbackslash{}supervisor}\option{[x]}\comoptions{\{Supervisor 1, Supervisor 2,\ldots{} \textbackslash{}\& Supervisor x\}}\\
-You need to ensure a copy of the logo named \texttt{uow\textunderscore{}logo} is in the working directory where you're compiling your thesis.\footnote{Unless you're using the \option{report}, \option{fullsubject} or \option{partialsubject} options, their title pages have have no logo.} If you downloaded this style from the UOW website there will be one in the zipped package. When you want to typeset the title page simply use \command{\textbackslash{}maketitle} after \command{\textbackslash{}begin}\comoptions{\{document\}} as you usually would.
+You need to ensure a copy of the logo named \texttt{uow\textunderscore{}logo} is in the working directory where you're compiling your thesis.\footnote{Unless you're using the \option{report}, \option{fullsubject} or \option{partialsubject} options. These title pages have have no logo.} If you downloaded this style from the \textsc{uow} website there will be one in the zipped package. When you want to typeset the title page simply use \command{\textbackslash{}maketitle} after \command{\textbackslash{}begin}\comoptions{\{document\}} as you usually would.
\subsection*{\command{\textbackslash{}declaration}}
The declaration page is intended for PhD theses, but will work fine for each document type. Using the \command{\textbackslash{}declaration} command is simple, just place it in your document where you want it typeset.
+As of 2017, the package also typesets the copyright declaration for your thesis on the page immediately following the title page. This is the next page in one-sided documents, While in two-sided documents this will be the reverse of the title page. The copyright statement also contains the required acknowledgement of the Australian Government Research Training Program Scholarship as specified by the graduate research school. This is \emph{required} for domestic students. International students can use the \option{international} option to the package to print the copyright statement without the scholarship acknowledgement. There is also a macro to define your own copyright text should you require. And if you desire no copyright text at all then you can use the \option{nocopyright} option.
+
\section{Package Options and Macros}
\subsection*{Macros}
\begin{description}
@@ -98,7 +156,7 @@
\item[\command{\textbackslash{}author}\comoptions{\{Your Name\}}]
The author of the work, in this case you. For the your thesis you should use your full name and any previous degrees, for example: Average Joe Blogs BSc Hon.
- \item[\command{\textbackslash{}class}\comoptions{\{Your Class\}}] If this is a dissertation submitted for an individual subject instead of a whole degree this is where you tell the package what it is. You can write the subject code, e.g. CHEM364, or the full subject name: `CHEM364, Molecular Structure and Spectroscopy'. If you're using this command you need to have the \option{report}, \option{fullsubject} or \option{partialsubject} option loaded in the preamble. If you don't load one of these three options this macro will do a disappointing nothing.
+ \item[\command{\textbackslash{}subject}\comoptions{\{Your Subject\}}] If this is a dissertation submitted for an individual subject instead of a whole degree this is where you tell the package what it is. You can write the subject code, e.g. CHEM364, or the full subject name: `CHEM364, Molecular Structure and Spectroscopy'. If you're using this command you need to have the \option{report}, \option{fullsubject} or \option{partialsubject} option loaded in the preamble. If you don't load one of these three options this macro will do a disappointing nothing.
\item[\command{\textbackslash{}cosupervisor}\option{[number of co-supervisors]}\comoptions{\{Your Co-supervisors\}}] This field is optional for your title page. It prints your co-super\-visor(s) to the title page. List all your co-supervisors and their titles in the one set of enclosing braces (\comoptions{\{~\}}), separated by commas and `and' or an ampersand (\textbackslash{}\&) before the final co-supervisor if you have multiple supervisors. Use the optional argument `\option{[x]}' to specify how many co-supervisors you have.
@@ -110,16 +168,16 @@
\noindent{\large \textbf{Declaration}}\\
-{\itshape\noindent I, \textless{}Student's Full Name\textgreater, declare that this thesis submitted in fulfilment of the requirements for the conferral of the degree Doctor of Philosophy, from the University of Wollongong, is wholly my own work unless otherwise referenced or acknowledged. This document has not been submitted for qualifications at any other academic institution.\par
+{\noindent I, \emph{Student's Full Name}, declare that this thesis submitted in fulfilment of the requirements for the conferral of the degree \emph{Doctor of Philosophy}, from the University of Wollongong, is wholly my own work unless otherwise referenced or acknowledged. This document has not been submitted for qualifications at any other academic institution.\par
\vspace{1cm}
\noindent\rule{0.4\textwidth}{0.5pt}
\vspace{1ex}\\
-\textbf{\textless{}Student's Full Name\textgreater}\\
+\textbf{Student's Full Name}\\
\today}\\
\item[\command{\textbackslash{}degree}\comoptions{\{Your Degree\}}] The degree for which you are submitting this work. Write the degree out in full; Doctor of Philosophy, Master of Science, Bachelor of Arts Honours etc.
- \item[\command{\textbackslash{}graphic}] This macro is used internally to load the UOW Graphic. It has no immediate use in the body of your document and can be ignored unless you feel like cracking open the style file and tinkering. For the graphic to load properly in the title page there must be an image file in the working directory named \texttt{uow\textunderscore{}logo}. It can be used in the body of the document to load an alternative graphic if that is desired, be warned that determining the size in this case is up to you.
+ \item[\command{\textbackslash{}graphic}] This macro is used internally to load the \textsc{uow} Graphic. It has no immediate use in the body of your document and can be ignored unless you feel like cracking open the style file and tinkering. For the graphic to load properly in the title page there must be an image file in the working directory named \texttt{uow\textunderscore{}logo}. It can be used in the body of the document to load an alternative graphic if that is desired, be warned that determining the size in this case is up to you.
The usage is a bit odd note the nested \command{\textbackslash{}includegraphics} command:
\command{\textbackslash{}graphic}\comoptions{\{\textbackslash{}includegraphics\{yourgraphic\}\}}
@@ -131,6 +189,39 @@
\item[\command{\textbackslash{}supervisor}\option{[number of supervisors]}\comoptions{\{Your Supervisors\}}] Prints your supervisor(s) to the title page. List all your supervisors and their titles in the one set of enclosing braces (\comoptions{\{~\}}), separated by commas and `and' or an ampersand (\textbackslash{}\&) before the final supervisor if you have multiple supervisors. Use the optional argument `\option{[x]}' to specify how many supervisors you have. The default number of supervisors is one. If you have no supervisors or you don't want to typeset them on the title page set the optional argument to zero, or use the \option{nosupervisor} option in the preamble.
\item[\command{\textbackslash{}title}\comoptions{\{Your Thesis Title\}}] Self explanatory. It's the title of your thesis.
+
+ \item[\command{\textbackslash{}copyrighttext}\comoptions{\{Custom copyright statement\}}] This is used to set any custom copyright text you may require. For example, your work may be of commercial interest, or involve an outside industry partner that needs acknowledgment. Either way, you can typeset whatever you need in here.
+
+ The command is capable of taking multiple paragraphs, and should cope fine with any (legitimate) \TeX code you put inside the braces.\footnote{\emph{Caveat emptor}! any legitimate \TeX code \emph{should} work. That said I can't test everything you could possibly come up with.} For reference, the code used for the default is:
+\begin{lstlisting}
+ \newlength{\smallgap}
+ \setlength{\smallgap}{0.024\paperheight}
+ % for A4 paper this is approximately 7 mm.
+ \newcommand{\RTPacknowledgement}{%
+ This research has been conducted with the support of the Australian %
+ Government Research Training Program Scholarship.%
+ }
+ \begin{raggedright}
+ \begin{singlespace}
+ This work \textcopyright{} copyright by \author, \the\year. All Rights %
+ Reserved.
+
+ \vspace{\smallgap}%
+ No part of this work may be reproduced, stored in a retrieval system, %
+ transmitted, in any form or by any means, electronic, mechanical, %
+ photocopying, recording, or otherwise, without the prior permission of %
+ the author or the University of Wollongong.%
+
+ \ifdomestic{%
+ \vspace{\smallgap}%
+ \RTPacknowledgement%
+ }%
+ \else{}%
+ \fi%
+ \end{singlespace}
+ \end{raggedright}
+\end{lstlisting}
+
\end{description}
\subsection*{Options}
@@ -139,7 +230,7 @@
Turns on the optional co-superviser field on the title page. The positioning can be modified with the \option{horizontal} option. If you use the \command{\textbackslash{}cosupervisor}\option{[number of co-supervisors]}\comoptions{\{Your Co-supervisors\}} command you will get the same result. The package will see that you've got one or more co-supervisors and include the co-supervisor field anyway.
\item[\option{fullsubject}]
- This option typesets the title page of the document in a manner appropriate for a single subject based report, where the dissertation is worth 100\% of the total mark of the subject. The name of the subject is loaded with the \command{\textbackslash{}class} macro in the document body. By default this option also loads the \option{nosupervisor} option, if you have any supervisors you'll need to add the correct supervisor option in the preamble. This option and its corresponding partial option do not typeset the logo on the title page.
+ This option typesets the title page of the document in a manner appropriate for a single subject based report, where the dissertation is worth 100\% of the total mark of the subject. The name of the subject is loaded with the \command{\textbackslash{}subject} macro in the document body. By default this option also loads the \option{nosupervisor} option, if you have any supervisors you'll need to add the correct supervisor option in the preamble. This option and its corresponding partial option do not typeset the logo on the title page.
\item[\option{honours} \emph{Default}]
One of the degree options, and the default. This option modifies the wording of the thesis requirement so that it is reflective of an honours degree: `This thesis is presented as part of the requirement for the conferral of the degree:'.
@@ -149,25 +240,31 @@
\item [\option{horizontal}]
This option modifies the positioning of the co-supervisor field. By default this option is \emph{off} and the two fields are typeset one above the other:
- \begin{center}
- Supervisors:\\
- \textless{}Your Supervisor(s)\textgreater\\
- Co-supervisors:\\
- \textless{}Your Co-supervisor(s)\textgreater\\
- \end{center}
+ \begin{quote}
+ \begin{raggedright}
+ Supervisors:\\
+ Your Supervisor(s)\\
+ Co-supervisors:\\
+ Your Co-supervisor(s)\\
+ \end{raggedright}
+ \end{quote}
+
When active it uses a tabular environment to place your supervisor and co-supervisor on the same line next to each other as below:
- \begin{center}
- \begin{tabular}{cc}
+
+ \begin{quote}
+ \begin{raggedright}
+ \begin{tabular}{@{}ll@{}}
Supervisors: & Co-supervisors:\\
- \textless{}Your Supervisor(s)\textgreater & \textless{}Your Co-supervisor(s)\textgreater\\
+ Your Supervisor(s) & Your Co-supervisor(s)\\
\end{tabular}
- \end{center}
+ \end{raggedright}
+ \end{quote}
Currently the lists of supervisors and co-supervisors do not wrap. So if you have a long list of supervisors, or they are blessed with a long name I recommend using the default, one above the other, format. This option is linked to the \option{cosupervisor} option. If you don't have \command{\textbackslash{}cosupervisor}\option{[number of co-supervisors]}\comoptions{\{Your Co-supervisors\}} specified in your document or the \option{cosupervisor} specified in the preamble \option{horizontal} won't do anything.
\item[\option{partialsubject}]
- This option typesets the title page of the document in a manner appropriate for a subject based report, where the report is worth part of the total mark of the subject. The name of the subject is loaded with the \command{\textbackslash{}class} macro in the document body. By default this option also loads the \option{nosupervisor} option, if you have any supervisors you'll need to add the correct supervisor option in the preamble. This option and the corresponding \option{fullsubject} option do not typeset the logo on the title page.
+ This option typesets the title page of the document in a manner appropriate for a subject based report, where the report is worth part of the total mark of the subject. The name of the subject is loaded with the \command{\textbackslash{}subject} macro in the document body. By default this option also loads the \option{nosupervisor} option, if you have any supervisors you'll need to add the correct supervisor option in the preamble. This option and the corresponding \option{fullsubject} option do not typeset the logo on the title page.
\item[\option{phd}]
One of the degree options. This option modifies the wording of the thesis requirement so that it is reflective of a Doctoral degree: `This thesis is presented as required for the'. The field \command{\textbackslash{}degree} is also automatically set to `Doctor of Philosophy'.
@@ -194,20 +291,48 @@
Makes the supervisor field singular, printing `Supervisor' This option is the default. Still implemented but obsolete. Use the optional argument to the \command{\textbackslash{}supervisor}\option{[number of supervisors]}\comoptions{\{Your Supervisors\}} command.
\item[\option{report}]
- Typesets a fairly minimal but nice looking title page for lab reports or other in class assessments. No logo is printed and the name of the subject is loaded with the \command{\textbackslash{}class} macro in the document body. The same as the \option{fullsubject} and \option{partialsubject} options.
+ Typesets a fairly minimal but nice looking title page for lab reports or other in class assessments. No logo is printed and the name of the subject is loaded with the \command{\textbackslash{}subject} macro in the document body. The same as the \option{fullsubject} and \option{partialsubject} options.
+ \item[\option{international}]
+ This simply turns off the acknowledgement of the Australian Government Research Training Program Scholarship in the copyright text.
+
+ \item[\option{nocopyright}]
+ Removes the copyright text completely.
+
\end{description}
\section{Legal}
-This work may be distributed and/or modified under the conditions of the LaTeX Project Public License version 1.3c which can be found at: \url{http://www.latex-project.org/lppl/lppl-1-3c.txt}.
+This work may be distributed and/or modified under the conditions of the \LaTeX{} Project Public License version 1.3c.\footnote{\url{http://www.latex-project.org/lppl/lppl-1-3c.txt}} The crest of the University of Wollongong is copyright and the property of the University of Wollongong. As the core identifier of the university its use is governed by the university's brand and visual identity guidelines.\footnote{\url{http://www.uow.edu.au/about/brand/uowlogo/index.html}}
-The crest of the University of Wollongong is copyright and the property of the University of Wollongong. As the core identifier of the university its use is governed by the university's brand and visual identity guidelines
-which can be found at: \url{http://www.uow.edu.au/about/brand/uowlogo/index.html}
+This work is copyright (\textsc{cc by-sa 4.0}) 2017 by T. M. Griffiths under the creative commons licence (attribution, non-commercial, share alike).\footnote{\url{https://creativecommons.org/licenses/by-sa/4.0/}}
-This work is copyright (CC BY-NC-SA 3.0 AU) 2014 by T. M. Griffiths under the creative commons licence (attribution, non-commercial, share alike). More information can be found here: \url{http://creativecommons.org/licenses/by-nc-sa/3.0/au/}.
+\begin{center}\color{UOWdarkblue}\ccbysa\end{center}
+\clearpage
+
\section{Change Log}
If you spot any errors or bugs, or alternately you have any requests for an addition let me know.
+
+\subsection*{Version 3.0, 2017-07-18, tmgriffiths}
+This version is a major redesign of the title page to coincide the re-branding of \textsc{uow} during 2016. It also adds the copyright statement and acknowledgement of the Australian Government Research Training Partnership Scholarships. Be sure to use the new version of the \textsc{uow} crest (below). A copy is distributed with the uow thesis template on \textsc{uow} website.
+\begin{center}
+ \includegraphics[height=20mm]{uow_logo.png}
+\end{center}
+
+\begin{itemize}
+ \item Redesigned title page to be more in line with \textsc{uow} branding guidelines and discussions with \textsc{uow} administration.
+ \item Added the copyright text on the page immediately following the title page.
+ \item Included the acknowledgement of the Australian Government Research Training Partnership Scholarships in the copy right text.
+ \item Added \command{\textbackslash{}copyrighttext} command to allow for custom copyright, in case of industry partners or other situations. If you want to release your work under a creative commons licence I suggest you look at the \texttt{ccicons} package for typesetting all the symbols you need.
+ \item Added the \option{nocopyright} package option to remove the copyright statement completely.
+ \item Added the \option{international} package option to print the copyright text, but to omit the acknowledgment of scholarship, which is only required for \emph{domestic} students.
+ \item Changed the \command{\textbackslash{}class} macro to \command{\textbackslash{}subject}.
+ \item Spaced out the declaration text and signature line more with a \command{\textbackslash{}vspace}\{\command{\textbackslash{}fill}\}. The signature line and date now sit at the bottom of the page irrespective of paper size.
+ \item Fixed up the code in \texttt{uowthesistitlepage.sty}. Indenting and some stray uncommented return line adding errant spaces in the finished title page.
+ \item updated this document to use Times New Roman, \textsf{Monserrat}, and the three \textsc{uow} branding coluors \textcolor{UOWred}{\textbf{red}}, \textcolor{UOWblue}{\textbf{blue}}, and \textcolor{UOWdarkblue}{\textbf{dark blue}}.
+ \item Removed most examples from documentation. I felt the options were fairly self explanatory. I've left in the \option{report}, \option{default} and \option{phd} options so that people can see what they look like.
+\end{itemize}
+
\subsection*{Version 2.0, 2014–01–07, tmgriffiths}
\begin{itemize}
\item Added \command{\textbackslash{}cosupervisor} field. The field works the same as supervisor field, but is off by default. The co-supervisor field is turned on by the \option{cosupervisor} option in the preamble. The field can either be below the supervisor field or next to it. When next to it the whole block of supervisors is centred as a single unit. The default position is below the supervisor field, but the adjacent style can be tuned on with the \option{horizontal} option in the preamble.
@@ -214,10 +339,10 @@
\item Added the \option{horizontal} option. This uses a tabular environment to put two centred columns in a centred table to place the new \command{\textbackslash{}cosupervisor} adjacent to the supervisor field. It is off by default but if you want it on just give \option{horizontal} as a option to the package in the preamble.
\item Added the \option{report} option. Prints a nice little title page for lab reports and the like. Adjusted the declaration and dummy text accordingly.
\item Added \option{PhD} option. Just for capitalisation.
- \item Fixed up the declaration page, reworded it to make it, in my opinion, a bit neater sounding. Also fixed the declaration for \option{fullsubject}, \option{report} and \option{partialsubject} so that it is for the completion of the assessment criteria of \command{\textbackslash{}class}.
+ \item Fixed up the declaration page, reworded it to make it, in my opinion, a bit neater sounding. Also fixed the declaration for \option{fullsubject}, \option{report} and \option{partialsubject} so that it is for the completion of the assessment criteria of \command{\textbackslash{}subject}.
\item Moved the \texttt{\textbackslash{}vspace\{biggap\}} and \texttt{\textbackslash{}vspace*\{fill\}} so that the University
and School are at the bottom near the date.
- \item Removed some LaTeX crimes: \texttt{\textbackslash{}begin \textbackslash{}end\{centering\}\texttt{}} to \texttt{\textbackslash{}centering}, excess return lines.
+ \item Removed some \LaTeX{} crimes: \texttt{\textbackslash{}begin \textbackslash{}end\{centering\}\texttt{}} to \texttt{\textbackslash{}centering}, excess return lines.
\item Italicised the requirements.
\item Removed the bold from all but the title.
\item Changed the wording — The degree is now conferred not awarded.
@@ -238,7 +363,7 @@
\subsection*{Version 1.2, 2013–07–12, tmgriffiths}
\begin{itemize}
\item Added the \option{fullsubject} and \option{partialsubject} options. These are for individual subject based documents e.g. a report.
- \item Fixed spacing in the School \textless{}Your School\textgreater field. Previously there was no whitespace between School and the name of your school
+ \item Fixed spacing in the School Your School field. Previously there was no whitespace between School and the name of your school
\end{itemize}
\subsection*{Version 1.1, 2013–07–01, tmgriffiths}
\begin{itemize}
@@ -254,53 +379,21 @@
\item Wrote documentation.
\end{itemize}
-\clearpage
\section{Example Title Pages}
On the following pages there are example title pages and four example declaration pages. The package options and document settings if anything non standard for the examples on the following pages (in order) are:
\begin{enumerate}
\item \option{report}
- \item \option{partialsubject}
- \item \option{fullsubject}
\item \option{honours} \emph{Default}.
- \item \option{mastersbycoursework}
- \item \option{mastersbyresearch}
\item \option{phd}
- \item \option{phd}, page size set to A5 paper.
- \item \option{phd,cosupervisor}
- \item \option{phd,cosupervisor,horizontal}
- \item \option{phd,noschool}
- \item \option{phd,noschool} and \command{\textbackslash{}school}\comoptions{\{AIIM\}}
- \item \option{phd,nosupervisor}
- \item \option{phd,nosupervisor,noschool}
- \item \option{other}
- \item Microsoft Word 2010 template for comparison
- \item \command{\textbackslash{}declaration} \option{report}
- \item \command{\textbackslash{}declaration} \option{fullsubject}
- \item \command{\textbackslash{}declaration} \option{honours}
- \item \command{\textbackslash{}declaration} \option{phd}
+ \item Copyright text
+ \item \command{\textbackslash{}declaration}
\end{enumerate}
\includepdf{Examples/report.pdf}
-\includepdf{Examples/partialsubject.pdf}
-\includepdf{Examples/fullsubject.pdf}
\includepdf{Examples/honours.pdf}
-\includepdf{Examples/mastersbycoursework.pdf}
-\includepdf{Examples/mastersbyresearch.pdf}
\includepdf{Examples/phd.pdf}
-\includepdf{Examples/phd_a5.pdf}
-\includepdf{Examples/phd_cosupervisor.pdf}
-\includepdf{Examples/phd_cosupervisor_horizontal.pdf}
-\includepdf{Examples/phd_noschool.pdf}
-\includepdf{Examples/phd_noschool_school-AIIM.pdf}
-\includepdf{Examples/phd_nosupervisor.pdf}
-\includepdf{Examples/phd_nosupervisor_noschool.pdf}
-\includepdf{Examples/other.pdf}
-\includepdf{Examples/word.pdf}
-\includepdf{Examples/declaration_report.pdf}
-\includepdf{Examples/declaration_fullsubject.pdf}
-\includepdf{Examples/declaration_honours.pdf}
-\includepdf{Examples/declaration_phd.pdf}
-
+\includepdf{Examples/copyrighttext.pdf}
+\includepdf{Examples/declaration.pdf}
\end{document}
%Redefinition of \texttt{\textbackslash{}maketitle} to Create a Title Page for a Thesis at the University of Wollongong}}
\ No newline at end of file
Modified: trunk/Master/texmf-dist/tex/latex/uowthesistitlepage/uowthesistitlepage.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/uowthesistitlepage/uowthesistitlepage.sty 2017-07-19 00:17:43 UTC (rev 44844)
+++ trunk/Master/texmf-dist/tex/latex/uowthesistitlepage/uowthesistitlepage.sty 2017-07-19 21:09:35 UTC (rev 44845)
@@ -1,28 +1,33 @@
-%% This is file `uowthesistitlepage.sty',
-%% 2014-01-07 (cc) tmgriffiths Version 2.0
-%%
-%% Copyright (CC BY-NC-SA 3.0 AU) 2013 by T. M. Griffiths
-%% under the creative commons licence, attribution, non-comercial, share alike
-%% http://creativecommons.org/licenses/by-nc-sa/3.0/au/
-%%
-%% This work may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License version 1.3c
-%% http://www.latex-project.org/lppl/lppl-1-3c.txt
-%%
-%%--------------------------------------------------------------------------------
-%% This Package redefines the \maketitle Command for LaTeX documents and generates
-%% a title page as close as possible to the current UOW HDR word thesis-template.
-%% Use this package with the book class to typeset your thesis.
-%% The UOW default dimensions can be implimented with:
-%% \usepackage{geometry}
-%% \geometry{a4paper,inner=4.0cm, outer=2cm, top=3cm, bottom=2cm}
-%%
-%% Created by Thomas M. Griffiths (tmg994[at]uowmail[dot]edu[dot]au) 2013-06-17
-%% Version 2.0 2014-01-07 tmgriffiths
-%%--------------------------------------------------------------------------------
-
-%% Basic usage overview
+% This is file `uowthesistitlepage.sty',
+% 2014-01-07 (cc) tmgriffiths Version 3.0
%
+% Copyright (CC BY-SA 4.0 AU) 2017 by T. M. Griffiths under the creative
+% commons licence, attribution, non-comercial, share alike
+% https://creativecommons.org/licenses/by-sa/4.0/
+%
+% This work may be distributed and/or modified under the conditions of the
+% LaTeX Project Public License version 1.3c
+% http://www.latex-project.org/lppl/lppl-1-3c.txt
+%
+%------------------------------------------------------------------------------
+% This Package redefines the \maketitle Command for LaTeX documents and
+% generates a title page as close as possible to the current UOW HDR word
+% thesis-template. Use this package with the book class to typeset your thesis.
+% The UOW default dimensions can be implimented with:
+% \usepackage{geometry}
+% \geometry{a4paper,inner=4.0cm, outer=2cm, top=3cm, bottom=2cm}
+% These aren't especially pleasing to look at. Without changing the dimensions
+% of the textblock you can use:
+% \usepackage{geometry}
+% \geometry{a4paper,inner=3cm, outer=3cm, top=2cm, bottom=3m}
+% for more visually appealing margins.
+%
+% Created by Thomas M. Griffiths (tmg994[at]uowmail[dot]edu[dot]au) 2013-06-17
+% Version 3.0 2017-07-18 tmgriffiths
+%------------------------------------------------------------------------------
+%
+% Basic usage overview
+%
% \usepackage{uowthesistitlepage}
%
% \begin{document}
@@ -32,46 +37,52 @@
% Standard fields of \maketitle
% \title{A Pretty Swish Title}
% \author{Average J. Blow}
-% % If you use the hyperref package you can add a mailto link, so that clicking on your name opens an email to you.
-%
-% The new fields from the \maketitle renewal (see code below).
-% \degree{That Degree You've Been Studying}
-% % Write it in full: e.g. Bachelor of Science Medicinal Chemistry Advanced Honours
-% \school{Your School}
+% % If you use the hyperref package you can add a mailto link, so that
+% % clicking on your name opens an email to you.
+%
+% The new fields from the \maketitle renewal (see code below)
+% \degree{That Degree You've Been Studying}
+% % Write it in full: e.g. Bachelor of Science Medicinal Chemistry Advanced
+% % Honours
+% \school{Your School}
% % e.g Chemistry
% \supervisor{supervisor 1, supervisor 2 \& supervisor 3}
-% % A list of your supervisors, can be turned off with the nosupervisor package option in the preamble
-% % or switched to multiple (more thn one) with the package option multiplesupervisors
+% % A list of your supervisors, can be turned off with the nosupervisor
+% % package option in the preamble
+% % or switched to multiple (more thn one) with the package option
+% % multiplesupervisors
%
-% Implimented in version 1.1 is the \declaration Command.
-% This typesets the declaration (below) that this thesis is your own work, required in the front of each PhD Thesis.
+% Implimented in version 1.1 is the \declaration Command.
+% This typesets the declaration (below) that this thesis is your own work,
+% required in the front of each PhD Thesis.
%
% Declaration
%
-% I, <Student’s Full Name>, declare that this thesis, submitted in partial fulfilment of the requirements for the award of
-% <Your Degree>, of the School of <Your School>, University of Wollongong, is wholly my own work unless otherwise referenced
-% or acknowledged. The document has not been submitted for qualifications at any other academic institution.
+% I, \emph{Student’s Full Name}, declare that this thesis, submitted in
+% partial fulfilment of the requirements for the award of \emph{Your Degree}, of
+% the School of Your School, University of Wollongong, is wholly my own work
+% unless otherwise referenced or acknowledged. The document has not been
+% submitted for qualifications at any other academic institution.
%
%
% ------------------------------------
%
-% <Student’s Full Name>, July 1, 2013
+% Student’s Full Name, July 1, 2013
%
+%---------------------------------------------------------------------%
+% Package code %
+%---------------------------------------------------------------------%
-%%---------------------------------------------------------------------%%
-% Package code %
-%%---------------------------------------------------------------------%%
-
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
-\ProvidesPackage{uowthesistitlepage}[2014/01/07 V 2.0 (cc) tmgriffiths]
+\ProvidesPackage{uowthesistitlepage}[2014/01/07 V 3.0 (cc) tmgriffiths]
-\RequirePackage{geometry}
-\RequirePackage{setspace} % for the doublespacing
-\RequirePackage{etoolbox} % for the supervisor counting trickery
-\RequirePackage{graphicx}
- \DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname #1`/`basename #1 .tif`.png}
+\RequirePackage{geometry}
+\RequirePackage{ragged2e}
+\RequirePackage{setspace}
+\RequirePackage{etoolbox}
+\RequirePackage{graphicx}
-%% If statements
+% If statements
\newif\ifphd
\newif\ifhonours
\newif\ifmasters
@@ -83,512 +94,607 @@
\newif\ifmultiplecosupervisors
\newif\ifsubject
\newif\ifschool
+ \schooltrue
+
\newif\ifreport
\newif\ifhorizontal
-
-%% Declareing the package options
+\newif\ifaltpage
+\newif\iflogo
+ \logotrue
+
+\newif\ifcopyright
+ \copyrighttrue
+
+\newif\ifdomestic
+ \domestictrue
+
+% For my memory
+%\ifvar
+% true
+%\else
+% false
+%\fi
+
+% Declareing the package options.
% The default wording for the thesis requirements for an honours thesis.
-\DeclareOption{honours}
-{
-\phdfalse
-\mastersfalse
-\honourstrue
-\partialtrue
-\subjectfalse
+\DeclareOption{honours}{%
+ \phdfalse
+ \mastersfalse
+ \honourstrue
+ \partialtrue
+ \subjectfalse
}
-\DeclareOption{honors} % for those less honourable of you who've shunned the u.
-{
-\phdfalse
-\mastersfalse
-\honourstrue
-\partialtrue
-\subjectfalse
+\DeclareOption{honors}{% for those less honourable of you who've shunned the u.
+ \phdfalse
+ \mastersfalse
+ \honourstrue
+ \partialtrue
+ \subjectfalse
}
-% The default wording for the thesis requirements for a masters by coursework thesis.
-\DeclareOption{mastersbycoursework}
-{
-\phdfalse
-\masterstrue
-\honoursfalse
-\partialtrue
-\subjectfalse
+% The default wording for the thesis requirements for a masters by coursework
+% thesis.
+\DeclareOption{mastersbycoursework}{%
+ \phdfalse
+ \masterstrue
+ \honoursfalse
+ \partialtrue
+ \subjectfalse
}
-% The default wording for the thesis requirements for a masters by research dissertaion.
-\DeclareOption{mastersbyresearch}
-{
-\phdfalse
-\masterstrue
-\honoursfalse
-\partialfalse
-\subjectfalse
+% The default wording for the thesis requirements for a masters by research
+% dissertation.
+\DeclareOption{mastersbyresearch}{%
+ \phdfalse
+ \masterstrue
+ \honoursfalse
+ \partialfalse
+ \subjectfalse
}
% The default wording for the thesis requirements for a PhD thesis.
-\DeclareOption{phd}
-{
-\phdtrue
-\mastersfalse
-\honoursfalse
-\partialfalse
-\subjectfalse
-\def\@degree{Doctor of Philosophy}
+\DeclareOption{phd}{%
+ \phdtrue
+ \mastersfalse
+ \honoursfalse
+ \partialfalse
+ \subjectfalse
+ \degree{Doctor of Philosophy}
}
-% The default wording for the thesis requirements for a PhD thesis, with option capitalisation.
-\DeclareOption{PhD}
-{
-\phdtrue
-\mastersfalse
-\honoursfalse
-\partialfalse
-\subjectfalse
-\reportfalse
-\def\@degree{Doctor of Philosophy}
+% The default wording for the thesis requirements for a PhD thesis, with option
+% capitalisation.
+\DeclareOption{PhD}{%
+ \phdtrue
+ \mastersfalse
+ \honoursfalse
+ \partialfalse
+ \subjectfalse
+ \reportfalse
+ \degree{Doctor of Philosophy}
}
-%for theses or reports that are for an individual subject, not for the award of a degree
-\DeclareOption{partialsubject}
-{
-\phdfalse
-\mastersfalse
-\honoursfalse
-\reportfalse
-\partialtrue
-\subjecttrue
+% For theses or reports that are for an individual subject, not for the award of
+% a degree.
+\DeclareOption{partialsubject}{%
+ \copyrightfalse
+ \phdfalse
+ \mastersfalse
+ \honoursfalse
+ \reportfalse
+ \partialtrue
+ \subjecttrue
}
-\DeclareOption{fullsubject}
-{
-\phdfalse
-\mastersfalse
-\honoursfalse
-\subjecttrue
-\reportfalse
-\partialfalse
+\DeclareOption{fullsubject}{%
+ \copyrightfalse
+ \phdfalse
+ \mastersfalse
+ \honoursfalse
+ \subjecttrue
+ \reportfalse
+ \partialfalse
}
-\DeclareOption{report}
-{
-\phdfalse
-\mastersfalse
-\honoursfalse
-\subjecttrue
-\reporttrue
-\partialtrue
-\nosupervisortrue
+\DeclareOption{report}{%
+ \copyrightfalse
+ \phdfalse
+ \mastersfalse
+ \honoursfalse
+ \subjecttrue
+ \reporttrue
+ \partialtrue
+ \nosupervisortrue
}
% For all other thesis types.
-\DeclareOption{other}
-{
-\phdfalse
-\mastersfalse
-\honoursfalse
-\partialtrue
-\subjectfalse
-\reportfalse
-\nosupervisortrue
+\DeclareOption{other}{%
+ \phdfalse
+ \mastersfalse
+ \honoursfalse
+ \partialtrue
+ \subjectfalse
+ \reportfalse
+ \nosupervisortrue
}
-% In case you belong to an institute or some other affiliation (such as AIIM) instead of a school
-\DeclareOption{noschool}
-{
-\def\@schooltitle{}
-\def\@school{}
+% In case you belong to an institute or some other affiliation (such as AIIM)
+% instead of a school.
+\DeclareOption{noschool}{%
+ \newcommand\@schooltitle{}
+ \newcommand\@school{}
}
-% Determining the pluralisation (or absence) of 'supervisor' acording to the number of supervisors
-\DeclareOption{nosupervisor} % also achievable by using \supervisor[0]{}
-{
-\nosupervisortrue
-\cosupervisorfalse
-\multiplesupervisorsfalse
+% Determining the pluralisation (or absence) of 'supervisor' acording to the
+% number of supervisors.
+\DeclareOption{nosupervisor}{% also achievable by using \supervisor[0]{}
+ \nosupervisortrue
+ \cosupervisorfalse
+ \multiplesupervisorsfalse
}
-\DeclareOption{cosupervisor}
-{
-\nocosupervisorfalse
-\cosupervisortrue
+\DeclareOption{cosupervisor}{%
+ \nocosupervisorfalse
+ \cosupervisortrue
}
-\DeclareOption{horizontal}
-{
-\horizontaltrue
+\DeclareOption{horizontal}{%
+ \horizontaltrue
}
-% These two options have been left in for legacy purposes, but are no longer needed as the \supervisor Command has been modifed to have an optional field that specifies the number of supervisors
-\DeclareOption{onesupervisor}
-{
-\nosupervisorfalse
-\multiplesupervisorsfalse
+\DeclareOption{nologo}{%
+ \logofalse
}
-\DeclareOption{multiplesupervisors}
-{
-\nosupervisorfalse
-\multiplesupervisorstrue
+% These two options have been left in for legacy purposes, but are no longer
+% needed as the \supervisor Command has been modifed to have an optional field
+% that specifies the number of supervisors.
+\DeclareOption{onesupervisor}{%
+ \nosupervisorfalse
+ \multiplesupervisorsfalse
}
-%% Defining the defualt values of the macros within \maketitle
-\makeatletter
-% His \makeatother friend is at the end of the document, using multiple "make-ats" I got all sorts of errors
+\DeclareOption{multiplesupervisors}{%
+ \nosupervisorfalse
+ \multiplesupervisorstrue
+}
+\DeclareOption{nocopyright}{%
+ \copyrightfalse
+}
+
+\DeclareOption{international}{%
+ \domesticfalse
+}
+
+\DeclareOption{nortpacknowledgement}{%
+ \domesticfalse
+}
+
+% Definitely not another page layout that is more aesthetically pleasing.
+% No-sir-ee. Not here.
+\DeclareOption{altpage}{%
+ \altpagetrue
+}
+
+% Defining the default values of the macros within \maketitle
+
% Fields already in the \maketitle Command
-\def\@title
-{
-\textless{}Title of Your \ifreport Report\else \ifsubject Dissertation\else Thesis\fi\fi\textgreater
+\renewcommand\@title{%
+ Title of Your \ifreport Report\else \ifsubject Dissertation\else Thesis\fi\fi%
+ \@latex at warning@no at line{No \noexpand\title specified!}
}
-\def\@author
-{
-\textless{}Student's Full Name\textgreater
+\renewcommand\@author{%
+ Student's Full Name%
+ \@latex at warning@no at line{No \noexpand\author specified!}%
}
-\def\@date
-{
-\textless{}Month Year\textgreater
+\renewcommand\@date{%
+ \ifcase \month%
+ \or January%
+ \or February%
+ \or March%
+ \or April%
+ \or May%
+ \or June%
+ \or July%
+ \or August%
+ \or September%
+ \or October%
+ \or November%
+ \or December%
+ \fi, \number \the\year%
}
-
+
% These are the new fields not currently in the standard \maketitle macro.
% \supervisor[]{}
% Dummy text
-\def\@supervisor
-{
-\textless{}Your Supervisor(s)\textgreater
+\newcommand\@supervisor{%
+ Your Supervisor(s)%
+ \@latex at warning@no at line{No \noexpand\supervisor specified!}
}
% Command
-\newcommand{\supervisor}[2][1]
-{
-\gdef\@supervisor{#2}
-\ifnumless{#1}{1}
- {% true
+\newcommand{\supervisor}[2][1]{%
+ \gdef\@supervisor{#2}%
+ \ifnumless{#1}{1}{% true
\nosupervisortrue
\multiplesupervisorsfalse
- }
- {% false
- }
-\ifnumequal{#1}{1}
- {% true
+ }
+ {}% false
+ \ifnumequal{#1}{1}{% true
\nosupervisorfalse
\multiplesupervisorsfalse
- }
- {% false
- }
-\ifnumgreater{#1}{1}
- {% true
+ }
+ {}% false
+ \ifnumgreater{#1}{1}{% true
\nosupervisorfalse
\multiplesupervisorstrue
- }
- {% false
- }
+ }%
+ {}% false
}
% \cosupervisor[]{}
% Dummy text
-\def\@cosupervisor
-{
-\textless{}Your Co-supervisor(s)\textgreater
+\newcommand\@cosupervisor{%
+ {Your Co-supervisor(s)}%
}
% Command
-\newcommand{\cosupervisor}[2][1]
-{
-\gdef\@cosupervisor{#2}
-\ifnumless{#1}{1}
- {% true
+\newcommand{\cosupervisor}[2][1]{%
+ \gdef\@cosupervisor{#2}
+ \ifnumless{#1}{1}{% true
\cosupervisorfalse
\nocosupervisortrue
\multiplecosupervisorsfalse
- }
- {% false
- }
-\ifnumequal{#1}{1}
- {% true
+ }
+ {}% false
+ \ifnumequal{#1}{1}{% true
\cosupervisortrue
\nocosupervisorfalse
\multiplecosupervisorsfalse
- }
- {% false
- }
-\ifnumgreater{#1}{1}
- {% true
+ }
+ {}% false
+ \ifnumgreater{#1}{1}{% true
\cosupervisortrue
\nocosupervisorfalse
\multiplecosupervisorstrue
- }
- {% false
- }
+ }
+ {}% false
}
% \degree{}
% Dummy text
-\def\@degree
-{
-\textless{}Your Degree\textgreater
-}
+\newcommand\@degree{%
+ Your Degree%
+ \ifsubject{}%
+ \else{%
+ \@latex at warning@no at line{No \noexpand\degree specified!}%
+ }%
+ \fi
+}
% Command
-\newcommand{\degree}[1]
-{
-\gdef\@degree{#1}
+\newcommand{\degree}[1]{%
+ \gdef\@degree{#1}%
}
-% \class{}
-% Dummy text
-\def\@class{\textless{}Your Class\textgreater}
-% Command
-\newcommand{\class}[1]
-{
-\gdef\@class{#1}
+% \subject{}
+% Dummy text
+\newcommand\@subject{%
+ Your Class%
+ \@latex at warning@no at line{No \noexpand\subject specified!}%
+}
+% Command
+\newcommand{\subject}[1]{%
+ \gdef\@subject{#1}%
}
-% Dummy text
-\def\@school
-{
-\textless{}Your School\textgreater
+% \school{}
+% Dummy text
+\newcommand\@school{%
+ Your School%
+ \@latex at warning@no at line{No \noexpand\school specified!}%
}
-% Command
-\newcommand{\school}[1]
-{
-\gdef\@school{#1}
+
+% Command
+\newcommand{\school}[1]{%
+ \gdef\@school{#1}%
}
-% Internal command for the wording of the title page.
-\def\@graphic
-{
-\includegraphics[height=\crestheight]{uow_logo}
-}
+% Internal command for the wording of the title page.
+\newcommand\@graphic{%
+ \includegraphics[height=\crestheight]{uow_logo}%
+}
+
% Command
% Image must be in the working directory for this Command to work
-\newcommand{\graphic}[1]
-{
-\gdef\@graphic{#1}
-}
+\newcommand{\graphic}[1]{%
+ \gdef\@graphic{#1}%
+}
-% Internal command for the wording of the title page.
-\def\@requirement
-{
-\ifreport This report submitted as part of the assessment schedule for: \else This \ifsubject dissertation \else thesis \fi is presented as \ifpartial part of the requirements \else required \fi \ifsubject for completion of: \else for the conferral of the degree:\fi
+% Internal command for the wording of the title page.
+\newcommand\@requirement{%
+ \ifreport This report submitted as part of the assessment schedule for: %
+ \else This \ifsubject dissertation \else thesis \fi is presented as %
+ \ifpartial part of the requirements \else required \fi \ifsubject for %
+ completion of: \else for the conferral of the degree:\fi%
\fi
}
-% Internal command for the wording of the title page.
-\def\@schooltitle
-{
-School of
+% Internal command for the wording of the title page.
+\newcommand\@schooltitle{%
+ School of%
}
-%%
-%% Lengths
-%% Calculate the size of the gaps between fields relative to the paper height incase A4 is not used.
-%% The title page should cope with up to A5, but document fontsize does need to be taken down to 10 pt.
-%% In the future I hope to implement something that changes the font size according to paper size.
+%
+% Research Training Program requirement for research students to acknowledge
+% the Australian Government RTP Scholarship in all research publications.
+%
+\newcommand{\RTPacknowledgement}{%
+ This research has been conducted with the support of the Australian %
+ Government Research Training Program Scholarship.%
+}
+
+% \newcommand{\director}[1]{\gdef\@director{#1}}%
+% \newcommand{\@director}{\@latex at warning@no at line{No \noexpand\director specified!}}
+
+% Command
+\newcommand{\copyrighttext}[1]{%
+ \gdef\@copyrighttext{#1}%
+}
+
+\newcommand\@copyrighttext{%
+ \begin{raggedright}
+ \begin{singlespace}
+ This work \textcopyright{} copyright by \@author, \the\year. All Rights %
+ Reserved.
+
+ \vspace{\smallgap}%
+ No part of this work may be reproduced, stored in a retrieval system, %
+ transmitted, in any form or by any means, electronic, mechanical, %
+ photocopying, recording, or otherwise, without the prior permission of %
+ the author or the University of Wollongong.%
+
+ \ifdomestic{%
+ \vspace{\smallgap}%
+ \RTPacknowledgement%
+ }%
+ \else{}%
+ \fi%
+ \end{singlespace}
+ \end{raggedright}
+}
+
+%
+% Declaration page
+%
+% This is a new Command (\declaration) that if you desire you can use to print
+% the standard thesis submission declaration.
+\newcommand{\declaration}{%
+ \thispagestyle{empty}
+ \section*{Declaration}
+ \begin{singlespacing}
+ I, \emph{\@author}, declare that this \ifreport report \else \ifsubject %
+ dissertation \else thesis \fi \fi is submitted in \ifpartial partial \fi %
+ fulfilment of the requirements for \ifsubject the completion of %
+ \emph{\@subject{}}, \else the conferral of the degree \emph{\@degree{}}, %
+ from the University of Wollongong, \fi is wholly my own work unless %
+ otherwise referenced or acknowledged. This document has not been submitted %
+ for qualifications at any other academic institution.%
+ \par
+ \vspace{\fill}%
+ \noindent\rule{0.4\linewidth}{0.5pt}%
+ \vspace{1em}%
+ \par
+ \noindent\textbf{\@author}\vspace{1em}%
+ \par
+ \noindent\today
+ \end{singlespacing}
+ \clearpage{\pagestyle{empty}\cleardoublepage}
+}
+
+%
+% Lengths
+%
+% Calculate the size of the gaps between fields relative to the paper height.
+% Just in case A4 is not used. The title page should cope with up to A5, but
+% document fontsize does need to be taken down to 10 pt. In the future I
+% hope to implement something that changes the font size according to paper
+% size.
+%
\newlength{\biggap}
- \setlength{\biggap}{0.10\paperheight} %for A4 paper this is approximately 29 mm.
+\setlength{\biggap}{0.10\paperheight}
+% for A4 paper this is approximately 29 mm.
\newlength{\midgap}
- \setlength{\midgap}{0.044\paperheight} %for A4 paper this is approximately 13 mm.
+\setlength{\midgap}{0.044\paperheight}
+% for A4 paper this is approximately 13 mm.
\newlength{\smallgap}
- \setlength{\smallgap}{0.024\paperheight} %for A4 paper this is approximately 7 mm.
+\setlength{\smallgap}{0.024\paperheight}
+% for A4 paper this is approximately 7 mm.
\newlength{\vsmallgap}
- \setlength{\vsmallgap}{0.012\paperheight} %for A4 paper this is approximately 3.5 mm.
+\setlength{\vsmallgap}{0.012\paperheight}
+% for A4 paper this is approximately 3.5 mm.
\newlength{\crestheight}
- \setlength{\crestheight}{0.068\paperheight} %for A4 paper this is approximately 20 mm.
+\setlength{\crestheight}{0.068\paperheight}
+% for A4 paper this is approximately 20 mm.
\newlength{\innersidemargin}
- \setlength{\innersidemargin}{0.135\paperheight} %for A4 paper this is approximately 40 mm.
+% \setlength{\innersidemargin}{0.135\paperheight}
+% for A4 paper this is approximately 40 mm.
+\setlength{\innersidemargin}{0.10\paperheight}
+% for A4 paper this is approximately 29 mm
\newlength{\outersidemargin}
- \setlength{\outersidemargin}{0.068\paperheight} %for A4 paper this is approximately 20 mm.
-
+\setlength{\outersidemargin}{0.10\paperheight}
+% for A4 paper this is approximately 29 mm.
+
\newlength{\topsidemargin}
- \setlength{\topsidemargin}{\biggap} %for A4 paper this is approximately 29 mm.
-
+\setlength{\topsidemargin}{0.068\paperheight}
+% for A4 paper this is approximately 20 mm.
+
\newlength{\bottomsidemargin}
- \setlength{\bottomsidemargin}{\outersidemargin} %for A4 paper this is approximately 20 mm.
-
-
+\setlength{\bottomsidemargin}{0.10\paperheight}
+% for A4 paper this is approximately 29 mm.
-%%
-%% Title page
-%%
-%% Here we actually set up the title page.
-\renewcommand{\maketitle}%
-{
-\thispagestyle{empty}
-{\centering
-{\onehalfspacing
-\newgeometry{inner=\innersidemargin,outer=\outersidemargin,top=\topsidemargin,bottom=\bottomsidemargin}
-\ifsubject
- {
- }\\
-\else
- {
- \@graphic\\
- }
-\fi
-\textbf
- {
- \vspace{\biggap}\\
- {\Large\@title}\\
- \vspace{\biggap}
- }
-\@author\\
-\vspace{\smallgap}
-\ifhorizontal
- {
- \ifcosupervisor
- {
- \begin{tabular}{cc}
- \ifmultiplesupervisors
- {
- Supervisors:
- }
- \else
- {
- Supervisor:
- }
- \fi
- &
- \ifmultiplecosupervisors
- {
- Co-supervisors:
- }
- \else
- {
- Co-supervisor:
- }\\
- \fi
- \@supervisor
- &
- \@cosupervisor
- \end{tabular}
- }\\
- \else
- {
- \ifnosupervisor
- {
- }
- \else
- {
- \ifmultiplesupervisors
- {
- Supervisors:\\ \@supervisor
- }\\
- \else
- {
- Supervisor:\\ \@supervisor
- }\\
- \fi
- }
- \fi
- }
- \fi
- }
-\else
- {
- \ifnosupervisor
- {
- }
- \else
- {
- \ifmultiplesupervisors
- {
- Supervisors:\\ \@supervisor\\
- }
- \else
- {
- Supervisor:\\ \@supervisor\\
- }
- \fi
- }
- \fi
- \ifcosupervisor
- {
- \ifmultiplecosupervisors
- {
- Co-supervisors:\\ \@cosupervisor\\
- }
- \else
- {
- Co-supervisor:\\ \@cosupervisor\\
- }
- \fi
- }
- \else
- {
- }
- \fi
- }
-\fi
-\vspace{\biggap}
-\textit{
-\@requirement
-}\\
-\ifsubject
- {
- \vspace{\smallgap}
- \@class}\\
- \vspace*{\fill}
-\else
- {
- \vspace{\smallgap}
- \@degree\\
- \vspace*{\fill}
- }
-\fi
-The University of Wollongong\par
-\ifschool
- {
- \noindent\@schooltitle{}\@school\\
- }
-\else
- {
- }
-\fi
-\vspace{\smallgap}
-\@date\vspace{\smallgap}
-\restoregeometry
-\clearpage{\pagestyle{empty}\cleardoublepage}
+%
+% Title page
+%
+% Here we actually set up the title page.
+%
+\renewcommand{\maketitle}{%
+ \thispagestyle{empty}
+ \newgeometry{%
+ inner=\innersidemargin,%
+ outer=\outersidemargin,%
+ top=\topsidemargin,%
+ bottom=\bottomsidemargin%
+ }%
+ \begin{raggedright}
+ \begin{singlespacing}
+ \ifsubject{}
+ \else{%
+ \iflogo{%
+ \@graphic\\
+ }%
+ \else{}%
+ \fi%
+ }%
+ \fi
+ \textbf{%
+ \vspace{\biggap}\\%
+ {\Large\@title}\\%
+ \vspace{\midgap}%
+ }%
+ \@author\\%
+ \vspace{\midgap}%
+ \textit{%
+ \@requirement%
+ }\\%
+ \ifsubject{%
+ \vspace{\smallgap}%
+ \@subject\\%
+ \vspace*{\fill}%
+ }%
+ \else{%
+ \vspace{\smallgap}%
+ \@degree\\%
+ \vspace*{\fill}%
+ }%
+ \fi
+ \ifhorizontal{%
+ \ifcosupervisor{%
+ \begin{tabular}{@{}ll@{}}
+ \ifmultiplesupervisors{%
+ Supervisors:%
+ }%
+ \else{%
+ Supervisor:%
+ }%
+ \fi%
+ &%
+ \ifmultiplecosupervisors{%
+ Co-supervisors:%
+ }%
+ \else{%
+ Co-supervisor:%
+ }\\%
+ \fi
+ \@supervisor%
+ &%
+ \@cosupervisor%
+ \end{tabular}
+ }\\%
+ \else{%
+ \ifnosupervisor{}%
+ \else{%
+ \ifmultiplesupervisors{%
+ Supervisors:\\%
+ \@supervisor%
+ }\\%
+ \else{%
+ Supervisor:\\%
+ \@supervisor%
+ }\\%
+ \fi
+ }%
+ \fi
+ }%
+ \fi%
+ }%
+ \else{%
+ \ifnosupervisor{}%
+ \else{%
+ \ifmultiplesupervisors{%
+ Supervisors:\\%
+ \@supervisor\\%
+ \vspace{1ex}%
+ }%
+ \else{%
+ Supervisor:\\%
+ \@supervisor\\%
+ \vspace{1ex}%
+ }%
+ \fi%
+ }%
+ \fi%
+ \ifcosupervisor{%
+ \ifmultiplecosupervisors{%
+ Co-supervisors:\\%
+ \@cosupervisor\\%
+ }%
+ \else{%
+ Co-supervisor:\\%
+ \@cosupervisor\\%
+ }%
+ \fi%
+ }%
+ \else{}%
+ \fi%
+ }%
+ \fi%
+ \vspace{\midgap}%
+ The University of Wollongong\\%
+ \ifschool{%
+ \noindent\@schooltitle{} \@school\\%
+ }%
+ \else{}%
+ \fi%
+ \vspace{\midgap}%
+ \@date\vspace{\smallgap}%
+ \end{singlespacing}
+ \end{raggedright}
+ \ifcopyright{%
+ \clearpage%
+ \newgeometry{%
+ inner=\innersidemargin,%
+ outer=\outersidemargin,%
+ top=\topsidemargin,%
+ bottom=\bottomsidemargin%
+ }%
+ \thispagestyle{empty}%
+ \begin{raggedright}
+ \begin{singlespacing}
+ \vspace*{\fill}%
+ \footnotesize%
+ \@copyrighttext%
+ \end{singlespacing}
+ \end{raggedright}
+ \restoregeometry
+ }%
+ \else{}%
+ \fi%
+ \restoregeometry
+ \clearpage{\pagestyle{empty}\cleardoublepage}
}
-}
-}
-%%
-%% Declaration page
-%%
-%% This is a new Command (\declaration) that if you desire you can use to print the standard thesis submission declaration.
-
-\newcommand{\declaration}
-{
-\thispagestyle{empty}
-\noindent {\large \textbf{Declaration}}\\
-
-{\itshape\noindent I, \@author, declare that this \ifreport report \else \ifsubject dissertation \else thesis \fi \fi submitted in \ifpartial partial \fi fulfilment of the requirements for \ifsubject the completion of \@class{}, \else the conferral of the degree \@degree{}, from the University of Wollongong, \fi is wholly my own work unless otherwise referenced or acknowledged. This document has not been submitted for qualifications at any other academic institution.\par
-\vspace{\biggap}
-\noindent\rule{0.4\textwidth}{0.5pt}
-\vspace{1ex}\\
-\textbf{\@author}\\
-\today
-}
-
-\clearpage{\pagestyle{empty}\cleardoublepage}
-\makeatother
-}
-
-
-%% Execute the default options, print supervisor field and requirements for an honours thesis.
+% Execute the default options, print supervisor field and requirements for an
+% honours thesis.
\ExecuteOptions{honours}
-\schooltrue
\ProcessOptions\relax
+\endinput
-\endinput
% Quidquid latine dictum sit altum videtur.
-
-% Depreciated/old snippets that I might need someday
-%\def\@university{No university}
-% \newcommand{\university}[1]{\gdef\@university{#1}} % inactive with the new thesis theme (tmgriffiths 2013-05-29)
\ No newline at end of file
More information about the tex-live-commits
mailing list