diff --git a/Dissertation.md b/Dissertation.md index 746fff1..1407a79 100644 --- a/Dissertation.md +++ b/Dissertation.md @@ -1,6 +1,7 @@ --- # ----- THINGS THAT YOU NEED TO CHANGE ---- author: "Your Name" +sid: 424242 title: "Project Title" # Keywords associated with your project diff --git a/Template/Classes/CUPhDThesis.cls b/Template/Classes/CUPhDThesis.cls index 53f858a..b2d2c0f 100644 --- a/Template/Classes/CUPhDThesis.cls +++ b/Template/Classes/CUPhDThesis.cls @@ -820,6 +820,10 @@ wish to left align your text} % These macros are used to declare arguments needed for the % construction of the title page and other preamble. +%DG: +\newcommand{\@stuid}{} +\newcommand{\stuid}[1]{\renewcommand{\@stuid}{#1}} + % Subtitle (optional) \newcommand{\@subtitle}{} \newcommand{\subtitle}[1]{\renewcommand{\@subtitle}{#1}} @@ -927,6 +931,9 @@ wish to left align your text} {\usebox{\PHD@author}} \vspace{.05\PHD@titlepagespacing} +{\usebox{\PHD@SID}} +\vspace{.05\PHD@titlepagespacing} + % Degree title on first submission) \if@finalsub \else @@ -1147,10 +1154,20 @@ wish to left align your text} \centering \Large {by} \par \vspace{0.5em} \centering \Large \bfseries{\@author} + \vspace{0.25em} + \end{minipage} +\end{lrbox} + +% DG: Student ID Box +\newsavebox{\PHD@SID} +\begin{lrbox}{\PHD@SID} + \begin{minipage}[c]{\textwidth} + \centering \Large {\@stuid} \vspace{0.5em} \end{minipage} \end{lrbox} + % Award Box \newsavebox{\PHD@award} \begin{lrbox}{\PHD@award} @@ -1255,6 +1272,7 @@ wish to left align your text} \setlength{\PHD@titlepagespacing}{ \textheight % - \totalheightof{\usebox{\PHD@Title}} - \totalheightof{\usebox{\PHD@author}} + - \totalheightof{\usebox{\PHD@SID}} - \totalheightof{\usebox{\PHD@supervisor}} - \totalheightof{\usebox{\PHD@advisor}} - \totalheightof{\usebox{\PHD@award}} diff --git a/Template/disso.latex b/Template/disso.latex index 7829a46..8c59221 100644 --- a/Template/disso.latex +++ b/Template/disso.latex @@ -240,27 +240,26 @@ $endif$ %Allow PDF to be included \usepackage{pdfpages} -%TITLE $if(title)$ -%EXISTS + \title{$title$$if(thanks)$\thanks{$thanks$}$endif$} $endif$ $if(subtitle)$ \providecommand{\subtitle}[1]{} \subtitle{$subtitle$} $endif$ -%TITEND - -%METTIT -$if(title-meta)$ -%MET EXISTS -$endif$ -%ENDMETTIT $if(author)$ \author{$for(author)$$author$$sep$ \and $endfor$} $endif$ + +%\stuid{42} + +$if(sid)$ +\stuid{$sid$} +$endif$ + $if(dept)$ \dept{$dept$} $endif$