diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenbamathesis.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenbamathesis.cls | 492 |
1 files changed, 186 insertions, 306 deletions
diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenbamathesis.cls b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenbamathesis.cls index 2201309781e..1916a9d2c58 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenbamathesis.cls +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenbamathesis.cls @@ -26,22 +26,21 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{uantwerpenbamathesis} - [2021/03/23 v3.2 .dtx skeleton file] -\def\fileversion{3.2} -\def\filedate{2021/03/23} -\newif\if@titlepagenoartwork -\DeclareOption{titlepagenoartwork}{\@titlepagenoartworktrue} -\newif\if@titlepagetableonly -\DeclareOption{titlepagetableonly}{\@titlepagetableonlytrue} + [2021/07/11 v4.0 .dtx skeleton file] +\def\fileversion{4.0} +\def\filedate{2021/07/11} \newif\if@filled \DeclareOption{filled}{\@filledtrue} +\input{uantwerpencommonoptions.clo} \ExecuteOptions{a4paper,11pt,final,oneside,openright} \ProcessOptions\relax \LoadClassWithOptions{book} \setlength{\parindent}{0pt} \addtolength{\parskip}{0.75\baselineskip} \setcounter{secnumdepth}{3} -\RequirePackage[top=1in, bottom=1in, left=1in, right=1in]{geometry} +\RequirePackage[top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry} +\RequirePackage{expl3} +\RequirePackage{xparse} \RequirePackage{iftex} \RequirePackage{xstring} \RequirePackage{etoolbox} @@ -49,10 +48,13 @@ \IfFileExists{shellesc.sty}{\RequirePackage{shellesc}}{} \newcommand{\@emptymacro}{} \RequirePackage{graphicx} +\RequirePackage[export]{adjustbox} \RequirePackage{color} \RequirePackage{tikz} \usetikzlibrary{positioning} \RequirePackage{eso-pic} +\RequirePackage{uantwerpencolorlogoscheme} + \RequirePackage{fancyhdr} \definecolor{uacorpbord}{cmyk} {0.00,1.00,0.60,0.37} \definecolor{uacorpblue}{cmyk} {1.00,0.25,0.00,0.50} @@ -63,240 +65,123 @@ \definecolor{lightgray}{cmyk} {0.00,0.00,0.00,0.05} \definecolor{darkgray}{cmyk} {0.00,0.00,0.00,0.80} \definecolor{watermark}{cmyk} {0.00,0.00,0.00,0.05} -\newcommand\uaname{University of Antwerp} -\newcommand\arrname{All rights reserved} -\newcommand\orname{of} -\newcommand\domainname{uantwerp.be} -\newcommand\datename{Date} -\newcommand\subjectname{Subject} -\newcommand\academicyearname{Academic year} -\newcommand\masterthesisname{Master's thesis} -\newcommand\bachelorthesisname{Bachelor's thesis} -\newcommand\supervisorsname{Supervisors} -\newcommand\juryname{Jury} -\newcommand\jurymembersname{Members} -\newcommand\jurychairmanname{Chairman} -\newcommand\bmthesisname{Thesis to obtain the degree of} -\newcommand\pthesisnamei{Thesis submitted in fulfilment of the - requirements for the degree of} -\newcommand\pthesisnameii{at University of Antwerp} -\newcommand\@faculty{~} -\newcommand\@logo{Logos/logo-uantwerpen-ua-en-cmyk-pos} -\newcommand\faccpg{ - \renewcommand\@faculty{Centre Pieter Gillis} - \renewcommand\@logo{Logos/logo-uantwerpen-ua-en-cmyk-pos}} -\newcommand\facfbd{ - \renewcommand\@faculty{Faculty of Pharmaceutical, Biomedical and - Veterinary Sciences} - \renewcommand\@logo{Logos/logo-uantwerpen-fbd-en-cmyk-pos}} -\newcommand\facggw{ - \renewcommand\@faculty{Faculty of Medicine and Health Sciences} - \renewcommand\@logo{Logos/logo-uantwerpen-ggw-en-cmyk-pos}} -\newcommand\insiob{ - \renewcommand\@faculty{Insitute of Development Policy} - \renewcommand\@logo{Logos/logo-uantwerpen-iob-en-cmyk-pos}} -\newcommand\asoe{ - \renewcommand\@faculty{Antwerp School of Education} - \renewcommand\@logo{Logos/logo-uantwerpen-ua-en-cmyk-pos}} -\newcommand\faclw{ - \renewcommand\@faculty{Faculty of Arts} - \renewcommand\@logo{Logos/logo-uantwerpen-lw-en-cmyk-pos}} -\newcommand\facow{ - \renewcommand\@faculty{Faculty of Design Sciences} - \renewcommand\@logo{Logos/logo-uantwerpen-ow-en-cmyk-pos}} -\newcommand\facsw{ - \renewcommand\@faculty{Faculty of Social Sciences} - \renewcommand\@logo{Logos/logo-uantwerpen-sw-en-cmyk-pos}} -\newcommand\facre{ - \renewcommand\@faculty{Faculty of Law} - \renewcommand\@logo{Logos/logo-uantwerpen-re-en-cmyk-pos}} -\newcommand\facbe{ - \renewcommand\@faculty{Faculty of Business and Economics} - \renewcommand\@logo{Logos/logo-uantwerpen-be-en-cmyk-pos}} -\newcommand\facti{ - \renewcommand\@faculty{Faculty of Applied Engineering} - \renewcommand\@logo{Logos/logo-uantwerpen-ti-en-cmyk-pos}} -\newcommand\facwe{ - \renewcommand\@faculty{Faculty of Science} - \renewcommand\@logo{Logos/logo-uantwerpen-we-en-cmyk-pos}} -\newcommand\weightname{Weight} +\ExplSyntaxOn +\prop_new:N \g__uantwerpendocs_data_prop +\NewDocumentCommand{\uantwerpendocsprop}{m}{ + \prop_item:Nn \g__uantwerpendocs_data_prop{#1} +} +\NewDocumentCommand{\uantwerpendocsPROP}{m}{ + \str_uppercase:f { \prop_item:Nn \g__uantwerpendocs_data_prop{#1} } +} +\NewDocumentCommand{\uantwerpendocspropread}{m}{ + \__uantwerpendocs_datareader:n { #1 } +} +\cs_new_nopar:Npn \__uantwerpendocs_dataparser:w #1 = #2!! { + \tl_set:Nn \l_tmpa_tl {#1} + \tl_set:Nn \l_tmpb_tl {#2} + \tl_trim_spaces:N \l_tmpa_tl + \tl_trim_spaces:N \l_tmpb_tl + \prop_gput:Nxx \g__uantwerpendocs_data_prop { \l_tmpa_tl} { \l_tmpb_tl } +} +\ior_new:N \l__uantwerpendocs_data_ior +\cs_new_nopar:Nn \__uantwerpendocs_datareader:n { + \ior_open:Nn \l__uantwerpendocs_data_ior { uantwerpendocs-#1.data } + \ior_str_map_inline:Nn \l__uantwerpendocs_data_ior { + \regex_match:nnTF {=} {##1} { + \__uantwerpendocs_dataparser:w ##1!! + } + {} + } + \ior_close:N \l__uantwerpendocs_data_ior +} +\clist_map_inline:nn {en} { + \__uantwerpendocs_datareader:n { #1 } +} +\ExplSyntaxOff +\newcommand*\@logo{\logopos} \AtBeginDocument{ + \makeatother \@ifpackageloaded{babel}{ + \addto\captionsenglish{% + \uantwerpendocspropread{en} + } \addto\captionsdutch{% - \renewcommand\uaname{Universiteit Antwerpen} - \renewcommand\arrname{Alle rechten voorbehouden} - \renewcommand\orname{van} - \renewcommand\domainname{uantwerpen.be} - \renewcommand\subjectname{Onderwerp}% - \renewcommand\datename{Datum}% - \renewcommand\academicyearname{Academiejaar} - \renewcommand\masterthesisname{Masterproef} - \renewcommand\bachelorthesisname{Bachelorproef} - \renewcommand\supervisorsname{Promotoren} - \renewcommand\juryname{Jury} - \renewcommand\jurymembersname{Leden} - \renewcommand\jurychairmanname{Voorzitter} - \renewcommand\bmthesisname{Proefschrift tot het behalen van de - graad van} - \renewcommand\pthesisnamei{Proefschrift voorgelegd tot het - behalen van de graad van} - \renewcommand\pthesisnameii{aan de \uaname{} te - verdedigen door} - \renewcommand\faccpg{ - \renewcommand\@faculty{Centrum Pieter Gillis} - \renewcommand\@logo{Logos/logo-uantwerpen-ua-nl-cmyk-pos}} - \renewcommand\facfbd{ - \renewcommand\@faculty{ - Faculteit Farmaceutische, Biomedische en Diergeneeskundige - Wetenschappen} - \renewcommand\@logo{Logos/logo-uantwerpen-fbd-nl-cmyk-pos}} - \renewcommand\facggw{ - \renewcommand\@faculty{Faculteit Geneeskunde en - Gezondheidswetenschappen} - \renewcommand\@logo{Logos/logo-uantwerpen-ggw-nl-cmyk-pos}} - \renewcommand\insiob{ - \renewcommand\@faculty{Instituut voor Ontwikkelingsbeleid- en - beheer} - \renewcommand\@logo{Logos/logo-uantwerpen-iob-nl-cmyk-pos}} - \renewcommand\asoe{ - \renewcommand\@faculty{Antwerp School of Education} - \renewcommand\@logo{Logos/logo-uantwerpen-ua-nl-cmyk-pos}} - \renewcommand\faclw{\renewcommand\@faculty{Faculteit - Letteren en Wijsbegeerte} - \renewcommand\@logo{Logos/logo-uantwerpen-lw-nl-cmyk-pos}} - \renewcommand\facow{ - \renewcommand\@faculty{Faculteit Ontwerpwetenschappen} - \renewcommand\@logo{Logos/logo-uantwerpen-ow-nl-cmyk-pos}} - \renewcommand\facsw{ - \renewcommand\@faculty{Faculteit Sociale Wetenschappen} - \renewcommand\@logo{Logos/logo-uantwerpen-sw-nl-cmyk-pos}} - \renewcommand\facre{ - \renewcommand\@faculty{Faculteit Rechten} - \renewcommand\@logo{Logos/logo-uantwerpen-re-nl-cmyk-pos}} - \renewcommand\facbe{ - \renewcommand\@faculty{Faculteit Bedrijfswetenschappen en Economie} - \renewcommand\@logo{Logos/logo-uantwerpen-be-nl-cmyk-pos}} - \renewcommand\facti{ - \renewcommand\@faculty{Faculteit Toegepaste - Ingenieurswetenschappen} - \renewcommand\@logo{Logos/logo-uantwerpen-ti-nl-cmyk-pos}} - \renewcommand\facwe{ - \renewcommand\@faculty{Faculteit Wetenschappen} - \renewcommand\@logo{Logos/logo-uantwerpen-we-nl-cmyk-pos}} - \renewcommand\weightname{Gewicht} + \uantwerpendocspropread{nl} } } {} + \makeatletter } -\newcommand{\@facultyacronym}{~} -\newcommand{\facultyacronym}[1]{ - \renewcommand{\@facultyacronym}{#1} - \AtBeginDocument{ - \ifthenelse{\equal{#1}{CPG}}{\faccpg}{ - \ifthenelse{\equal{#1}{FBD}}{\facfbd}{ - \ifthenelse{\equal{#1}{GGW}}{\facggw}{ - \ifthenelse{\equal{#1}{IOB}}{\insiob}{ - \ifthenelse{\equal{#1}{ASoE}}{\asoe}{ - \ifthenelse{\equal{#1}{LW}}{\faclw}{ - \ifthenelse{\equal{#1}{OW}}{\facow}{ - \ifthenelse{\equal{#1}{SW}}{\facsw}{ - \ifthenelse{\equal{#1}{RE}}{\facre}{ - \ifthenelse{\equal{#1}{BE}}{\facbe}{ - \ifthenelse{\equal{#1}{TI}}{\facti}{ - \ifthenelse{\equal{#1}{WE}}{\facwe}{ - \errmessage{Error: wrong faculty acronym; choose one of CPG, FBD, GGW, - IOB, ASoE, LW, OW, SW, RE, BE, TI, WE}}}}}}}}}}}}}} + +\newcommand*{\facultyacronym}[1]{ + \PackageError{uantwerpendocs} + {The '\protect\facultyacronym{}' macro is no longer available. Use + your faculty abbreviation in lowercase as class options instead} + {The interface of uantwerpendocs 4.0 has been changed. See + the uantwerpendocs manual under section '5.2 The class options explained'} } -\newcommand{\@subtitle}{Master's thesis} -\newcommand\@supervisori{\errmessage{Please define a supervisor of - your thesiswork using the \textbackslash{}supervisori to iv - commands} in the preamble of your document.} -\newcommand\@supervisoriaff{} -\newcommand\@supervisorii{} -\newcommand\@supervisoriiaff{} -\newcommand\@supervisoriii{} -\newcommand\@supervisoriiiaff{} -\newcommand\@supervisoriv{} -\newcommand\@supervisorivaff{} -\newcommand{\supervisori}[2]{ - \renewcommand\@supervisori{#1}\renewcommand\@supervisoriaff{#2}} -\newcommand{\supervisorii}[2]{ - \renewcommand\@supervisorii{#1}\renewcommand\@supervisoriiaff{#2}} -\newcommand{\supervisoriii}[2]{ - \renewcommand\@supervisoriii{#1}\renewcommand\@supervisoriiiaff{#2}} -\newcommand{\supervisoriv}[2]{ - \renewcommand\@supervisoriv{#1}\renewcommand\@supervisorivaff{#2}} -\newcommand{\@diplomalevel}{ERROR} -\newcommand{\@diploma}{ERROR} -\newcommand{\diploma}[1]{ - \newcommand{\MoS}{Master of Science} - \newcommand{\MoSIW}{Master of Science in de industri\"ele wetenschappen} - \newcommand{\BoSIW}{Bachelor of Science in de industri\"ele wetenschappen} - \newcommand{\MoSTEW}{Master of Science in de toegepaste economische wetenschappen} - \renewcommand{\@diploma}{ - \ifthenelse{\equal{#1}{BA-IW-BK}} - {\BoSIW: bouwkunde}{ - \ifthenelse{\equal{#1}{BA-IW-BCH}} - {\BoSIW: biochemie}{ - \ifthenelse{\equal{#1}{BA-IW-CH}} - {\BoSIW: chemie}{ - \ifthenelse{\equal{#1}{BA-IW-EI}} - {\BoSIW: elektronica-ICT}{ - \ifthenelse{\equal{#1}{BA-IW-EM}} - {\BoSIW: elektromechanica}{ - \ifthenelse{\equal{#1}{MA-IW-BK}} - {\MoSIW: bouwkunde}{ - \ifthenelse{\equal{#1}{MA-IW-BCH}} - {\MoSIW: biochemie}{ - \ifthenelse{\equal{#1}{MA-IW-CH}} - {\MoSIW: chemie}{ - \ifthenelse{\equal{#1}{MA-IW-EI}} - {\MoSIW: elektronica-ICT}{ - \ifthenelse{\equal{#1}{MA-IW-EI-CPS}} - {\MoSIW:\\elektronica-ICT, optie - Cyber-Physical Systems}{ - \ifthenelse{\equal{#1}{MA-IW-EI-IOT}} - {\MoSIW:\\elektronica-IOT, optie Internet of - Things}{ - \ifthenelse{\equal{#1}{MA-IW-EI-DAI}} - {\MoSIW:\\elektronica-IOT, optie Distributed - Artificial Intelligence}{ - \ifthenelse{\equal{#1}{MA-IW-EM-OE}} - {\MoSIW:\\elektromechanica, optie Offshore - Engineering}{ - \ifthenelse{\equal{#1}{MA-IW-EM-EN}} - {\MoSIW:\\elektromechanica, optie Energie}{ - \ifthenelse{\equal{#1}{MA-IW-EM-OP}} - {\MoSIW:\\elektromechanica, optie Ontwerp en - Productie}{ - \ifthenelse{\equal{#1}{MA-IW-EM-AU}} - {\MoSIW:\\elektromechanica, optie Automatisering}{ - \ifthenelse{\equal{#1}{MA-IW-EM}} - {\MoSIW:\\elektromechanica}{ - \ifthenelse{\equal{#1}{MA-BE-HI}} - {\MoS handelsingenieur}{ - \ifthenelse{\equal{#1}{MA-BE-HIBI}} - {\MoS handelsingenieur in de beleidsinformatica}{ - \ifthenelse{\equal{#1}{MA-BE-EB}} - {\MoSTEW: economisch beleid}{ - \ifthenelse{\equal{#1}{MA-BE-BK}} - {\MoSTEW: bedrijfskunde} - {\errmessage{Error in argument to macro diploma: must be one of - BA-IW-XXX with XXX one of BK, BCH, CH, EI or EM, or MA-IW-XXX - with XXX one of BK, BCH, CH, EI, EI-CPS, EI-IOT, EI-DAI, - EM-OE, EM-AU, EM-OP, EM-EN, MA-BE-YYY with YYY one of HI, - HIBI, EB, BK! <<}}}}}}}}}}}}}}}}}}}}}} - } - \newcommand\thesisname{ERROR} - \IfSubStr{#1}{MA-}{\renewcommand\thesisname{\masterthesisname}}{} - \IfSubStr{#1}{BA-}{\renewcommand\thesisname{\bachelorthesisname}}{} +\ExplSyntaxOn +\NewDocumentCommand{\@subtitle}{m}{ + \tl_new:N \l__uantwerpendocs_degree + \tl_set:Nx \l__uantwerpendocs_degree { \tl_head:N \@degree } + \tl_if_eq:NnTF \l__uantwerpendocs_degree { B } {\uantwerpendocsprop{bthesisname}} { + \tl_if_eq:NnTF \l__uantwerpendocs_degree { M } {\uantwerpendocsprop{mthesisname}} + {\uantwerpendocsprop{thesisname}}} +} +\ExplSyntaxOff +\ExplSyntaxOn + +\seq_new:N \g__uantwerpendocs_supervisors +\seq_new:N \g__uantwerpendocs_supervisorswithaffiliation +\cs_new:Nn \__uantwerpendocs_addsupervisor:nn { + \seq_gpush:Nn \g__uantwerpendocs_supervisors { #1 } + \seq_gpush:Nn \g__uantwerpendocs_supervisorswithaffiliation { #1,~#2 } +} +\NewDocumentCommand{\supervisor}{mm}{ + \__uantwerpendocs_addsupervisor:nn { #1 } { #2 } +} +\NewDocumentCommand{\jointsupervisors}{m}{ + \seq_use:Nn \g__uantwerpendocs_supervisors { #1 } +} +\NewDocumentCommand{\jointsupervisorswithaffiliation}{m}{ + \seq_use:Nn \g__uantwerpendocs_supervisorswithaffiliation { #1 } +} +\NewDocumentCommand{\supervisorsname}{}{ + \if_int_compare:w \seq_count:N \g__uantwerpendocs_supervisors > 1 + \uantwerpendocsprop{supervisorsname} + \else: + \if_int_compare:w \seq_count:N \g__uantwerpendocs_supervisors = 1 + \uantwerpendocsprop{supervisorname} + \else: + \fi: + \fi: +} +\AtBeginDocument{ + \seq_greverse:N \g__uantwerpendocs_supervisors + \seq_greverse:N \g__uantwerpendocs_supervisorswithaffiliation } -\newcommand\@defensedate{ERROR} -\newcommand{\defensedate}[1]{\renewcommand\@defensedate{#1}} -\newcommand\@defenselocation{Antwerpen} -\newcommand{\defenselocation}[1]{\renewcommand\@defenselocation{#1}} -\newcommand{\@academicyear}{XXX-YYYY} -\newcommand{\academicyear}[1]{\renewcommand{\@academicyear}{#1}} +\ExplSyntaxOff +\newcommand*\@degree{ + \PackageError{uantwerpendocs} + {Please, specify the offical degree description using + the '\protect\degree{}' macro in the preamble of your document.} + {See the uantwerpendocs manual} +} +\newcommand*\degree[1]{\renewcommand*\@degree{#1}} +\newcommand*{\diploma}[1]{ + \PackageError{uantwerpendocs} + {The '\protect\diploma{}' macro is no longer available. Use + '\protect\degree{}' instead} + {The interface of uantwerpendocs 4.0 has been changed. Use the + '\protect\degree' macro to specify your degree in full text (see + the uantwerpendocs manual)'} +} +\newcommand*\@defensedate{ERROR} +\newcommand*{\defensedate}[1]{\renewcommand*\@defensedate{#1}} +\newcommand*\@defenselocation{Antwerpen} +\newcommand*{\defenselocation}[1]{\renewcommand*\@defenselocation{#1}} +\newcommand*{\@academicyear}{XXX-YYYY} +\newcommand*{\academicyear}[1]{\renewcommand*{\@academicyear}{#1}} \if@twoside \lhead[\thepage]{\slshape\rightmark} \chead[]{} @@ -313,72 +198,67 @@ \rfoot[]{} \fi -\pgfmathsetmacro{\ua@Wh}{\paperwidth} -\pgfmathsetmacro{\ua@Xh}{0.2\paperheight} -\pgfmathsetmacro{\ua@Yh}{0.125\paperheight} -\pgfmathsetmacro{\ua@XMYh}{\ua@Xh-\ua@Yh} -\pgfmathsetmacro{\ua@Rh}{0.5*\ua@Wh/\ua@XMYh*\ua@Wh+0.5*\ua@XMYh} -\pgfmathsetmacro{\ua@Qh}{\ua@Rh-\ua@Xh+\paperheight} -\pgfmathsetmacro{\ua@Wba}{0.4*\paperwidth} -\pgfmathsetmacro{\ua@Sba}{0.125*\paperheight} -\pgfmathsetmacro{\ua@XMYba}{0.02\paperheight} -\pgfmathsetmacro{\ua@Rba}{0.5*\ua@Wba/\ua@XMYba*\ua@Wba+0.5*\ua@XMYba} -\pgfmathsetmacro{\ua@Qba}{\ua@Rba+\ua@Sba} -\pgfmathsetmacro{\ua@Wbb}{0.65*\paperwidth} -\pgfmathsetmacro{\ua@Sbb}{0.14*\paperheight} -\pgfmathsetmacro{\ua@XMYbb}{0.06\paperheight} -\pgfmathsetmacro{\ua@Rbb}{0.5*\ua@Wbb/\ua@XMYbb*\ua@Wbb+0.5*\ua@XMYbb} -\pgfmathsetmacro{\ua@Qbb}{\ua@Rbb+\ua@Sbb} -\pgfmathsetmacro{\ua@ll}{0.15*\paperwidth} -\pgfmathsetmacro{\ua@l}{0.4*\paperwidth} -\pgfmathsetmacro{\ua@d}{0.1in} -\pgfmathsetmacro{\ua@rr}{0.85*\paperwidth} \renewcommand\maketitle{% \pagestyle{empty} \begin{titlepage} - \begin{tikzpicture}[remember picture,overlay] - \node at (current page.center) { - \begin{tikzpicture}[inner sep=0pt] + \AddToShipoutPicture*{% + \put(0,0){% + \begin{tikzpicture}[inner sep=0pt,outer sep=0pt] \clip (0,0) rectangle(\paperwidth,\paperheight); - \if@titlepagenoartwork\else - \filldraw [lightgray] - (0.55\paperwidth,\ua@Qba pt) circle (\ua@Rba pt); - \filldraw [white] (0.35\paperwidth,\ua@Qbb pt) circle (\ua@Rbb pt); - \filldraw [lightgray] (0,\ua@Qh pt) circle (\ua@Rh pt); - \path - (0.95\paperwidth,0.1\paperheight) - node [anchor=north east] { - \includegraphics[width=0.25\paperwidth]{\@logo}}; - \fi - \path - (\ua@ll pt,0.77\paperheight) - node [anchor=north west, text width=0.7\paperwidth] { - \uppercase\expandafter{\uaname}\\~\\ - \academicyearname{} \@academicyear\\~\\ - {\large \@faculty{}}\\~\\ - \thesisname{}\\[0.05\paperheight] - {\Large \bf \@title{}}} - (\ua@ll pt,0.55\paperheight) - node [anchor = north west, text width = 0.7\paperwidth] { - {\large \bf \@author{}}\\~\\~\\ - \begin{tabular}{@{}p{2.7cm}p{10.8cm}} - \textbf{\supervisorsname{}:} - & \@supervisori \\ - & \@supervisorii \\ - & \@supervisoriii \\ - & \@supervisoriv + \fill[lightgray] + (2.125,{\paperheight-7.5cm}) rectangle (\paperwidth,6); + + \node + [anchor=west,text width={\paperwidth-5cm},align=left,font=\Huge,uauaside] + at (2.125,{\paperheight-3cm}) + { + \textsf{\textbf{\@title}} + }; + + \node + [anchor=west,text width={\paperwidth-5cm},align=left,font=\Large,uauaside] + at (2.125,{\paperheight-5cm}) + { + \textsf{\textbf{\@subtitle}} + }; + + \node + [anchor=base west,uauamain, + text width={\paperwidth-5cm},align=left,font=\LARGE] + at (2.125,{\paperheight-6.5cm}) + {\textsf{\textbf{\@author}}}; + + \fill[gray] (2.125,6) + -- (\paperwidth,6) + -- (\paperwidth,2.625) + -- (2.55,2.625) + arc (-90:-180:0.425) + -- cycle; + + \node[white,anchor=west,align=left,font=\large] + (SN) at (2.55,4.9) + { + \begin{tabular}{@{}l@{~\,}p{14.5cm}} + \textsf{\supervisorsname} + & \textsf{\textbf{\jointsupervisors{ | }}} \end{tabular} - } - (\ua@ll pt,0.3\paperheight) - node [anchor=north west, text width = 0.7\paperwidth]{% - \bmthesisname\\ - \@diploma\\ - \@defenselocation, \@defensedate }; + + \node[white,anchor=west,text width=17.5cm,align=left,font=\small] + at (2.55,3.7) + {\textsf{\uantwerpendocsprop{bmthesisname} + \@degree{}}\\ + \textsf{\textbf{\@faculty{} + | \@defenselocation, \@defensedate}}}; + + \node[anchor=west] at + (2.125,1.313) + {\includegraphics[width=4.75cm]{\logoposua}}; \end{tikzpicture} - }; - \end{tikzpicture} + } + } \end{titlepage}% + ~\par\relax \clearpage \setcounter{footnote}{0}% \global\let\thanks\relax @@ -394,21 +274,24 @@ \newcommand\makefinalpage{ \cleardoublepage \thispagestyle{empty} + ~% intentionally blank page + \clearpage + \thispagestyle{empty} \begin{tikzpicture}[remember picture,overlay] \node at (current page.center) { \begin{tikzpicture}[inner sep=0pt] \clip (0,0) rectangle(\paperwidth,\paperheight); - \if@titlepagenoartwork\else - \filldraw [lightgray] (\paperwidth,\ua@Qh pt) circle (\ua@Rh pt); - \fi + \fill[lightgray] (0,0) rectangle (2.125cm,2.625cm); \end{tikzpicture} }; \end{tikzpicture} } -\IfFileExists{varioref.sty}{\RequirePackage{varioref}}{} -\IfFileExists{hyperref.sty}{ - \RequirePackage[backref,hyperindex=true,pagebackref=true]{hyperref} +\AtBeginDocument{ + \@ifpackageloaded{hyperref}{ \hypersetup{ + backref=true, + hyperindex=true, + pagebackref=true, breaklinks=true, colorlinks=true, citecolor=black, @@ -416,16 +299,13 @@ linkcolor=black, pageanchor=true, pdfpagemode=UseOutlines, - urlcolor=black - } - \AtBeginDocument{ - \hypersetup{ - pdftitle={\@title}, - pdfsubject={\@subtitle}, - pdfauthor={\@author} - } + urlcolor=black, + pdftitle={\@title}, + pdfsubject={\@subtitle}, + pdfauthor={\@author} } -}{} + }{} +} \endinput %% %% End of file `uantwerpenbamathesis.cls'. |