-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathadsphd_oldcovers.tex
795 lines (758 loc) · 22.3 KB
/
adsphd_oldcovers.tex
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
%% Old covers provided in 2012 (XII) and 2010 (X).
%% The 2012 cover was replaced in 2024.
%% The 2010 cover was in use before this class was created in 2010 and served
%% until 2012.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Provide front cover using the 2012 (XII) layout
% used by the Arenberg Doctoral School
\newcommand{\frontcoverheaderXII}[1]{%
% Use Helvetica
\renewcommand{\sfdefault}{\helvetsfdefault}
\thispagestyle{empty}
% Blue bar on top
\begin{textblock*}{\adsphdpaperwidth+\lbleed+\rbleed}(0mm-\lbleed+#1,20mm)
\textblockcolour{kulprimaryblue}
%\vspace{-\parskip}
\rule{0pt}{20mm}
\end{textblock*}
%
% Create logo box
\begin{textblock*}{56mm}(10mm+#1,15mm)
% explicitly turn off block colour to prevent the coloured background from popping up due to misalignment of the logo
\textblockcolour{}
\includegraphics[width=56mm,height=20mm]{image/KULEUVEN_LOGO_2012}
\end{textblock*}
%
% Create ADS+faculty box
\begin{textblock*}{85mm}(70mm+#1,20mm)
\textblockcolour{}
\vspace{-\parskip}
%\hspace*{2mm}
\begin{flushright}
\fontsize{12}{15}\selectfont
\def\tmphss{hss}%
\ifx\tmphss\adsphd@doctoralschool
\typeout{adsphd: Cover, smaller font size to fit doctoral school name}
\fontsize{10}{13}\selectfont%
\fi
{\bfseries \textcolor{white} {\sffamily \expandafter\MakeUppercase\expandafter{\@doctoralschool}}}\\[.2mm]
{\sffamily \textcolor{white} {\@faculty}}
\end{flushright}
\end{textblock*}
}
\newcommand{\frontcoverfooterXII}[1]{%
% Only add empty pages if asked for
\ifthenelse{\equal{#1}{1}}
{
\newpage
\thispagestyle{empty} \mbox{}
\newpage
}{}
%
% Restore font
\renewcommand{\sfdefault}{\origsfdefault}
% Empty textpos boxes (interferes with some other packages such as
% Tikz externalize
\cleartextposbox
}
\newcommand{\makefrontcoverXII}{\makefrontcovergeneralXII{0mm}{1}}
\ifadsphd@epub
\renewcommand{\makefrontcoverXII}{}
\fi
\newcommand{\makefrontcovergeneralXII}[2]{%
\typeout{adsphd.cls: Create cover with bleed (\the\rbleed,\the\lbleed)}
%
% Create header
\frontcoverheaderXII{#1}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Title, subtitle, authorname, text and date can be moved around.
% Change the textblock* commands below.
%
% Syntax of textblock environment:
%
% \begin{textblock*}{width}(xpos,ypos)
% ...
% \end{textblock*}
%
% !! Make sure not to remove the '+#1' part!!!
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Place the DRAFT notifier on the front page to avoid printing a wrong
% version
\ifadsphd@final\else
\begin{textblock*}{120mm}(17.5mm+#1,50mm)
\textblockcolour{}
\vspace{-\parskip}
\begin{center}
\selectfont\LARGE\sffamily\textbf{\color{red}{
DRAFT\\
{\small To remove, add `final' to class options}
}}
\end{center}
\end{textblock*}
\fi
%
% Place the title and subtitle
%\typeout{Title position: 17.5mm+\the#1}
\begin{textblock*}{135mm}(17.5mm+#1,100mm)
\textblockcolour{}
\vspace{-\parskip}
\raggedright
\coverfontsize{30}{34}\selectfont\sffamily{\color{kulprimaryblue}\@title}\\
\coverfontsize{20}{25}\selectfont\sffamily{\@subtitle}
\end{textblock*}
%
% Place the author name
\begin{textblock*}{135mm}(17.5mm+#1,170mm)
\textblockcolour{}
\vspace{-\parskip}
\begin{flushright}
\coverfontsize{14}{19}\selectfont\sffamily\textbf{\@authorf\ \@authorl}
\end{flushright}
\end{textblock*}
%
% Place the fullfilment text
\begin{textblock*}{67.5mm}(85mm+#1,185mm)
\textblockcolour{}
\vspace{-\parskip}
\begin{minipage}[t]{67mm}
{\coverfontsize{12}{15}\selectfont\sffamily%
\begin{flushright}
Dissertation presented in partial\\%
\fulfillment\ of the requirements for the\\%
degree of \@phddegree
\end{flushright}
}
\end{minipage}
\end{textblock*}
%
% Place the date text
\begin{textblock*}{67.5mm}(85mm+#1,220mm)
\textblockcolour{}
\vspace{-\parskip}
\begin{minipage}[t]{67mm}
\begin{flushright}
{\coverfontsize{12}{15}\selectfont\sffamily\@date}
\end{flushright}
\end{minipage}
\end{textblock*}
%
% Place the Examination committee text
\ifadsphd@covershowcommittee
\begin{textblock*}{67.5mm}(17.5mm+#1,185mm)
\textblockcolour{}
\vspace{-\parskip}
\begin{minipage}[t]{67mm}
\coverfontsize{12}{15}\selectfont\sffamily
%\begin{tabular}[t]{p{6.9cm}}
Examination committee:
\DTLforeach{president}{\name=name,\affiliation=affiliation}{%
\\\name, chair
\ifthenelse{\equal{\affiliation}{}}{}{%
\\\rule{0.5cm}{0pt}(\affiliation)
}}
\DTLforeach{supervisor}{\name=name,\affiliation=affiliation}{%
\\\name, supervisor
\ifthenelse{\equal{\affiliation}{}}{}{%
\\\rule{0.25cm}{0pt}(\affiliation)
}}
%\DTLforeach{cosupervisor}{\name=name,\affiliation=affiliation}{%
%\\\name%, co-supervisor
%\ifthenelse{\equal{\affiliation}{}}{}{%
%\\\rule{0.25cm}{0pt}(\affiliation)
%}}
\DTLforeach{jury}{\name=name,\affiliation=affiliation}{%
\\\name
\ifthenelse{\equal{\affiliation}{}}{}{%
\\\rule{0.5cm}{0pt}(\affiliation)
}}
\DTLforeach{externaljury}{\name=name,\affiliation=affiliation}{%
\\\name
\\\rule{0.25cm}{0pt}(\affiliation)
}
\\
\if\empty\@udc \else U.D.C. \@udc\fi
%\end{tabular}
\end{minipage}
\end{textblock*}
\else
\begin{textblock*}{67.5mm}(17.5mm+#1,185mm)
\textblockcolour{}
\vspace{-\parskip}
\begin{minipage}[t]{67mm}
\coverfontsize{12}{15}\selectfont\sffamily
%\begin{tabular}[t]{p{6.9cm}}
\dtlifnumlt{\DTLrowcount{supervisor}}{2}{Supervisor:}{Supervisors:}
\DTLforeach{supervisor}{\name=name,\affiliation=affiliation}{%
\\\name
\ifthenelse{\equal{\affiliation}{}}{}{%
\\\rule{0.25cm}{0pt}(\affiliation)
}}
%\DTLforeach{cosupervisor}{\name=name,\affiliation=affiliation}{%
%\\\name%, co-supervisor
%\ifthenelse{\equal{\affiliation}{}}{}{%
%\\\rule{0.25cm}{0pt}(\affiliation)
%}}
\\
\if\empty\@udc \else U.D.C. \@udc\fi
%\end{tabular}
\end{minipage}
\end{textblock*}
\fi
%
% Bottom blue bar
\begin{textblock*}{\adsphdpaperwidth+\lbleed+\rbleed}(0mm-\lbleed+#1,234mm)
\textblockcolour{kullightblue}
%\vspace{-\parskip}
\rule{0pt}{2.1mm}
\end{textblock*}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Add footer
\frontcoverfooterXII{#2}
}
\let\orig@makefrontcovergeneralXII\makefrontcovergeneralXII
\newcommand{\titlepageXII}{%
%
%\begin{textblock}{120}(0,37.5)
\begin{textblock}{120}(17.5,70)
\textblockcolour{}
\vspace{-\parskip}
\begin{flushleft}
\Large\sffamily\textbf{\@title}
\end{flushleft}
\end{textblock}
%
%\begin{textblock}{120}(0,47.5)
\begin{textblock}{120}(17.5,85.0)
\textblockcolour{}
\vspace{-\parskip}
\large\sffamily{\@subtitle}
\end{textblock}
%
%\begin{textblock}{120}(0,72.5)
\begin{textblock}{120}(17.5,105)
\textblockcolour{}
\vspace{-\parskip}
\large\sffamily\textbf{\@authorf\ \MakeUppercase\@authorl}
\end{textblock}
%
%\begin{textblock}{120}(0,125)
\begin{textblock}{160}(17.5,157.5)
\textblockcolour{}
\vspace{-\parskip}
\begin{minipage}[t]{7.32cm}
% \begin{tabular}[t]{p{6.9cm}}
Examination committee:
\DTLforeach{president}{\name=name,\affiliation=affiliation}{%
\\\name, chair
\ifthenelse{\equal{\affiliation}{}}{}{%
\\\rule{0.5cm}{0pt}(\affiliation)
}}
\DTLforeach{supervisor}{\name=name,\affiliation=affiliation}{%
\\\name, supervisor
\ifthenelse{\equal{\affiliation}{}}{}{%
\\\rule{0.25cm}{0pt}(\affiliation)
}}
%\DTLforeach{cosupervisor}{\name=name,\affiliation=affiliation}{%
%\\\name%, co-supervisor
%\ifthenelse{\equal{\affiliation}{}}{}{%
%\\\rule{0.25cm}{0pt}(\affiliation)
%}}
\DTLforeach{jury}{\name=name,\affiliation=affiliation}{%
\\\name
\ifthenelse{\equal{\affiliation}{}}{}{%
\rule{0.5cm}{0pt}(\affiliation)
}}
\DTLforeach{externaljury}{\name=name,\affiliation=affiliation}{%
\\\name
\\\rule{0.25cm}{0pt}(\affiliation)
}
\\
\if\empty\@udc \else U.D.C. \@udc\fi
% \end{tabular}
\end{minipage}
\begin{minipage}[t]{5.3cm}
% \begin{tabular}[t]{l}
Dissertation presented in partial
\fulfillment\ of the requirements for
the degree of \@phddegree
% \end{tabular}
\end{minipage}
%\begin{tabular}{p{7cm}l}
% Jury: & Dissertation presented in partial
% \@president, president & fulfillment of the requirements for
% \@supervisor, supervisor & the degree of \@phddegree
% titles first name last name & \\
% titles first name last name & \\
% \rule{0.25cm}{0pt}(external affiliation) & \\
% & \\
% U.D.C. \@udc
%\end{tabular}
\end{textblock}
%\vfill
%\begin{center} {\@date} \end{center}
\begin{textblock}{160}(0,210.0)
\textblockcolour{}
\vspace{-\parskip}
\begin{center} \@date \end{center}
\end{textblock}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Provide back cover using the 2012 (XII) layout
% used by the Arenberg Doctoral School
\newcommand{\backcoverheaderXII}[2]{%
\typeout{adsphd.cls: Using default XII back cover page}
% Use Helvetica
\renewcommand{\sfdefault}{\helvetsfdefault}
%
% Only add empty pages if asked for
\ifthenelse{\equal{#2}{1}}
{
\cleardoublepage \mbox{}
\thispagestyle{empty}
\newpage
}{}
\thispagestyle{empty}
% Blue lines in right corner
%
\begin{textblock*}{55mm}(#1+97.5mm,20mm)
\textblockcolour{kullightblue}
%\vspace{-\parskip}
\rule{0pt}{2mm}
\end{textblock*}
\begin{textblock*}{2mm}(#1+152mm,20mm)
\textblockcolour{kullightblue}
%\vspace{-\parskip}
\rule{0pt}{18mm}
\end{textblock*}
%
% Create gray box
\begin{textblock*}{137.5mm}(#1,23mm)
\textblockcolour{}
\vspace{-\parskip}
%\parbox[c][20mm]{151.2mm+\rbleed}{
\flushright
%\vspace{-3mm}
{\scriptsize {\sffamily\MakeUppercase\@faculty}}\\[-1mm]
{\scriptsize {\sffamily\MakeUppercase\@department}}\\[-1mm]
\ifdefempty{\@researchgroup}{}{{\scriptsize {\sffamily\MakeUppercase\@researchgroup}}\\[-1mm]}
{\scriptsize {\sffamily\@address}}\\[-1mm]
{\scriptsize {\sffamily{}\@addresspc}}\\[-1mm]
\ifdefempty{\@email}{}{{\scriptsize {\sffamily{}\@email}}\\[-1mm]}
\ifdefempty{\@website}{}{{\scriptsize {\sffamily{}\@website}}}
%}
\end{textblock*}
%
%
% Create blue background
%\setlength{\tmplength}{\adsphdpaperwidth}
%\addtolength{\tmplength}{-152mm}
%\addtolength{\tmplength}{\rbleed}
%\begin{textblock*}{\tmplength}(152.0mm+#1,20mm)
%\textblockcolour{}
%\includegraphics[width=\tmplength,height=20mm]{image/blue}%
%\end{textblock*}
%
% Put KULeuven sedes on top
\begin{textblock*}{7mm}(140mm+#1,24mm)
\textblockcolour{}
\vspace{-\parskip}
\includegraphics*[height=15mm]{image/sedes}%
\end{textblock*}
}
\newcommand{\backcoverfooterXII}[1]{%
% Bottom blue bar
%\begin{textblock*}{\adsphdpaperwidth}(#1,222mm)
\begin{textblock*}{\adsphdpaperwidth+\lbleed+\rbleed}(#1-\rbleed,222mm)
%\begin{textblock*}{\adsphdpaperwidth}(0mm+#1,234mm)
\textblockcolour{kulprimaryblue}
%\vspace{-\parskip}
\rule{0pt}{15mm}
\end{textblock*}
%
% Restore font
\renewcommand{\sfdefault}{\origsfdefault}
}
\newcommand{\makebackcoverXII}{\makebackcovergeneralXII{0mm}{1}}
\ifadsphd@epub
\renewcommand{\makebackcoverXII}{}
\fi
% \makebackcovergeneralXII{xskip}{clearpage}
\newcommand{\makebackcovergeneralXII}[2]{%
\typeout{adsphd.cls: Using default back cover page}
%
% Create header
\backcoverheaderXII{#1}{#2}
%
% Add footer
\backcoverfooterXII{#1}
}
\let\orig@makebackcovergeneralXII\makebackcovergeneralXII
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Provide spine using the 2012 (XII) layout
% used by the Arenberg Doctoral School
\newcommand{\makespinegeneralXII}[4]{%
% Use Helvetica
\renewcommand{\sfdefault}{\helvetsfdefault}
%
% Get adsphdspinewidth as #3
\setlength{\adsphdspinewidth}{#3}
%
% Get spinetitlewidth as #4
\ifthenelse{\equal{#4}{}}
{}{
\setlength{\spinetitlewidth}{#4}
}
%
% Empty pagestyle
\thispagestyle{empty}%
%
% Only clear page if asked for
\ifthenelse{\equal{#2}{1}}
{
\cleardoublepage \mbox{}%
}{}
%
\newlength{\authorlen}
\settowidth{\authorlen}{\large\sffamily\@authorf\ \MakeUppercase\@authorl}
\newlength{\authorlenpenalty}
\ifthenelse{\lengthtest{\authorlen>4.2cm}}{%
% For really really long names, move the name up a bit more
\typeout{adsphd.cls: Really long author name detected in %
generation of spine. Moving it up by 4mm.}
\setlength{\authorlenpenalty}{4mm}
}{%
\ifthenelse{\lengthtest{\authorlen>4.0cm}}{%
% For really long names, move the name up a bit
\typeout{adsphd.cls: Long author name detected in generation of %
spine. Moving it up by 3mm.}
\setlength{\authorlenpenalty}{3mm}
}{%
\setlength{\authorlenpenalty}{0mm}
}
}
%
\begin{textblock*}{\adsphdspinewidth}(0mm+#1,20mm-\authorlenpenalty) % 9mm whitespace
% between blue and first letter of the author name
% (possibly less because the author name might be
% reallyreally long)
\textblockcolour{}
% Rotate the text
\begin{turn}{-90}
\makebox[\adsphdpaperheight-24mm+\authorlenpenalty][c]{% 20mm(white)+20mm(blue)+9mm(space before name)+7mm(after date)
%
% Place author
\parbox[c][\adsphdspinewidth]{(\authorlen)}{
\large\sffamily\@authorf\ \MakeUppercase\@authorl%
}
\hfill
%
% Place title
\parbox[c][\adsphdspinewidth]{\spinetitlewidth}{
\centering
\setstretch{.85}
\normalsize\sffamily\textbf{\MakeUppercase\@title}
}
%
% Place date
\hfill\large\sffamily\@date
}
\end{turn}
\end{textblock*}
\renewcommand{\sfdefault}{\origsfdefault}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Provide front cover using the 2010 (X) layout
% used by the Arenberg Doctoral School
\newcommand{\frontcoverheaderX}[1]{%
% Use Helvetica
\renewcommand{\sfdefault}{\helvetsfdefault}
\thispagestyle{empty}
% Now using \usepackage[absolute]{textpos}. The positioning become a lot
% robuster this way wrt changes in margins etc.
%
% Put sedes at top center
\begin{textblock*}{\adsphdpaperwidth}(0mm+#1,0mm)
\textblockcolour{}
\vspace{-\parskip}
\begin{center}
\includegraphics[width=8mm]{image/sedes}
\end{center}
\end{textblock*}
%
% Create gray box
\begin{textblock*}{100mm+\rbleed}(60mm+#1,20mm)
\textblockcolour{gray}
\vspace{-\parskip}
\hspace*{2mm}
\parbox[c][20mm]{97.92mm}{
{\bfseries \small \textcolor{white} {\sffamily Arenberg Doctoral School of Science, Engineering \& Technology}}\\[.2mm]
{\sffamily\small \textcolor{white} {\@faculty}}\\[.2mm]
{\sffamily\small \textcolor{white} {\@department}}
}
\end{textblock*}
%
% Create blue background
\begin{textblock*}{60mm+\lbleed}(0mm-\lbleed+#1, 20mm)
\textblockcolour{}
\includegraphics[width=60mm+\lbleed,height=20mm]{image/blue}
\end{textblock*}
%
% Put KULeuven logo on top of the blue background
\begin{textblock*}{60mm}(0mm+#1, 20mm)
\textblockcolour{}
%\vspace{-\parskip}
\includegraphics*[height=20mm]{image/kullogo2}
\end{textblock*}
}
\newcommand{\frontcoverfooterX}[1]{%
% Only add empty pages if asked for
\ifthenelse{\equal{#1}{1}}
{
\newpage
\thispagestyle{empty} \mbox{}
\newpage
}{}
%
% Restore font
\renewcommand{\sfdefault}{\origsfdefault}
}
\newcommand{\makefrontcoverX}{\makefrontcovergeneralX{0mm}{1}}
% \makefrontcovergeneralX{xskip}{}clearpage
\newcommand{\makefrontcovergeneralX}[2]{%
\typeout{adsphd.cls: Using default front cover page}
%
% Create header
\frontcoverheaderX{#1}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Title, subtitle, authorname, text and date can be moved around.
% Change the textblock* commands below.
%
% Syntax of textblock environment:
%
% \begin{textblock*}{width}(xpos,ypos)
% ...
% \end{textblock*}
%
% !! Make sure not to remove the '+#1' part!!!
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Place the DRAFT notifier on the front page to avoid printing a wrong
% version
\ifadsphd@final\else
\begin{textblock*}{120mm}(17.5mm+#1,90mm)
\textblockcolour{}
\vspace{-\parskip}
\begin{center}
\selectfont\LARGE\sffamily\textbf{\color{red}{
DRAFT\\
{\small To remove, add `final' to class options}
}}
\end{center}
\end{textblock*}
\fi
%
% Place the title
\begin{textblock*}{120mm}(17.5mm+#1,112.5mm)
\textblockcolour{}
\vspace{-\parskip}
\raggedright\selectfont\LARGE\sffamily\textbf{\@title}
\end{textblock*}
%
% Place the subtitle
\begin{textblock*}{120mm}(17.5mm+#1,132mm)
\textblockcolour{}
\vspace{-\parskip}
\Large\sffamily{\@subtitle}
\end{textblock*}
%
% Place the author name
\begin{textblock*}{120mm}(17.5mm+#1,147.5mm)
\textblockcolour{}
\vspace{-\parskip}
\Large\sffamily\@authorf\ \MakeUppercase\@authorl
\end{textblock*}
%
% Place the misc text
\begin{textblock*}{60mm}(97.5mm+#1,192.5mm)
\textblockcolour{}
\vspace{-\parskip}
{\small\sffamily Dissertation presented in partial\\
\fulfillment\ of the requirements for\\
the degree of \@phddegree}
\end{textblock*}
%
% Place date
\begin{textblock*}{\adsphdpaperwidth}(0mm+#1,221.5mm)
\textblockcolour{}
\vspace{-\parskip}
\begin{center} {\small\sffamily\@date }\end{center}
\end{textblock*}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Add footer
\frontcoverfooterX{#2}
}
\let\orig@makefrontcovergeneralX\makefrontcovergeneralX
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Provide spine using the 2010 (X) layout
% used by the Arenberg Doctoral School
\newcommand{\makespinegeneralX}[4]{%
% Use Helvetica
\renewcommand{\sfdefault}{\helvetsfdefault}
%
% Get adsphdspinewidth as #3
\setlength{\adsphdspinewidth}{#3}
%
% Get spinetitlewidth as #4
\ifthenelse{\equal{#4}{}}
{}{
\setlength{\spinetitlewidth}{#4}
}
%
% Empty pagestyle
\thispagestyle{empty}%
%
% Only clear page if asked for
\ifthenelse{\equal{#2}{1}}
{
\cleardoublepage \mbox{}%
}{}
%
% Create blue box
\begin{textblock*}{\adsphdspinewidth}(0mm+#1,20mm)
\textblockcolour{}
\vspace{-\parskip}
\includegraphics[width=\adsphdspinewidth,height=20mm]{image/blue}%
\end{textblock*}
%
\newlength{\authorlen}
\settowidth{\authorlen}{\large\sffamily\@authorf\ \MakeUppercase\@authorl}
\newlength{\authorlenpenalty}
\ifthenelse{\lengthtest{\authorlen>4.2cm}}{%
% For really really long names, move the name up a bit more
\typeout{adsphd.cls: Really long author name detected in %
generation of spine. Moving it up by 4mm.}
\setlength{\authorlenpenalty}{4mm}
}{%
\ifthenelse{\lengthtest{\authorlen>4.0cm}}{%
% For really long names, move the name up a bit
\typeout{adsphd.cls: Long author name detected in generation of %
spine. Moving it up by 3mm.}
\setlength{\authorlenpenalty}{3mm}
}{%
\setlength{\authorlenpenalty}{0mm}
}
}
%
\begin{textblock*}{\adsphdspinewidth}(0mm+#1,49mm-\authorlenpenalty) % 9mm whitespace
% between blue and first letter of the author name
% (possibly less because the author name might be
% reallyreally long)
\textblockcolour{}
% Rotate the text
\begin{turn}{-90}
\makebox[\adsphdpaperheight-56mm+\authorlenpenalty][c]{% 20mm(white)+20mm(blue)+9mm(space before name)+7mm(after date)
%
% Place author
\parbox[c][\adsphdspinewidth]{(\authorlen)}{
\large\sffamily\@authorf\ \MakeUppercase\@authorl%
}
\hfill
%
% Place title
\parbox[c][\adsphdspinewidth]{\spinetitlewidth}{
\centering
\setstretch{.85}
\normalsize\sffamily\textbf{\MakeUppercase\@title}
}
%
% Place date
\hfill\large\sffamily\@date
}
\end{turn}
\end{textblock*}
\renewcommand{\sfdefault}{\origsfdefault}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Provide back cover using the 2010 (X) layout
% used by the Arenberg Doctoral School
\newcommand{\backcoverheaderX}[2]{%
\typeout{adsphd.cls: Using default back cover page}
% Use Helvetica
\renewcommand{\sfdefault}{\helvetsfdefault}
%
% Only add empty pages if asked for
\ifthenelse{\equal{#2}{1}}
{
\cleardoublepage \mbox{}
\thispagestyle{empty}
\newpage
}{}
\thispagestyle{empty}
%
% Create gray box
\begin{textblock*}{152.5mm+\rbleed}(-\rbleed+#1,20mm)
\textblockcolour{gray}
\vspace{-\parskip}
\parbox[c][20mm]{151.2mm+\rbleed}{
\flushright
\vspace{-3mm}
{\bfseries \scriptsize \textcolor{white} {\sffamily{}Arenberg Doctoral School of Science, Engineering \& Technology} \ \ }\\[-1mm]
{\scriptsize \textcolor{white} {\sffamily\@faculty\ \ }}\\[-1.2mm]
{\scriptsize \textcolor{white} {\sffamily\@department \ \ }}\\[-1.2mm]
{\scriptsize \textcolor{white} {\sffamily\@researchgroup\ \ }}\\[-1.2mm]
{\scriptsize \textcolor{white} {\sffamily\@address\ \ }}\\[-1.2mm]
{\scriptsize \textcolor{white} {\sffamily{}\@addresspc\ \ }}
}
\end{textblock*}
%
%
% Create blue background
\setlength{\tmplength}{\adsphdpaperwidth}
\addtolength{\tmplength}{-152mm}
\addtolength{\tmplength}{\rbleed}
\begin{textblock*}{\tmplength}(152.0mm+#1,20mm)
\textblockcolour{}
\includegraphics[width=\tmplength,height=20mm]{image/blue}%
\end{textblock*}
%
% Put KULeuven logo on top
\begin{textblock*}{7mm}(153.37mm+#1,20mm)
\textblockcolour{}
\vspace{-\parskip}
\includegraphics*[angle=90,height=20mm]{image/kullogo2}%
\end{textblock*}
}
\newcommand{\backcoverfooterX}[1]{%
% Put logo of the association at the bottom right
\begin{textblock*}{7mm}[2.,1.](150mm+#1,231.0mm)
\textblockcolour{}
\vspace{-\parskip}
\includegraphics*[height=20mm]{image/ASSO_ZEGEL_ZW}
\end{textblock*}
%
% Restore font
\renewcommand{\sfdefault}{\origsfdefault}
}
\newcommand{\makebackcoverX}{\makebackcovergeneralX{0mm}{1}}
% \makebackcovergeneralX{xskip}{clearpage}
\newcommand{\makebackcovergeneralX}[2]{%
\typeout{adsphd.cls: Using default back cover page}
%
% Create header
\backcoverheaderX{#1}{#2}
%
% Add footer
\backcoverfooterX{#1}
}
\let\orig@makebackcovergeneralX\makebackcovergeneralX