diff --git a/main.tex b/main.tex index b94bc0a..2ea2a8a 100644 --- a/main.tex +++ b/main.tex @@ -39,6 +39,7 @@ %%%%%%%%%%%%%%%%%Information for the Title page %%%%%%%%%%%%%%%%% \title{Thesis and Project Report Template for \theInstitution{}} +\subtitle{subtitle allowed} \author{Joseph~T.~Foley and Marcel~Kyas} \date{November, 2025}%Generally this is set to the day of the defense \publocation{Reykjavik, 2025}% Publisher info: Place, Year diff --git a/ruthesis.sty b/ruthesis.sty index f1869bc..3c4319f 100644 --- a/ruthesis.sty +++ b/ruthesis.sty @@ -127,10 +127,11 @@ \rulogo{} \par\end{center}\vspace{0.7cm} } +\RequirePackage{etoolbox} %% TODO: investigate why bold isn't working on the title %\droptitle{}% length moves the title position up and down \pretitle{\begin{center}\bfseries\Huge} -\posttitle{\par\end{center}\vspace{1.55cm}} +\posttitle{\ifstrempty{\thesubtitle}{}{\\\normalfont{\LARGE \thesubtitle}}\par\end{center}\vspace{1.55cm}} \preauthor{\begin{center}\Large} \postauthor{\par\end{center}\vfill} \renewcommand{\maketitlehookc}{\begin{center}\textbf{\Large \theDegreeAbbrv{} \theDocumentType{} in \theProgram}\par\end{center}\vspace{1cm}}