-
Notifications
You must be signed in to change notification settings - Fork 0
/
unizhdt.sty
executable file
·157 lines (135 loc) · 3.8 KB
/
unizhdt.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
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
\usepackage{graphicx}
\usepackage[T1]{fontenc}
\AtBeginDocument{\parindent1.0em} %!PN
%% change sizes and margins
\topmargin -16.0mm
\oddsidemargin 0mm
\evensidemargin 0mm
\textheight 265.0mm
\textwidth 160.0mm
\columnsep 4.1mm
\parindent 1.0em
\headsep 6.3mm
\headheight 12pt
\lineskip 1pt
\normallineskip 1pt
\def\baselinestretch{1}
\marginparsep 10pt
\marginparwidth 20pt
\marginparpush 25pt
\partopsep \z@
\topsep 1.3ex
\parsep \z@
\itemsep \z@
%% begin with font size definitions for the title page
\def\titlelarge{\@setsize\titlelarge{18pt}\xivpt\@xivpt}
\def\titleLarge{\@setsize\titleLarge{22pt}\xviipt\@xviipt}
\def\titleHuge{\@setsize\titleHuge{30pt}\xxvpt\@xxvpt}
% the command to define the supervisors
\def\supervisors#1{
\def\@supervisors{#1}
}
% the command to define the date of submission
\def\submissiondate#1{
\def\@submissiondate{#1}
}
% the command to define the students names
\def\studentOne#1{
\def\@studentOne{#1}
}
\def\studentTwo#1{
\def\@studentTwo{#1}
}
\def\studentThree#1{
\def\@studentThree{#1}
}
\def\studentFour#1{
\def\@studentFour{#1}
}
\def\matOne#1{
\def\@matOne{#1}
}
\def\matTwo#1{
\def\@matTwo{#1}
}
\def\matThree#1{
\def\@matThree{#1}
}
\def\matFour#1{
\def\@matFour{#1}
}
% the title creation commands
\def\maketitle{\par
\begingroup
\def\thefootnote{}
\newpage\global\@maketitle
\@thanks
\endgroup
\setcounter{footnote}{0}\let\maketitle\relax\let\@maketitle\relax
\gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax
}
\def\@maketitle{\thispagestyle{empty}\newpage
{\fontfamily{phv} \selectfont
%% define the English title page
\hspace{0.5cm}\includegraphics[width=6.8cm]{uzh_logo_e}
\par
\vspace{4cm}
\hspace{0.5cm}\parbox[t][6cm][t]{17.5cm}{\noindent\centering\titleHuge\textbf{\@title}}
\par
\vspace{1cm}
\hspace{0.5cm}\parbox[t][4.5cm][t]{17.5cm}{
\parbox[t][4.5cm][t]{8.75cm}{
\noindent\titlelarge{ \begin{flushright} \@studentOne\\\@studentTwo\\\@studentThree\\\@studentFour\end{flushright}}
}
\parbox[t][4.5cm][t]{8.75cm}{
\noindent\titlelarge\textsl{\begin{flushleft} \@matOne\\\@matTwo\\\@matThree\\\@matFour\end{flushleft}}
}
}
\par
%\vspace{5cm}
\hspace{0.5cm}\parbox[t][5cm][b]{17.5cm}{\noindent\centering\titlelarge{Supervisor: \@supervisors\\
Date of Submission: \@submissiondate}}
\par
\vspace{1cm}
\hspace{0.5cm}\parbox[b]{13cm}{\noindent\titlelarge{University of Zurich\\
Department of Informatics (IFI)\\
Binzm\"uhlestrasse 14, CH-8050 Z\"urich, Switzerland}}
\hspace{1cm}\includegraphics[width=1.4cm]{ifi_logo}
\par
\begin{picture}(0,0)
\put(-20,90){\rotatebox{90}{\large\textsc{Master-Project} \hspace{0.4cm} -- \hspace{0.4cm} Communication Systems Group,
Prof. Dr. Burkhard Stiller}}
\put(0,10){\line(0,1){740}}
\put(0,70){\line(1,0){460}}
\end{picture}
\newpage
}
}
\def\makeimprint{
%% define the English page
\textheight240mm
\setlength{\oddsidemargin}{4mm}
\setlength{\evensidemargin}{-5.5mm}
\topmargin-6.0mm
\setlength{\parindent}{0ex}
\setlength{\parskip}{2.0ex plus 0.9ex minus 0.4ex}
{\fontfamily{phv} \selectfont
\vspace*{20cm}
\thispagestyle{empty}
\begin{tabular*}{16cm}{l}
\hline \\
Master-Project \\
Communication Systems Group (CSG) \\
Department of Informatics (IFI) \\
University of Zurich \\
Binzm\"uhlestrasse 14, CH-8050 Z\"urich, Switzerland \\
URL: http://www.csg.uzh.ch/ \\ \\
\hline
\end{tabular*}
}
\newpage
}
% the command to define abbreviations
\newcommand{\abr}[2]{
\makebox[2cm][l]{#1} \makebox[12cm][l]{#2} \\
}