diff options
author | Karl Berry <karl@freefriends.org> | 2014-01-10 23:18:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-01-10 23:18:28 +0000 |
commit | f67f7622795ccb13ad637eff3c43d34dcaabfd3a (patch) | |
tree | 33649caa464784aa2329498d9063a712148c9bb2 | |
parent | 04e4d2d91175f90f86171648623f8c55d04e7529 (diff) |
uowthesistitlepage (10jan14)
git-svn-id: svn://tug.org/texlive/trunk@32626 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/uowthesistitlepage/README | 74 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/uowthesistitlepage/uowthesistitlepage.pdf | bin | 491238 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/uowthesistitlepage/uowthesistitlepage.tex | 191 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/uowthesistitlepage/uowthesistitlepage_doc.pdf | bin | 0 -> 1408358 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/uowthesistitlepage/uowthesistitlepage_doc.tex | 306 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/uowthesistitlepage/uowthesistitlepage.sty | 567 |
6 files changed, 815 insertions, 323 deletions
diff --git a/Master/texmf-dist/doc/latex/uowthesistitlepage/README b/Master/texmf-dist/doc/latex/uowthesistitlepage/README index 8c3751c6146..baed48d22e0 100644 --- a/Master/texmf-dist/doc/latex/uowthesistitlepage/README +++ b/Master/texmf-dist/doc/latex/uowthesistitlepage/README @@ -1,56 +1,76 @@ -This is the README for uowthesistitlepage.sty Version 1.3, 2013-07-12 - +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 is your own work, required in the front of each PhD Thesis. +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 -- lmodern - setspace - etoolbox - graphicx +- geometry - +%------------------------------------------% BASIC USAGE \usepackage[]{uowthesistitlepage} -\begin{document} -%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. +% 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 Medicinal Chemistry Advanced Honours -\school{Your School} - %e.g Chemistry -\supervisor[number of supervisors (integer)]{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 +% 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 +\declaration + +% Your Thesis... + +\end{document} + +%------------------------------------------% +Wording of the Declaration (example option phd) + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%--------------% 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, <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>, July 1, 2013 +<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) 2013-06-17 - - +Created by Thomas M. Griffiths (tmg994[at]uowmail[dot]edu[dot]au) 2014-01-07 diff --git a/Master/texmf-dist/doc/latex/uowthesistitlepage/uowthesistitlepage.pdf b/Master/texmf-dist/doc/latex/uowthesistitlepage/uowthesistitlepage.pdf Binary files differdeleted file mode 100644 index 3d478b28aa8..00000000000 --- a/Master/texmf-dist/doc/latex/uowthesistitlepage/uowthesistitlepage.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/uowthesistitlepage/uowthesistitlepage.tex b/Master/texmf-dist/doc/latex/uowthesistitlepage/uowthesistitlepage.tex deleted file mode 100644 index f94f2569a32..00000000000 --- a/Master/texmf-dist/doc/latex/uowthesistitlepage/uowthesistitlepage.tex +++ /dev/null @@ -1,191 +0,0 @@ -\documentclass[12pt,oneside]{article} -\usepackage{geometry} - \geometry{a4paper,inner=2cm, outer=3cm, top=3cm, bottom=3cm} - -\usepackage[bitstream-charter]{mathdesign} -\usepackage[T1]{fontenc} - -\usepackage[usenames, dvipsnames]{color} -\usepackage{titlesec} - \titleformat{\section} - {\color{RoyalBlue}\normalfont\Large\sffamily} - {\color{RoyalBlue}\thesection}{1em}{} - \titleformat{\subsection} - {\normalfont\large\sffamily} - {\thesection}{1em}{} - -\usepackage{fontspec,xltxtra,xunicode} -\defaultfontfeatures{Mapping=tex-text} -%\setromanfont[Mapping=tex-text]{EB Garamond} -\setsansfont[Scale=MatchLowercase,Mapping=tex-text]{Roboto} -%\setmonofont[Scale=MatchLowercase]{Menlo} - -\usepackage{pdfpages} -\usepackage{hyperref} -\makeatletter -\renewcommand*\l@section{\@dottedtocline{1}{1.5em}{2.3em}} % dots in the table of contents -\makeatother - -\newcommand{\oporcom}[1]{\texttt{\color{RoyalBlue}#1}} % simplified the highlighting of options and commands in text -\newcommand{\comoptions}[1]{\texttt{\color{Gray}#1}} % simplified the highlighting of options and commands in text - -\setcounter{secnumdepth}{0} - -\begin{document} - -\title{\textsf{The \texttt{uowthesistitlepage} Package\\ -Redefinition of \texttt{\textbackslash{}maketitle} to Create a Title Page for a Thesis at the University of Wollongong}} -\author{Thomas M. Griffiths} -\date{Released \today, Version 1.1} - -\maketitle - -\tableofcontents - -\section{About} -This package redefines the \oporcom{\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 \oporcom{\textbackslash{}declaration} which typeset a declaration page required in the frontmatter of each PhD thesis. Use this package with the book class to typeset your 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. The default options when the package is loaded are: \oporcom{honours} and \oporcom{onesupervisor} - -\section{Legal} -This work is copyright (CC BY-NC-SA 3.0 AU) 2013 by T. M. Griffiths under the creative commons licence (attribution, non-comercial, share alike). More information can be found here: \url{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 which can be found at: \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 which can be found at: \url{http://www.uow.edu.au/about/brand/uowlogo/index.html} - -\section{Usage} -\subsection*{\oporcom{\textbackslash{}maketitle}} -If you are familiar with LaTeX using this package is very simple, place the package in your document's preamble: -\begin{verbatim} -\usepackage[]{uowthesistitlepage} -\end{verbatim} -The standard parts of the \oporcom{\textbackslash{}maketitle} command still apply. The title, author and date fields are filled in as normal, the package uses them in the title page. -\begin{verbatim} -\begin{document} -\title{A Pretty Swish Title} -\author{Average J. Blow} -\date{Month Year} -\end{verbatim} -The new fields from the uowthesistitlepage package are\oporcom{\textbackslash{}degree}, \oporcom{\textbackslash{}school} and \oporcom{\textbackslash{}supervisor}. They're fairly self-explanatory and you use them just as you would the standard macros for the regular \oporcom{\textbackslash{}maketitle} command. -\begin{verbatim} -\degree{That Degree You've Been Studying} -\school{Your School} -\supervisor[x]{Supervisor 1, Supervisor 2 \& Supervisor 3 etc.} -\end{verbatim} -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 (unless you're using the \oporcom{fullsubject} or \oporcom{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 \oporcom{\textbackslash{}maketitle} after all the defined fields as you usually would. - -\subsection*{\oporcom{\textbackslash{}declaration}} -Using the \oporcom{\textbackslash{}declaration} command is simple just place it in your document where you want it typeset. It uses the same macros (\oporcom{\textbackslash{}author}, \oporcom{\textbackslash{}degree} and \oporcom{\textbackslash{}school}) that we defined for the redefinition of \oporcom{\textbackslash{}maketitle}. - - -\section{Package Options and Macros} -\subsection*{Macros} -\begin{description} - \item[\oporcom{\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[\oporcom{\textbackslash{}class}\comoptions{\{Your Class\}}] If this is a dissertation submitted for an individual subject instead of a whole degree like honours, masters by coursework, or a PhD, this is where you tell us what it is. You can write the subject code, e.g. CHEM364, or the full subject name: `Molecular Structure and Spectroscopy'. If you're using this command you need to have the \oporcom{fullsubject} or \oporcom{partialsubject} option loaded in the preamble. If you don't load one of these two options this macro will do a disappointing nothing. - - \item[\oporcom{\textbackslash{}date}\comoptions{\{Month Year\}}] The date of your submission, usually `Month Year'. Alternatively, you can use the \oporcom{\textbackslash{}today} macro, and it will print the date in the format month dd, yyyy. - - \item[\oporcom{\textbackslash{}declaration}] This typesets the declaration that is required in the frontmatter of a PhD thesis. It's used in the exact same way as \oporcom{\textbackslash{}maketitle}, place it in the document where you want it typeset, and it will typeset the following: -\begin{quote} - \noindent {\large \textbf{Declaration}}\\ - - \noindent I, \textless{}Student's Full Name\textgreater, declare that this thesis, submitted in fulfilment of the requirements for the award of \textless{}Your Degree\textgreater, of the School of \textless{}Your School\textgreater, 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.\\ - \vspace{16mm}\\ - \noindent\rule{0.4\textwidth}{1pt}\\ - \vspace{8mm}\\ - \textbf{\textless{}Student's Full Name\textgreater}, \today\\ -\end{quote} - - \item[\oporcom{\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[\oporcom{\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. - The usage is a bit odd note the nested \oporcom{\textbackslash{}includegraphics} command: - - \oporcom{\textbackslash{}graphic}\comoptions{\{\textbackslash{}includegraphics\{yourgraphic\}\}} - - \item[\oporcom{\textbackslash{}requirement}] Similar to the \oporcom{\textbackslash{}graphic} macro, this macro is for internal use. It is manipulated by the degree options (\oporcom{phd}, \oporcom{honours} etc.) in the preamble, and determines what is printed in the requirement section of the title page. The default is the \oporcom{honours} option. - - \item[\oporcom{\textbackslash{}school}\comoptions{\{Your School\}}] The school within the university with which you are associated. If you are not associated with a school you can use the \oporcom{noschool} option in the preamble to disable the school under the UOW logo. The \oporcom{\textbackslash{}school} command will still work with the \oporcom{noschool} option, so you can specify another affiliation, for example The Australian Institute for Innovative Materials (AIIM). - - \item[\oporcom{\textbackslash{}supervisor}\comoptions{[number of supervisors (integer)]\{Your Supervisors\}}] Prints your supervisor(s) to the title page. List all your supervisors and their titles in the one set of enclosing braces (\texttt{\{ \}}), separated by commas with an ampersand (\&) before the final supervisor if you have multiple supervisors. Use the optional argument `\texttt{[x]}' to specify how many supervisors you have. The default number of supervisors is one. - - \item[\oporcom{\textbackslash{}title}\comoptions{\{Your Thesis Title\}}] Self explanatory, it's the title of your thesis -\end{description} - -\subsection*{Options} -\begin{description} - \item[\oporcom{fullsubject}] - This option typesets the title page of the document in a manner appropriate for a single subject based report, where the report is worth 100\% of the total mark of the subject. There is corresponding option \oporcom{partialsubject} for a report that is only a part of the assessable content of the subject. The name of the subject is loaded with the \oporcom{\textbackslash{}class} macro in the document body. By default this option also loads the \oporcom{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[\oporcom{honours}] - 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'. - - \item[\oporcom{honors}] - Identical to \oporcom{honours}, just the alternative u-less spelling. See above. - - \item[\oporcom{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. This command has an option friend, \oporcom{fullsubject}, for a report that is 100\% assessable content of the subject. The name of the subject is loaded with the \oporcom{\textbackslash{}class} macro in the document body. By default this option also loads the \oporcom{nosupervisor} option, if you have any supervisors you'll need to add the correct supervisor option in the preamble. This option and its corresponding full option do not typeset the logo on the title page. - - \item[\oporcom{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'. - - \item[\oporcom{mastersbyresearch}] - One of the degree options, the same as \oporcom{phd}. This option modifies the wording of the thesis requirement so that it is reflective of a Masters by Research: `This thesis is presented as required for the'. - - \item[\oporcom{mastersbycoursework}] - One of the degree options, the same as \oporcom{mastersbyresearch} except that the thesis is only a partial requirement for the award of the degree. This option modifies the wording of the thesis requirement so that it is reflective of a Masters by Coursework: `This thesis is presented as part of the requirement for the'. - - \item[\oporcom{multiplesupervisors}] - Makes the supervisor field plural, printing `Supervisors'. Still implemented but only necessary if you have supervisors and the \oporcom{partialsubject} or \oporcom{fullsubject} option is loaded. Use the optional argument to the \oporcom{\textbackslash{}supervisor} command. - - \item[\oporcom{noschool}] - Removes the text underneath the UOW stating your school affiliation. While it removes the `School of' text it doesn't deactivate the \oporcom{\textbackslash{}school} command completely it prints an empty space instead. The \oporcom{\textbackslash{}school} command will still works with the \oporcom{noschool} option, so that you can specify another affiliation. - - \item[\oporcom{nosupervisor}] - Removes the supervisor field from the title page completely. Incorporated mainly to match the Word template, which, oddly is missing a supervisor field. Still implemented but unnecessary, use the optional argument to the \oporcom{\textbackslash{}supervisor} command - - \item[\oporcom{onesupervisor}] - Makes the supervisor field singular, printing `Supervisor' This option is the default. Still implemented but only necessary ifs you have supervisors and the \oporcom{partialsubject} or \oporcom{fullsubject} option is loaded. Use the optional argument to the \oporcom{\textbackslash{}supervisor} command. - -\end{description} - -\section{Change Log} -If you spot any errors or bugs, or alternately you have any requests for an addition let me know. -\subsection*{Version 1.2, 2013-07-12, tmgriffiths} -\begin{itemize} - \item Added the \oporcom{fullsubject} and \oporcom{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 -\end{itemize} -\subsection*{Version 1.1, 2013-07-01, tmgriffiths} -\begin{itemize} - \item Rewrote the \oporcom{\textbackslash{}supervisor} command to have an optional argument giving the number of supervisors. I used the \texttt{etoolbox} package and its \texttt{\textbackslash{}ifnumcom} macros to do so. The old options \oporcom{nosupervisor}, \oporcom{onesupervisor} and \oporcom{multiplesupervisors} still exist but mainly for legacy reasons. It is not necessary to specify them in the preamble anymore. The only thing of note is that \oporcom{nosupervisor} is achieved by either \oporcom{nosupervisor} in the preamble or \oporcom{\textbackslash{}supervisor}\texttt{[0]\{\}} in the document Simply leaving out supervisor will not remove the field. - \item Rewrote the way each degree type specified partial or complete requirement in the \oporcom{\textbackslash{}@requirement} macro. I'm now using \texttt{\textbackslash{}if} statements to set the field. - \item Implemented the \oporcom{\textbackslash{}declaration} command (see examples). It typesets declaration page that PhD students are required to have in the frontmatter of their thesis. -\end{itemize} - -\subsection*{Version 1.0, 2013-23-06, tmgriffiths} -\begin{enumerate} - \item Implimented \oporcom{phd}, \oporcom{mastersbyresearch}, the various \oporcom{supervisor} based, and \oporcom{noschool} options. - \item Annotated code in sty file. - \item Wrote documentation. -\end{enumerate} - -\section{Example Title Pages} -In order on the following pages they are: -\begin{enumerate} - \item \oporcom{onesupervisor,honours} \emph{default} - \item \oporcom{multiplesupervisors,phd} - \item \oporcom{nosupervisor,phd} - \item \oporcom{noschool,honours} - \item Microsoft Word 2010 template for comparison. - \item \oporcom{\textbackslash{}declaration} declaration page (mainly for PhD theses). -\end{enumerate} -\includepdf{onesupervisor.pdf} -\includepdf{multiplesupervisors-phd.pdf} -\includepdf{nosupervisor-phd.pdf} -\includepdf{noschool.pdf} -\includepdf{word.pdf} -\includepdf{declaration.pdf} -\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/uowthesistitlepage/uowthesistitlepage_doc.pdf b/Master/texmf-dist/doc/latex/uowthesistitlepage/uowthesistitlepage_doc.pdf Binary files differnew file mode 100644 index 00000000000..1ee240a7e71 --- /dev/null +++ b/Master/texmf-dist/doc/latex/uowthesistitlepage/uowthesistitlepage_doc.pdf diff --git a/Master/texmf-dist/doc/latex/uowthesistitlepage/uowthesistitlepage_doc.tex b/Master/texmf-dist/doc/latex/uowthesistitlepage/uowthesistitlepage_doc.tex new file mode 100644 index 00000000000..8d02beed942 --- /dev/null +++ b/Master/texmf-dist/doc/latex/uowthesistitlepage/uowthesistitlepage_doc.tex @@ -0,0 +1,306 @@ +\documentclass[12pt,oneside]{article} +\usepackage{geometry} + \geometry{a4paper,bottom=4.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} + +\usepackage{titlesec} + \titleformat{\section} + {\color{Blue}\normalfont\Large\sffamily} + {\color{Blue}\thesection}{1em}{} + \titleformat{\subsection} + {\normalfont\large\sffamily} + {\thesection}{1em}{} + +\usepackage{fontspec,xltxtra,xunicode} +\defaultfontfeatures{Mapping=tex-text} +\setromanfont[Numbers=OldStyle]{Adobe Garamond Pro} +\setsansfont[Scale=MatchLowercase]{Gill Sans} +\setmonofont[Scale=MatchLowercase]{Menlo} + +\usepackage{pdfpages} +\usepackage{hyperref} + +\makeatletter +\renewcommand*\l@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 + +\setcounter{secnumdepth}{0} + +\begin{document} + +\title{\color{Gray2}{\textsf{The \texttt{uowthesistitlepage} Package}}} +\author{Thomas M. Griffiths} +\date{Released \today, Version 2.0} + +\maketitle + +\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. + +\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:\\ + +\command{\textbackslash{}usepackage}\option{[options]}\comoptions{\{uowthesistitlepage\}}\\ + +\noindent The standard parts of the \command{\textbackslash{}maketitle} command still apply. The title, author and date fields are filled in as normal.\\ + +\command{\textbackslash{}title}\comoptions{\{A Pretty Swish Title\}} + +\command{\textbackslash{}author}\comoptions{\{Average J. Blow\}} + +\command{\textbackslash{}date}\comoptions{\{Month Year\}}\\ + +The new fields from the uowthesistitlepage package are\command{\textbackslash{}degree}, \command{\textbackslash{}school} and \command{\textbackslash{}supervisor} and the optional \command{\textbackslash{}cosupervisor}. They're fairly self-explanatory, and you use them just as you would the standard macros for the regular \command{\textbackslash{}maketitle} command.\\ + +\command{\textbackslash{}degree}\comoptions{\{That Degree You've Been Studying\}} + +\command{\textbackslash{}school}\comoptions{\{Your School\}} + +\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. + +\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. + + +\section{Package Options and Macros} +\subsection*{Macros} +\begin{description} + \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{}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. + + This field can be modified to either display adjacent to the supervisor field or below it. Making the fields adjacent is done with the \option{horizontal} option in the preamble. The default is below the supervisor field. If you have a large number of supervisors, or supervisors with long names I recommend you use the default one above the other placing of the supervisor and co-supervisor fields. + + \item[\command{\textbackslash{}date}\comoptions{\{Month Year\}}] The date of your submission, usually `Month Year'. Alternatively, you can use the \command{\textbackslash{}today} macro, and it will print the date in the format month dd, yyyy. + + \item[\command{\textbackslash{}declaration}] The declaration is generally required in the front matter of a PhD thesis, and so the declaration page is mainly intended for PhD theses, but can also be used for all the other document types. The package will adjust the wording accordingly each document type; `report' for reports, `dissertation' for subject based documents (the declaration for these documents will also mention that they were submitted for a class, not the conferral of a degree) and `thesis' for all postgraduate work. It's used in the exact same way as \command{\textbackslash{}maketitle}, place it in the document where you want it typeset and it will typeset the following for example, for a PhD:\\ + +\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 +\vspace{1cm} +\noindent\rule{0.4\textwidth}{0.5pt} +\vspace{1ex}\\ +\textbf{\textless{}Student's Full Name\textgreater}\\ +\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. + The usage is a bit odd note the nested \command{\textbackslash{}includegraphics} command: + + \command{\textbackslash{}graphic}\comoptions{\{\textbackslash{}includegraphics\{yourgraphic\}\}} + + \item[\command{\textbackslash{}requirement}] Similar to the \command{\textbackslash{}graphic} macro, this macro is for internal use. It is manipulated by the degree options (\option{phd}, \option{honours} etc.) in the preamble, and determines what is printed in the requirement section of the title page. + + \item[\command{\textbackslash{}school}\comoptions{\{Your School\}}] The school within the university with which you are associated. If you are not associated with a school you can use the \option{noschool} option in the preamble to disable the school at the bottom of the title page. The \option{\textbackslash{}school} command will still work with the \option{noschool} option, so you can specify another affiliation, for example: The Australian Institute for Innovative Materials (AIIM). + + \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. +\end{description} + +\subsection*{Options} +\begin{description} + \item[\option{cosupervisor}] + 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. + + \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:'. + + \item[\option{honors}] + Identical to \option{honours}, just the alternative u-less spelling. See above. + + \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} + + 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} + Supervisors: & Co-supervisors:\\ + \textless{}Your Supervisor(s)\textgreater & \textless{}Your Co-supervisor(s)\textgreater\\ + \end{tabular} + \end{center} + + 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. + + \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'. + + \item[\option{PhD}] + The same as the \option{phd} option with alternate capitalisation. See above. + + \item[\option{mastersbyresearch}] + One of the degree options, the same as \option{phd}. This option modifies the wording of the thesis requirement so that it is reflective of a Masters by Research: `This thesis is presented as required for the conferral of the degree:'. + + \item[\option{mastersbycoursework}] + One of the degree options, the same as \option{mastersbyresearch} except that the thesis is only a partial requirement for the award of the degree. This option modifies the wording of the thesis requirement so that it is reflective of a Masters by Coursework: `This thesis is presented as part of the requirement for the conferral of the degree:'. + + \item[\option{multiplesupervisors}] + Makes the supervisor field plural, printing `Supervisors'. Still implemented but not necessary. Use the optional argument to the \command{\textbackslash{}supervisor}\option{[number of supervisors]}\comoptions{\{Your Supervisors\}} command. + + \item[\option{noschool}] + Removes the text at the base of the page with your school affiliation. While it removes the `School of' text, it doesn't deactivate the \command{\textbackslash{}school} command completely, it prints empty space instead. The \command{\textbackslash{}school} command still works with the \option{noschool} option, so that you can specify another affiliation, e.g AIIM. + + \item[\option{nosupervisor}] + Removes the supervisor field from the title page completely. Incorporated mainly to match the available Word template, which, oddly is missing a supervisor field. Still implemented but unnecessary, use the optional argument to the \command{\textbackslash{}supervisor} command + + \item[\option{onesupervisor}] + 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. + +\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}. + +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 (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/}. + +\section{Change Log} +If you spot any errors or bugs, or alternately you have any requests for an addition let me know. +\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. + \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 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 Italicised the requirements. + \item Removed the bold from all but the title. + \item Changed the wording — The degree is now conferred not awarded. + \item Added new pagesize proportional measurements for the margins so that they scale and the title page now works for small pages (tested to A5 12 pt). + \item Made code neat and indented properly + \item Removed \texttt{lmodern} package requirement. + \item Added `Doctor of Philosophy' as the \command{\textbackslash{}degree} definition if option phd (or +PhD) is given to the package. + \item Added two new internal Booleans: \command{\textbackslash{}ifhonours} and \command{\textbackslash{}ifmasters} + +\end{itemize} + +\subsection*{Version 1.3, 2013–09–17, tmgriffiths} +\begin{itemize} + \item Adjusted internal lengths to ensure title page remained on one page for the default book settings at 12pt font size. +\end{itemize} + +\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 +\end{itemize} +\subsection*{Version 1.1, 2013–07–01, tmgriffiths} +\begin{itemize} + \item Rewrote the \command{\textbackslash{}supervisor} command to have an optional argument giving the number of supervisors. I used the \texttt{etoolbox} package and its \texttt{\textbackslash{}ifnumcom} macros to do so. The old options \option{nosupervisor}, \option{onesupervisor} and \option{multiplesupervisors} still exist but mainly for legacy reasons. It is not necessary to specify them in the preamble anymore. The only thing of note is that \option{nosupervisor} is achieved by either \option{nosupervisor} in the preamble or \command{\textbackslash{}supervisor}\comoptions{\texttt{[0]\{\}}} in the document Simply leaving out supervisor will not remove the field. + \item Rewrote the way each degree type specified partial or complete requirement in the \command{\textbackslash{}@requirement} macro. I'm now using \texttt{\textbackslash{}if} statements to set the field. + \item Implemented the \command{\textbackslash{}declaration} command (see examples). It typesets declaration page that PhD students are required to have in the front matter of their thesis. +\end{itemize} + +\subsection*{Version 1.0, 2013–23–06, tmgriffiths} +\begin{itemize} + \item Implemented \option{phd}, \option{mastersbyresearch}, the various \option{supervisor} based, and \option{noschool} options. + \item Annotated code in sty file. + \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} +\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} + +\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 diff --git a/Master/texmf-dist/tex/latex/uowthesistitlepage/uowthesistitlepage.sty b/Master/texmf-dist/tex/latex/uowthesistitlepage/uowthesistitlepage.sty index 95d8e7e1add..5bb47f00492 100644 --- a/Master/texmf-dist/tex/latex/uowthesistitlepage/uowthesistitlepage.sty +++ b/Master/texmf-dist/tex/latex/uowthesistitlepage/uowthesistitlepage.sty @@ -1,5 +1,5 @@ %% This is file `uowthesistitlepage.sty', -%% Version 1.3 2007-09-17 +%% 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 @@ -10,7 +10,7 @@ %% http://www.latex-project.org/lppl/lppl-1-3c.txt %% %%-------------------------------------------------------------------------------- -%% This Package redefines the \maketitle command for LaTeX documents and generates +%% 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: @@ -18,7 +18,7 @@ %% \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 1.2 2007-07-12 tmgriffiths +%% Version 2.0 2014-01-07 tmgriffiths %%-------------------------------------------------------------------------------- %% Basic usage overview @@ -43,7 +43,7 @@ % % 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. +% 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 @@ -63,9 +63,9 @@ %%---------------------------------------------------------------------%% \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\ProvidesPackage{uowthesistitlepage}[2007/07/01 (cc) tmgriffiths] +\ProvidesPackage{uowthesistitlepage}[2014/01/07 V 2.0 (cc) tmgriffiths] -\RequirePackage{lmodern} +\RequirePackage{geometry} \RequirePackage{setspace} % for the doublespacing \RequirePackage{etoolbox} % for the supervisor counting trickery \RequirePackage{graphicx} @@ -73,165 +73,522 @@ %% If statements \newif\ifphd +\newif\ifhonours +\newif\ifmasters \newif\ifpartial \newif\ifnosupervisor \newif\ifmultiplesupervisors +\newif\ifcosupervisor +\newif\ifnocosupervisor +\newif\ifmultiplecosupervisors \newif\ifsubject +\newif\ifschool +\newif\ifreport +\newif\ifhorizontal %% Declareing the package options % The default wording for the thesis requirements for an honours thesis. \DeclareOption{honours} -{\phdfalse \partialtrue \subjectfalse} +{ +\phdfalse +\mastersfalse +\honourstrue +\partialtrue +\subjectfalse +} -\DeclareOption{honors} % for those less honourable of you who've shunned the 'u. -{\phdfalse \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 \partialtrue \subjectfalse} +{ +\phdfalse +\masterstrue +\honoursfalse +\partialtrue +\subjectfalse +} % The default wording for the thesis requirements for a masters by research dissertaion. \DeclareOption{mastersbyresearch} -{\phdfalse \partialfalse \subjectfalse} +{ +\phdfalse +\masterstrue +\honoursfalse +\partialfalse +\subjectfalse +} % The default wording for the thesis requirements for a PhD thesis. \DeclareOption{phd} -{\phdtrue \partialfalse \subjectfalse} +{ +\phdtrue +\mastersfalse +\honoursfalse +\partialfalse +\subjectfalse +\def\@degree{Doctor of Philosophy} +} -% For all other thesis types, -\DeclareOption{other} -{\phdfalse \partialtrue \subjectfalse} +% 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} +} %for theses or reports that are for an individual subject, not for the award of a degree \DeclareOption{partialsubject} -{\phdfalse \partialtrue \subjecttrue \nosupervisortrue} +{ +\phdfalse +\mastersfalse +\honoursfalse +\reportfalse +\partialtrue +\subjecttrue +} \DeclareOption{fullsubject} -{\phdfalse \subjecttrue \partialfalse \nosupervisortrue} +{ +\phdfalse +\mastersfalse +\honoursfalse +\subjecttrue +\reportfalse +\partialfalse +} + +\DeclareOption{report} +{ +\phdfalse +\mastersfalse +\honoursfalse +\subjecttrue +\reporttrue +\partialtrue +\nosupervisortrue +} + +% For all other thesis types. +\DeclareOption{other} +{ +\phdfalse +\mastersfalse +\honoursfalse +\partialtrue +\subjectfalse +\reportfalse +\nosupervisortrue +} -% In case you belong to an institute such as AIIM instead of a school +% In case you belong to an institute or some other affiliation (such as AIIM) instead of a school \DeclareOption{noschool} -{\def\@schooltitle{} \def\@school{}} +{ +\def\@schooltitle{} +\def\@school{} +} % Determining the pluralisation (or absence) of 'supervisor' acording to the number of supervisors \DeclareOption{nosupervisor} % also achievable by using \supervisor[0]{} -{\nosupervisortrue \multiplesupervisorsfalse} +{ +\nosupervisortrue +\cosupervisorfalse +\multiplesupervisorsfalse +} -% 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{cosupervisor} +{ +\nocosupervisorfalse +\cosupervisortrue +} + +\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} +{ +\nosupervisorfalse +\multiplesupervisorsfalse +} + \DeclareOption{multiplesupervisors} -{\nosupervisorfalse \multiplesupervisorstrue} +{ +\nosupervisorfalse +\multiplesupervisorstrue +} %% Defining the defualt values of the macros within \maketitle -\makeatletter % his \makeatother friend is at the end of the document, using multiple sets I got all sorts of errors -% Fields already in the \maketitle command -\def\@title{\textless{}Title of Your Thesis\textgreater} -\def\@author{\textless{}Student's Full Name\textgreater} -\def\@date{\textless{}Month Year\textgreater} - -%\def\@supervisor{\textless{}Your Supervisor(s)\textgreater} -% \newcommand{\supervisor}[2][1]{\gdef\@supervisor{#2}} +\makeatletter +% His \makeatother friend is at the end of the document, using multiple "make-ats" I got all sorts of errors + +% Fields already in the \maketitle Command +\def\@title +{ +\textless{}Title of Your \ifreport Report\else \ifsubject Dissertation\else Thesis\fi\fi\textgreater +} + +\def\@author +{ +\textless{}Student's Full Name\textgreater +} + +\def\@date +{ +\textless{}Month Year\textgreater +} -%These are the new fields not currently in the standard \maketitle macro. -\def\@supervisor{\textless{}Your Supervisor(s)\textgreater} - \newcommand{\supervisor}[2][1]{ - \gdef\@supervisor{#2} - \ifnumless{#1}{1}{\nosupervisortrue \multiplesupervisorsfalse}{} - \ifnumequal{#1}{1}{\nosupervisorfalse \multiplesupervisorsfalse}{} - \ifnumgreater{#1}{1}{\nosupervisorfalse \multiplesupervisorstrue}{} - } -\def\@degree{\textless{}Your Degree\textgreater} - \newcommand{\degree}[1]{\gdef\@degree{#1}} -\def\@class{\textless{}Your Class\textgreater} - \newcommand{\class}[1]{\gdef\@class{#1}} -\def\@school{\textless{}Your School\textgreater} - \newcommand{\school}[1]{\gdef\@school{#1}} -\def\@graphic{\includegraphics[height=2.1cm]{uow_logo}} -% Image must be in the working directory for this command to work - \newcommand{\graphic}[1]{\gdef\@graphic{#1}} -\def\@requirement{This \ifsubject dissertation \else thesis \fi is presented as \ifpartial part of the requirements \else required \fi \ifsubject for completion of \else for the \fi} -\def\@schooltitle{School of} -% The default value is the same as the honours option. This can be changed for degrees where the thesis is not only a part of the requirement of the degree +% These are the new fields not currently in the standard \maketitle macro. +% \supervisor[]{} +% Dummy text +\def\@supervisor +{ +\textless{}Your Supervisor(s)\textgreater +} +% Command +\newcommand{\supervisor}[2][1] +{ +\gdef\@supervisor{#2} +\ifnumless{#1}{1} + {% true + \nosupervisortrue + \multiplesupervisorsfalse + } + {% false + } +\ifnumequal{#1}{1} + {% true + \nosupervisorfalse + \multiplesupervisorsfalse + } + {% false + } +\ifnumgreater{#1}{1} + {% true + \nosupervisorfalse + \multiplesupervisorstrue + } + {% false + } +} -%\def\@university{No university} -% \newcommand{\university}[1]{\gdef\@university{#1}} % inactive with the new thesis theme (tmgriffiths 2013-05-29) +% \cosupervisor[]{} +% Dummy text +\def\@cosupervisor +{ +\textless{}Your Co-supervisor(s)\textgreater +} +% Command +\newcommand{\cosupervisor}[2][1] +{ +\gdef\@cosupervisor{#2} +\ifnumless{#1}{1} + {% true + \cosupervisorfalse + \nocosupervisortrue + \multiplecosupervisorsfalse + } + {% false + } +\ifnumequal{#1}{1} + {% true + \cosupervisortrue + \nocosupervisorfalse + \multiplecosupervisorsfalse + } + {% false + } +\ifnumgreater{#1}{1} + {% true + \cosupervisortrue + \nocosupervisorfalse + \multiplecosupervisorstrue + } + {% false + } +} + +% \degree{} +% Dummy text +\def\@degree +{ +\textless{}Your Degree\textgreater +} +% Command +\newcommand{\degree}[1] +{ +\gdef\@degree{#1} +} + +% \class{} +% Dummy text +\def\@class{\textless{}Your Class\textgreater} +% Command +\newcommand{\class}[1] +{ +\gdef\@class{#1} +} +% Dummy text +\def\@school +{ +\textless{}Your School\textgreater +} +% Command +\newcommand{\school}[1] +{ +\gdef\@school{#1} +} + +% Internal command for the wording of the title page. +\def\@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} +} + +% 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 +\fi +} + +% Internal command for the wording of the title page. +\def\@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. +%% 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. \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.045\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.025\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. + +\newlength{\innersidemargin} + \setlength{\innersidemargin}{0.135\paperheight} %for A4 paper this is approximately 40 mm. + +\newlength{\outersidemargin} + \setlength{\outersidemargin}{0.068\paperheight} %for A4 paper this is approximately 20 mm. + +\newlength{\topsidemargin} + \setlength{\topsidemargin}{\biggap} %for A4 paper this is approximately 29 mm. + +\newlength{\bottomsidemargin} + \setlength{\bottomsidemargin}{\outersidemargin} %for A4 paper this is approximately 20 mm. + + %% %% Title page %% %% Here we actually set up the title page. -\renewcommand{\maketitle} -{ -\begin{doublespace} - \begin{center} - \vspace{-\smallgap} - \thispagestyle{empty} - \ifsubject{\ }\\ \else{\@graphic}\\\fi - \vspace{\vsmallgap} - \textbf{ - \@schooltitle{} \@school\\ - \vspace{\biggap} - {\large{\@title}}\\ - \vspace{\biggap} - {\@author}\\ - \vspace{\smallgap} - \ifnosupervisor {\ }\\ - \else{ - \ifmultiplesupervisors Supervisors\\\@supervisor\\ - \else Supervisor\\\@supervisor\\ - \fi - } +\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 - \vspace{\smallgap} - \@requirement\\ - \ifsubject \@class\\ \else{Award of the Degree of}\\ \fi - \ifsubject {\ }\\ \else{\@degree}\\ \fi - \ifsubject {\ }\\ \else{of the}\\ \fi - University of Wollongong\\ - \vspace*{\fill} - \@date\vspace{\smallgap} + } + \fi + } + \fi + } +\else + { + \ifnosupervisor + { + } + \else + { + \ifmultiplesupervisors + { + Supervisors:\\ \@supervisor\\ + } + \else + { + Supervisor:\\ \@supervisor\\ + } + \fi + } + \fi + \ifcosupervisor + { + \ifmultiplecosupervisors + { + Co-supervisors:\\ \@cosupervisor\\ + } + \else + { + Co-supervisor:\\ \@cosupervisor\\ + } + \fi } - \end{center} -\end{doublespace} -\clearpage{\pagestyle{empty}\cleardoublepage} + \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} +} +} } - -%% Execute the default options, print supervisor field and requirements for an honours thesis. -\ExecuteOptions{onesupervisor,honours} -\ProcessOptions\relax - %% %% Declaration page %% -%% This is a new command (\declaration) that if you desire you can use to print the standard thesis submission declaration. +%% This is a new Command (\declaration) that if you desire you can use to print the standard thesis submission declaration. -\newcommand{\declaration}{ +\newcommand{\declaration} +{ \thispagestyle{empty} \noindent {\large \textbf{Declaration}}\\ -\noindent I, \@author, declare that this thesis, submitted in \ifpartial partial \fi fulfilment of the requirements for the award of \@degree, of the \@schooltitle{} \@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.\\ -\vspace{\midgap}\\ -\noindent\rule{0.4\textwidth}{1.pt}\\ -\vspace{\smallgap}\\ -\textbf{\@author}, \today +{\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. +\ExecuteOptions{honours} +\schooltrue +\ProcessOptions\relax \endinput -% Quidquid latine dictum sit altum videtur.
\ No newline at end of file +% 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 |