forked from latextemplates/scientific-thesis-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
paderborn-title.tex
78 lines (66 loc) · 2.44 KB
/
paderborn-title.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
\thispagestyle{empty}
%margin of the title text box
\newgeometry{left=1.5cm,right=1.5cm,top=12.6cm,bottom=1.5cm}
\definecolor{pbblue}{RGB}{35,53,107} %\definecolor{pbblue}{spotcolor}{PATNONE281PC,1.0}
\definecolor{pbgray}{RGB}{213,212,208} %\definecolor{pbgray}{spotcolor}{PATNONE420PC,1.0}
\begin{tikzpicture}[remember picture, overlay]
% for hints on absolute positioning see https://tex.stackexchange.com/a/6821/9075
% blue box
\node[yshift=5mm] at (current page.south west)
{\begin{tikzpicture}[remember picture, overlay]
\fill[fill=pbblue] (5mm,0) rectangle (\paperwidth-5mm,10.2cm);
\end{tikzpicture}
};
% gray box - inner part
\node[yshift=10.6cm] at (current page.south west)
{\begin{tikzpicture}[remember picture, overlay]
\draw[color=pbgray!80!black,fill=pbgray!80!black] (5mm,0) rectangle (\paperwidth-5mm,6cm);
\end{tikzpicture}
};
% gray box - outer part
\node[yshift=10.6cm] at (current page.south west)
{\begin{tikzpicture}[remember picture, overlay]
\draw[color=pbgray,fill=pbgray] (0,0) rectangle (5mm,6cm);
\draw[color=pbgray,fill=pbgray] (\paperwidth-5mm,0) rectangle (\paperwidth,6cm);
\end{tikzpicture}
};
% strange white box - top
\node[yshift=-3.5cm] at (current page.north west)
{\begin{tikzpicture}[remember picture, overlay]
\fill[fill=white] (13cm,0) rectangle (19.5cm,.5cm);
\end{tikzpicture}
};
% strange white box - bottom
\node[yshift=0cm] at (current page.south west)
{\begin{tikzpicture}[remember picture, overlay]
\fill[fill=white] (13cm,0) rectangle (19.5cm,.9cm);
\end{tikzpicture}
};
\end{tikzpicture}
% University logo
\AddToShipoutPictureBG*{%
\AtPageUpperLeft{%
\put(\LenToUnit{13cm},\LenToUnit{-2.5cm}){%
\includegraphics[scale=.337]{logos/UPB_LOGO_GB_RGB_15.pdf}
}%
}
}
% Background picture
\AddToShipoutPictureBG*{%
\AtPageUpperLeft{%
\put(\LenToUnit{.5cm},\LenToUnit{-13.1cm}){%
%20x10cm
\includegraphics{logos/UBP-background-picture.pdf}
}%
}
}
\makeatletter
\noindent
{\vspace{-.1cm}\LARGE\textsf{\textcolor{white}{\MakeUppercase{\@labelType}}}\par}\bigskip
\noindent
{\Huge\textsf{\textbf{\textcolor{pbblue}{\MakeUppercase{\MCS@title}}}}\par}\smallskip
\noindent
{\LARGE\textsf{\textcolor{white}{\MakeUppercase{\MCS@author}}}}
\makeatother
\restoregeometry
\clearpage