Compare commits

...

4 Commits

3 changed files with 42 additions and 60 deletions

View File

@@ -1,6 +1,6 @@
%%%% This template is for Dissertations (PhD) %%%% This template is for Dissertations (PhD)
%%%% Make sure you have lualatex installed!!! (package texlive-luaatex) %%%% Make sure you have lualatex installed!!! (package texlive-luaatex)
\documentclass[showtrims, b5paper]{rubook} \documentclass[showtrims,b5paper]{rubook}
%% a4paper or b5paper: paper stock size. %% a4paper or b5paper: paper stock size.
%% If A4, show cut lines for the printer. If b5, no cut lines. %% If A4, show cut lines for the printer. If b5, no cut lines.
\usepackage{rudissertation}%% RU PhD Dissertation formatting \usepackage{rudissertation}%% RU PhD Dissertation formatting
@@ -71,8 +71,10 @@
\begin{document} \begin{document}
\printedcover{\MakeUppercase{\thetitle}}{ISSN XXXX-XXXX}%The printed cover has the title in uppercase \printedcover{\thetitle}{ISSN XXXX-XXXX}%Cover title and ISSN number
\printedcover{\thetitle}{ISSN XXXX-XXXX}%Cover title and ISSN number
\maketitle{} \maketitle{}
\disableindents{}%frontmatter material mostly doesn't need indents \disableindents{}%frontmatter material mostly doesn't need indents
\copyrightpage{\thetitle}{0000-0000-0000-0000}{100}{ISBN 978-XXXX-XXXX-X-X (print version)\\ \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} ISBN 978-XXXX-XXXX-X-X (electronic version)}{Printing: RU Printing osf.}{Printed on 900g Cardboard paper}

View File

@@ -74,20 +74,9 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%% COVER %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%% COVER %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newenvironment{printcover}%Never put a number
{\thispagestyle{empty}%
\pagestyle{empty}%
\thispagestyle{empty}%
\clearforchapter% clear to chapter setting
\disableindents%
\titletextfont\SingleSpacing}%
{\setlength{\TPMargin}{0mm} %% margins inside the textblock
\enableindents{}\newpage}%
\RequirePackage{calc}%arithmetic in commands like lengths \RequirePackage{calc}%arithmetic in commands like lengths
%\RequirePackage{printlen}% display lengths in arbitrary units %\RequirePackage{printlen}% display lengths in arbitrary units
\RequirePackage[absolute, verbose, showboxes]{textpos} \RequirePackage[absolute, verbose]{textpos}%option: showboxes
% option: showboxes for placement
\RequirePackage{xcolor} \RequirePackage{xcolor}
\definecolor{rugray}{rgb}{0.2,0.2,0.2} \definecolor{rugray}{rgb}{0.2,0.2,0.2}
\definecolor{rured}{rgb}{0.84,0.10,0.13} \definecolor{rured}{rgb}{0.84,0.10,0.13}
@@ -96,62 +85,52 @@
%% These commands set the units in \begin{textblock} when not %% These commands set the units in \begin{textblock} when not
%% directly specified %% directly specified
%% We set them to the page sizes so we can align from them %% We set them to the page sizes so we can align from them
\setlength{\TPHorizModule}{\stockwidth} \setlength{\TPHorizModule}{\paperwidth}
\setlength{\TPVertModule}{\stockheight} \setlength{\TPVertModule}{\paperheight}
%\setlength{\TPMargin}{2mm} %% margins inside the textblock*
\textblockorigin{0mm}{0mm} % start everything near the top-left corner \textblockorigin{0mm}{0mm} % start everything near the top-left corner
\newlength{\pagecenterx}% \newlength{\pagecenterx}%
\setlength{\pagecenterx}{\stockwidth/2} \setlength{\pagecenterx}{\paperwidth/2}
\newlength{\pagecentery} \newlength{\pagecentery}
\setlength{\pagecentery}{\stockheight/2} \setlength{\pagecentery}{\paperheight/2}
\newlength{\covernowinmarginl} \newlength{\printcoverlmargin}
\setlength{\covernowinmarginl}{30mm} \setlength{\printcoverlmargin}{25mm}
%% Helvetics in package helvet, family code phv %% Helvetics in package helvet, family code phv
\RequirePackage{helvet} \RequirePackage{helvet}
\newfontfamily\phdcoverfont{Nimbus Sans} \newfontfamily\phdcoverfont{Nimbus Sans}
% \def\frontcovertitlefont{\fontfamily{phv}\fontseries{b}\fontshape{n}\fontsize{20.74}{24}\selectfont}
\def\frontcovertitlefont{\fontseries{b}\fontshape{n}\fontsize{20.74}{24}\phdcoverfont} \def\frontcovertitlefont{\fontseries{b}\fontshape{n}\fontsize{20.74}{24}\phdcoverfont}
% \def\frontcovertitletext{\fontfamily{phv}\fontseries{m}\fontshape{n}\fontsize{14.4}{16}\selectfont} \def\frontcovertitletextfont{\fontseries{m}\fontshape{n}\fontsize{14}{18}\phdcoverfont}%extra line space
\def\frontcovertitletextfont{\fontseries{m}\fontshape{n}\fontsize{14.4}{16}\phdcoverfont}
\def\titletitlefont{\fontseries{b}\fontsize{17pt}{20pt}\phdcoverfont} \def\titletitlefont{\fontseries{b}\fontsize{17pt}{20pt}\phdcoverfont}
\def\titletextfont{\fontsize{14pt}{16pt}\phdcoverfont} \def\titletextfont{\fontsize{14pt}{16pt}\phdcoverfont}
\def\titleinfofont{\fontsize{12}{14}\phdcoverfont} \def\titleinfofont{\fontsize{12}{14}\phdcoverfont}
%% ----- PRINTED FRONT COVER ---------------------------------------------------------- %% ----- PRINTED FRONT COVER ----------------------------------------------------------
%% This cover will be on the outside (not with window) %% This cover will be on the outside (not with window)
\newcommand{\printedcover}[2]{ \newcommand{\printedcover}[2]{%
\thispagestyle{empty} \pagestyle{empty}\thispagestyle{empty}\SingleSpacing%
\setlength{\TPMargin}{0mm} %% margins inside the textblock* \sffamily%
\sffamily \disableindents\titletextfont\SingleSpacing%
\begin{textblock*}{\textwidth}[0,0](30mm,30mm)% \begin{textblock*}{\textwidth}[0.5,0.5](\pagecenterx,60mm)%%% Place logo in center of paper
{\center\rulogo{}\par}% \begin{center}\rulogo{}\end{center}%
\end{textblock*}
%
\setSingleSpace{1.8}\SingleSpacing%
\begin{textblock*}{\textwidth}[0,0](30mm,110mm)%
\noindent\raggedright\textcolor{rugray}{\frontcovertitlefont#1}\par%UPPERCASE
\end{textblock*}% \end{textblock*}%
% \begin{textblock*}{\textwidth}[0.5,0.5](\pagecenterx,140mm)%
\setSingleSpace{1.5}\SingleSpacing% \raggedright\textcolor{rugray}{\frontcovertitlefont#1}%title
\begin{textblock*}{\textwidth}[0,1](30mm,225mm)% \end{textblock*}%
\noindent\textcolor{rugray}{ \begin{textblock*}{\textwidth}[0,1](\printcoverlmargin,\paperheight+\trimtop-15mm)%
\frontcovertitletextfont\textbf{\theauthor}\\% {\color{rugray}%
\theDegreeLong\\% \setlength{\parskip}{0pt}%
\thedate\\% \frontcovertitletextfont\textbf{\theauthor}\par
\theSchool\\% \theDegreeLong\par
\theInstitution \thedate\par
}\par \theSchool\par
\vspace*{5mm} \theInstitution\par}%
\noindent\textcolor{rured}{ \vspace*{\baselineskip}%
\frontcovertitlefont\theDocumentType{} {\color{rured}\frontcovertitlefont\theDegreeAbbrv{}~\theDocumentType}\par%
}\par \vspace*{\baselineskip}%
\vspace*{3mm} \color{rugray}\frontcovertitletextfont\scriptsize#2\par%ISSN
{\noindent\frontcovertitletextfont\scriptsize\color{rugray}#2}%
\end{textblock*} \end{textblock*}
\setSingleSpace{1.0} \rmfamily\quad%need empty text show that it is a page
\newpage\quad%% I am not sure why we must put this to ensure that the covers don't overlap \enableindents{}
\newpage % without this, page numbers show up. Weird. \newpage
%% TODO: isolate font and spacing changes from the rest of the document %% TODO: isolate font and spacing changes from the rest of the document
} }
@@ -180,11 +159,12 @@
\newcommand{\copyrightpage}[6]{ \newcommand{\copyrightpage}[6]{
% actually in books, this is often on the left side % actually in books, this is often on the left side
\begin{coverleft} \begin{coverleft}
\begin{vplace}[1.0] % ratio of space above and below \setlength{\parskip}{\baselineskip}%without indents, we need blank line separators
%\begin{vplace}[1.0] % ratio of space above and below
\begin{flushleft} \begin{flushleft}
\thetitle \\[\baselineskip] \thetitle \\[\baselineskip]
Short title: #1\\ Short title: #1\\
\theauthor\ \orcidlink{#2} (ORCID iD #2)\\[\baselineskip] \theauthor\ \orcidlink{#2} (ORCID iD #2)\\
Copyright \textcopyright{} \the\year{} \ccbyncnd \\ Copyright \textcopyright{} \the\year{} \ccbyncnd \\
\end{flushleft} \end{flushleft}
This work is licensed under the \href{http://creativecommons.org/licenses/by-nc-nd/4.0/}{Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License}. This work is licensed under the \href{http://creativecommons.org/licenses/by-nc-nd/4.0/}{Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License}.
@@ -201,7 +181,7 @@ The images or other third party material in this thesis are included in the book
If material is not included in the book's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. If material is not included in the book's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.
The use of general descriptive names, registered names, trademarks, service marks, etc. The use of general descriptive names, registered names, trademarks, service marks, etc.
in this publication does not imply, even in the absence of a specific statement that such names are exempt from the relevant protective laws and regulations and therefore free for general use.\par in this publication does not imply, even in the absence of a specific statement that such names are exempt from the relevant protective laws and regulations and therefore free for general use.\par
\end{vplace} % \end{vplace}
\begin{flushleft} \begin{flushleft}

View File

@@ -18,7 +18,7 @@
\RequirePackage{tgheros} \RequirePackage{tgheros}
\newfontfamily\rufont{TeX Gyre Heros} \newfontfamily\rufont{TeX Gyre Heros}
\newcommand\rulogo{\drawrulogo{0.5}}%most documents only need the half-size logo \newcommand\rulogo{\drawrulogo{0.4}}%most documents need a smaller logo
\newcommand{\drawrulogo}[1]{ \newcommand{\drawrulogo}[1]{
%ARG: scale based upon 6cm = 1 %ARG: scale based upon 6cm = 1
\phantom{bla} \phantom{bla}