-
Notifications
You must be signed in to change notification settings - Fork 1
/
TUINFDA.sty
executable file
·179 lines (155 loc) · 6.2 KB
/
TUINFDA.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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
% $Id: TUINFDA.sty 1752 2010-03-20 11:07:02Z tkren $
%
% Vienna University of Technology (TU Vienna) - Faculty of Informatics,
% thesis, settings for TUINFDA.tex
%
% For questions and comments send an email to
% Thomas Krennwallner <tkren@kr.tuwien.ac.at>
%
\ProvidesPackage{TUINFDA}[2010/03/20 v1.1 TU INF DA style file]
\typeout{2010/03/20 v1.1 TU INF DA style file}
% use Helvetica for \sffamily, times for the rest
\usepackage[T1]{fontenc}
\usepackage[scaled]{helvet}
\usepackage{times}
\usepackage{courier}
\usepackage{amssymb}
% PGF is a macro package for creating graphics. It is platform-
% and format-independent and works together with the most important
% TeX backend drivers, including pdftex and dvips. It comes with
% a user-friedly syntax layer called TikZ.
\usepackage{tikz}
% we need a recent version of geometry for \newgeometry
\usepackage{geometry}[2010/02/15]
% create new titlepage pagestyle for memoir
\makepagestyle{tuinftitlepage}
\makeheadposition{tuinftitlepage}{center}{center}{center}{center}
\newlength{\tuinf@headwidth}
\setlength{\tuinf@headwidth}{18.2cm}
\newlength{\tuinf@footwidth}
\setlength{\tuinf@footwidth}{16.2cm}
% the next 2 lines only work with recent versions of memoir (v3.6 or newer)
\makerunningwidth{tuinftitlepage}[\tuinf@footwidth]{\tuinf@headwidth}
\makefootrule{tuinftitlepage}{\tuinf@footwidth}{0.5pt}{1mm}
% if you have an older version of memoir, use the following line instead
% \makerunningwidth{tuinftitlepage}{\tuinf@headwidth}
% font sizes for the titlepage
\newcommand{\thesistitlefontHUGE}{\fontsize{30}{34}\selectfont}
\newcommand{\thesistitlefontLARGE}{\fontsize{17}{22}\selectfont}
\newcommand{\thesistitlefontLarge}{\fontsize{14}{18}\selectfont}
\newcommand{\thesistitlefontlarge}{\fontsize{12}{14.5}\selectfont}
\newcommand{\thesistitlefontnormalsize}{\fontsize{11}{13.6}\selectfont}
% a squared bullet
\def\tuinf@squarebullet{\raisebox{0.4ex}{\thesistitlefontLarge $\centerdot$}}
\def\tuinf@titlingfoot{%
\centering%
\rule{\tuinf@footwidth}{0.5pt}
\begin{minipage}[t][1cm][t]{\tuinf@footwidth}%
\sffamily%
\centering%
\thesistitlefontnormalsize%
%
Technische Universit\"{a}t Wien
A-1040 Wien \tuinf@squarebullet{} Karlsplatz 13 \tuinf@squarebullet{}
Tel. +43-1-58801-0 \tuinf@squarebullet{} www.tuwien.ac.at%
\end{minipage}%
}
\def\tuinf@titlinghead{%
\centering%
\begin{minipage}[t]{\tuinf@headwidth}%
\centering%
\tikz{%
\node at (0,0) {\includegraphics[width=17.9cm]{dokumentenkopf__klein}};
\node at (5.5,-0.7) {\includegraphics[scale=1]{INF_Logo_typo_grau}};
}%
\end{minipage}%
}
\newlength{\tuinf@baselineskip}
\newlength{\tuinf@parindent}
\makeevenhead{tuinftitlepage}{}{%
\setlength{\tuinf@baselineskip}{\baselineskip}%
\setlength{\baselineskip}{13.6pt}%
\setlength{\tuinf@parindent}{\parindent}%
\setlength{\parindent}{17pt}%
\tuinf@titlinghead%
\setlength{\baselineskip}{\tuinf@baselineskip}%
\setlength{\parindent}{\tuinf@parindent}%
}{}
\makeoddhead{tuinftitlepage}{}{%
\setlength{\tuinf@baselineskip}{\baselineskip}%
\setlength{\baselineskip}{13.6pt}%
\setlength{\tuinf@parindent}{\parindent}%
\setlength{\parindent}{17pt}%
\tuinf@titlinghead%
\setlength{\baselineskip}{\tuinf@baselineskip}%
\setlength{\parindent}{\tuinf@parindent}%
}{}
\makeevenfoot{tuinftitlepage}{}{%
\setlength{\tuinf@baselineskip}{\baselineskip}%
\setlength{\baselineskip}{13.6pt}%
\setlength{\tuinf@parindent}{\parindent}%
\setlength{\parindent}{17pt}%
\tuinf@titlingfoot%
\setlength{\baselineskip}{\tuinf@baselineskip}%
\setlength{\parindent}{\tuinf@parindent}%
}{}
\makeoddfoot{tuinftitlepage}{}{%
\setlength{\tuinf@baselineskip}{\baselineskip}%
\setlength{\baselineskip}{13.6pt}%
\setlength{\tuinf@parindent}{\parindent}%
\setlength{\parindent}{17pt}%
\tuinf@titlingfoot%
\setlength{\baselineskip}{\tuinf@baselineskip}%
\setlength{\parindent}{\tuinf@parindent}%
}{}
% TUINF defaults
\gdef\tuinfthesistitle{Interactive Computer Generated Architecture}
\gdef\tuinfthesisdate{TT.MM.JJJJ}
\gdef\tuinfthesistype{DIPLOMARBEIT}
\gdef\tuinfthesisdegree{Diplom-Ingenieur/in}
\gdef\tuinfthesiscurriculum{Computergraphik/Digitale Bildverarbeitung}
\gdef\tuinfthesisverfassung{Verfasser/in}
\gdef\tuinfthesisauthor{Martina Muster}
\gdef\tuinfthesismatrikelno{0123456}
% The next three lines have been added by
% Michael Sprinzl,
% Vienna University of Technology (TU Vienna), Faculty of Informatics,
% Institute of Computer Aided Automation, Computer Vision Lab
%
% For questions and comments regarding the changes send an email to
% Michael Sprinzl <michael(dot)sprinzl(at)student(dot)tuwien(dot)ac(dot)at>
%
% Note: replace (dot) with . and (at) with @ to get a valid email address!
%
\gdef\tuinfthesisaddress{Musterstrasse 1}
\gdef\tuinfthesiszipcode{1234}
\gdef\tuinfthesiscity{Musterstadt}
\gdef\tuinfthesisbetreuung{Betreuer/in}
\gdef\tuinfthesisbetreins{Titel~Dr.~Vorname Familienname}
\gdef\tuinfthesisbetrzwei{Univ.-Ass.~Dr.~Vorname Familienname}
\newcommand{\thesistitle}[1]{\xdef\tuinfthesistitle{#1}}
\newcommand{\thesisdate}[1]{\xdef\tuinfthesisdate{#1}}
\newcommand{\thesistype}[1]{\xdef\tuinfthesistype{#1}}
\newcommand{\thesisdegree}[1]{\xdef\tuinfthesisdegree{#1}}
\newcommand{\thesiscurriculum}[1]{\xdef\tuinfthesiscurriculum{#1}}
\newcommand{\thesisverfassung}[1]{\xdef\tuinfthesisverfassung{#1}}
\newcommand{\thesisauthor}[1]{\xdef\tuinfthesisauthor{#1}}
\newcommand{\thesismatrikelno}[1]{\xdef\tuinfthesismatrikelno{#1}}
% The next three lines have been added by
% Michael Sprinzl, TU Wien, Faculty of Informatics,
% Institute of Computer Aided Automation, Computer Vision Lab
%
% For questions and comments regarding the changes send an email to
% Michael Sprinzl <michael(dot)sprinzl(at)student(dot)tuwien(dot)ac(dot)at>
%
% Note: replace (dot) with . and (at) with @ to get a valid email address!
\newcommand{\thesisaddress}[1]{\xdef\tuinfthesisaddress{#1}}
\newcommand{\thesiszipcode}[1]{\xdef\tuinfthesiszipcode{#1}}
\newcommand{\thesiscity}[1]{\xdef\tuinfthesiscity{#1}}
\newcommand{\thesisbetreuung}[1]{\xdef\tuinfthesisbetreuung{#1}}
\newcommand{\thesisbetreins}[1]{\xdef\tuinfthesisbetreins{#1}}
\newcommand{\thesisbetrzwei}[1]{\xdef\tuinfthesisbetrzwei{#1}}
\endinput
%%% Local Variables:
%%% mode: latex
%%% End: