diff --git a/main-dissertation.tex b/main-dissertation.tex index b65bab5..169cadf 100644 --- a/main-dissertation.tex +++ b/main-dissertation.tex @@ -53,10 +53,12 @@ %\DocumentInfo{TYPE}{ABBREVIATION}{DEGREE}{PROGRAM}{ECTS}{School/Department} \DocumentInfo{Dissertation}{Ph.D.}{Doctor of Science}{Mechanical Engineering}{XX}{Department of Engineering} \DocumentDescription{\theDocumentType{} of \theECTS{} ECTS credits - submitted to the \theSchool{} at \theInstitution{} in partial fulfillment - of the requirements for the degree of \theDegreeLong} + submitted to the \theSchool{} at \theInstitution{} in partial fulfillment + of the requirements for the degree of \theDegreeLong} % Change \DocumentDescription if you need a custom title or if it needs to be in Icelandic +\bookissn{ISSN XXXX-XXXX}%You need to register for an ISSN to publish a Dissertation + %% PhD only have Thesis Committee with roles. Examiner is part of committee. \SupervisorHeading{Thesis Committee} \Supervisors{ @@ -70,11 +72,12 @@ \begin{document} -\printedcover{\thetitle}{ISSN XXXX-XXXX}%Cover title and ISSN number -\printedcover{\thetitle}{ISSN XXXX-XXXX}%Cover title and ISSN number + +\printedcover{\thetitle}%Cover title (in case you have to adjust formatting) \maketitle{} \disableindents{}%frontmatter material mostly doesn't need indents + \copyrightpage{\thetitle}{0000-0000-0000-0000}{100}{ISBN 978-XXXX-XXXX-X-X (print version)\\ ISBN 978-XXXX-XXXX-X-X (electronic version)}{Printing: RU Printing osf.}{Printed on 900g Cardboard paper} % If this is a PhD, register for an ISSN and ISBN, then: @@ -83,11 +86,7 @@ ISBN 978-XXXX-XXXX-X-X (electronic version)}{Printing: RU Printing osf.}{Printed % For submitting in Skemman the ISBN can be replaced with the url handle ( \url{http://hdl.handle.net/1946/xxxx} ) % Inside ruthesis.sty, the copyrightpage can be edited - there is an option to include a stamp/icon of the printer -% If this is a PhD, register for an ISSN and ISBN, then: -% \copyrightpage{ISSN xxxx-yyyy\\ISBN 978-xxxxxxxxxx\\\url{http://hdl.handle.net/1946/xxxx}\\} -%\signaturepage{} %Generally only for Print copies and needs the rusignaturepage package - -%\begin{dedications}% Optional +% \begin{dedications}% Optional % I dedicate this to my spouse/child/pet/power animal. %\end{dedications} @@ -173,7 +172,7 @@ It is likely to save you a lot of frustration and errors. %% Index, optional. A good idea on longer documents \clearforchapter{} \printindex{}%%RUM: Not mentioned - +\backcover{} \end{document} %%% Local Variables: %%% mode: latex diff --git a/rudissertation.sty b/rudissertation.sty index 10727a6..c697836 100644 --- a/rudissertation.sty +++ b/rudissertation.sty @@ -73,6 +73,43 @@ %\makeoddhead{chapter}{}{}{} %to change only one side %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Information about Institution, Author, Degree, and Program +\newcommand{\theInstitution}{Reykjav\'{\i}k University}% +\newcommand{\theInstitutionAddress}{Menntavegur 1\\102 Reykjav\'{\i}k\\Iceland} +\newcommand{\theInstitutionPhone}{+354-599-6200} +\newcommand{\theInstitutionURL}{www.ru.is} +\newcommand{\theDocumentType}{Dissertation} +\newcommand{\theDegreeAbbrv}{Ph.D.} +\newcommand{\theDegreeLong}{Doctorate} +\newcommand{\theProgram}{\LaTeX{} Magic} +\newcommand{\theECTS}{30} +\newcommand{\theSchool}{School of Awesomeness} +\newcommand{\DocumentInfo}[6]{ + \renewcommand{\theDocumentType}{#1} + \renewcommand{\theDegreeAbbrv}{#2} + \renewcommand{\theDegreeLong}{#3} + \renewcommand{\theProgram}{#4} + \renewcommand{\theECTS}{#5} + % ECTS Only applicable on BSc. and MSc. + % Leave blank + \renewcommand{\theSchool}{#6} +} +\newcommand{\theISSN}{XXXX-XXXX} +\newcommand{\bookissn}[1]{\renewcommand{\theISSN}{#1}} + +\newcommand{\supervisors@rudissertation}{\item No Advisor} +\newcommand{\Supervisors}[1]{\renewcommand{\supervisors@rudissertation}[1]{#1}} +\newcommand{\supervisorheading@rudissertation}{Supervisor} +\newcommand{\SupervisorHeading}[1]{\renewcommand{\supervisorheading@rudissertation}{#1}} + +\newcommand{\examiners@rudissertation}{\item No Examiner} +\newcommand{\Examiners}[1]{\renewcommand{\examiners@rudissertation}[1]{#1}} +\newcommand{\examinerheading@rudissertation}{Examiner} +\newcommand{\ExaminerHeading}[1]{\renewcommand{\examinerheading@rudissertation}{#1}} + +\newcommand{\personinfo}[5]{ +\item[] #1, #2\\#3, #4, #5 %Stub to be customized later +} %%%%%%%%%%%%%%%%%%%%%%%% COVER %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \RequirePackage{calc}%arithmetic in commands like lengths %\RequirePackage{printlen}% display lengths in arbitrary units @@ -105,7 +142,7 @@ %% ----- PRINTED FRONT COVER ---------------------------------------------------------- %% This cover will be on the outside (not with window) -\newcommand{\printedcover}[2]{% +\newcommand{\printedcover}[1]{% \pagestyle{empty}\thispagestyle{empty}\SingleSpacing% \sffamily% \disableindents\titletextfont\SingleSpacing% @@ -126,13 +163,39 @@ \vspace*{\baselineskip}% {\color{rured}\frontcovertitlefont\theDegreeAbbrv{}~\theDocumentType}\par% \vspace*{\baselineskip}% - \color{rugray}\frontcovertitletextfont\scriptsize#2\par%ISSN + \color{rugray}\frontcovertitletextfont\scriptsize\theISSN\par%ISSN \end{textblock*} \rmfamily\quad%need empty text show that it is a page \enableindents{} \newpage %% TODO: isolate font and spacing changes from the rest of the document } +%% This command makes the back-cover materials +\newcommand{\backcover}{% + \thispagestyle{empty}% + \pagestyle{empty}% + \cleartoevenpage{}% clear to chapter setting + \disableindents% + \quad%ensure page has content + \begin{textblock*}{\textwidth}[0,1](\printcoverlmargin,\paperheight+\trimtop-35mm)% + \titleinfofont\SingleSpacing% + % \vplace[0.8]{ + \begin{tabular}{ll} + \rulogo{}& + \begin{minipage}[b]{10cm}% + {\titletextfont\color{rugray}% + \theSchool\par + \theInstitution\par + \theInstitutionAddress\par + \theInstitutionPhone\par + \theInstitutionURL\par + \theISSN\par + } + \end{minipage}\\% + \end{tabular} + \enableindents{}% + \end{textblock*} +} @@ -307,40 +370,6 @@ in this publication does not imply, even in the absence of a specific statement %% Allowing ragged bottoms keeps the spacing consistent between paragraphs %% Alternatively: \setlength{\parskip}{0pt} -%% Information about Institution, Author, Degree, and Program -\newcommand{\theInstitution}{Reykjav\'{\i}k University}% -\newcommand{\theDocumentType}{Dissertation} -\newcommand{\theDegreeAbbrv}{Ph.D.} -\newcommand{\theDegreeLong}{Doctorate} -\newcommand{\theProgram}{\LaTeX{} Magic} -\newcommand{\theECTS}{30} -\newcommand{\theSchool}{School of Awesomeness} -\newcommand{\DocumentInfo}[6]{ - \renewcommand{\theDocumentType}{#1} - \renewcommand{\theDegreeAbbrv}{#2} - \renewcommand{\theDegreeLong}{#3} - \renewcommand{\theProgram}{#4} - \renewcommand{\theECTS}{#5} - % ECTS Only applicable on BSc. and MSc. - % Leave blank - \renewcommand{\theSchool}{#6} -} - -\newcommand{\supervisors@rudissertation}{\item No Advisor} -\newcommand{\Supervisors}[1]{\renewcommand{\supervisors@rudissertation}[1]{#1}} -\newcommand{\supervisorheading@rudissertation}{Supervisor} -\newcommand{\SupervisorHeading}[1]{\renewcommand{\supervisorheading@rudissertation}{#1}} - -\newcommand{\examiners@rudissertation}{\item No Examiner} -\newcommand{\Examiners}[1]{\renewcommand{\examiners@rudissertation}[1]{#1}} -\newcommand{\examinerheading@rudissertation}{Examiner} -\newcommand{\ExaminerHeading}[1]{\renewcommand{\examinerheading@rudissertation}{#1}} - -\newcommand{\personinfo}[5]{ -\item[] #1, #2\\#3, #4, #5 %Stub to be customized later -} - - %% Clean up some formatting for the text \renewcommand{\thepage}{\roman{page}}