Support for subtitles

Added etoolbox possibly can be removed
This commit is contained in:
kristján O. Ragnarsson
2026-04-10 15:28:07 +00:00
parent 1646abd0b4
commit 05a43eedfd
2 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

@@ -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}}