-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvubtitlepage.sty
103 lines (79 loc) · 3.2 KB
/
vubtitlepage.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
% Author: Toon Verwaest
% Adjusted by Egon Geerardyn
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{vubtitlepage}[2015/10/28 VUB Title Page]
\RequirePackage{graphicx}
\RequirePackage[usenames]{xcolor}
\newcommand{\affiliation}[1]{ (\textit{#1})}
\newcommand{\juryRole}[1]{ {\color{gray}\textit{#1}}}
\newcommand{\personalTitles}[1]{#1}
\newcommand{\jurymember}[4][]{\personalTitles{#2}& #3 \affiliation{#4} {\juryRole{#1}}\\}
\gdef\vub@promotortitle{Promotors}
\gdef\vub@jurytitle{Jury}
\gdef\vub@promotor{\ldots}
\gdef\vub@jury{\ldots}
\gdef\vub@faculty{Faculty of Engineering}
\gdef\vub@department{Department of Fundamental Electricity and Instrumentation (ELEC)}
\gdef\vub@reason{Thesis submitted in fulfillment of the requirements for the degree of\\Doctor in Engineering (Doctor in de Ingenieurswetenschappen) by}
\definecolor{vubblue}{RGB}{19,47,112}
\definecolor{vuborange}{RGB}{225,61,15}
\def\vub@titlepagefont{\sffamily}
\def\vub@titlefont{\vub@titlepagefont\huge\bfseries\scshape\textcolor{vubblue}}
\def\vub@reasonfont{\vub@titlepagefont\footnotesize}
\def\vub@authorfont{\vub@titlepagefont\Large\textcolor{vuborange}}
\def\vub@facultyfont{\vub@titlepagefont\scshape\normalsize}
\def\vub@departmentfont{\vub@titlepagefont\scshape\footnotesize}
\def\vub@datefont{\vub@titlepagefont\small\textcolor{gray}}
\def\vub@promotorAndJuryFont{\vub@titlepagefont
\small}
\def\vub@promotorAndJuryTitleFont{\vub@titlepagefont\normalsize\scshape\textcolor{white}}
\def\promotor#1{\gdef\vub@promotor{#1}}
\def\advisors#1{\gdef\vub@advisors{#1}}
\def\jury#1{\gdef\vub@jury{#1}}
\def\faculty#1{\gdef\vub@faculty{#1}}
\def\department#1{\gdef\vub@department{#1}}
\def\reason#1{\gdef\vub@reason{#1}}
\def\advisortitle#1{\gdef\vub@advisortitle{#1}}
\def\promotortitle#1{\gdef\vub@promotortitle{#1}}
\def\advisortitle#1{\gdef\vub@advisortitle{#1}}
%% actual definition of the title page
\def\maketitlepage{
\begin{titlepage}
\enlargethispage*{10em}
\vspace*{-1.5cm}{
{
\includegraphics[height=0.1\textheight]{VUB_CMYK}
}
}
\rule{1.5em}{0pt}%
\begin{tabular}{l}
\parbox[t]{0.5\columnwidth}%
{{\parbox[t]{0.75\columnwidth}{\vub@facultyfont\vub@faculty}}\\
{\parbox[t]{0.75\columnwidth}{\vub@departmentfont\vub@department}}
} \\
\rule{0pt}{55mm} % should be a vfill
\begin{tabular}{l}
{\parbox[t]{\columnwidth}{\vub@reasonfont\vub@reason}}\\
\rule{0pt}{7mm}{\parbox[t]{\columnwidth}{\vub@authorfont\@author}}\\
\\
\end{tabular}\\
\rule{0pt}{14mm}
\rule{0pt}{14mm}
{\parbox[b]{\columnwidth}{\vub@titlefont\@title}}\\
\rule{0pt}{5mm}\\
\rule{0pt}{35mm} % should be a vfill
\rule{0pt}{55mm} % should be a vfill
\vub@promotorAndJuryFont
\begin{tabular}{r@{ }l}
\rule{0pt}{0.5em}\\
\multicolumn{2}{l}{\fcolorbox{vuborange}{vuborange}{\vub@promotorAndJuryTitleFont\vub@promotortitle}} \\
\vub@promotor\\
\multicolumn{2}{l}{\fcolorbox{vuborange}{vuborange}{\vub@promotorAndJuryTitleFont\vub@jurytitle}} \\
\vub@jury\\
\end{tabular}\\
% Date
{\vub@datefont\@date}
\end{tabular}
\end{titlepage}
}
\endinput