-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTUINFDA.sty
More file actions
162 lines (143 loc) · 5.53 KB
/
TUINFDA.sty
File metadata and controls
162 lines (143 loc) · 5.53 KB
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
% $Id: TUINFDA.sty 1752 2010-03-20 11:07:02Z tkren $
%
% TU Wien - Faculty of Informatics
% settings for TUINF thesis
%
% 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} % \centerdot
% load english and ngerman
\usepackage[utf8]{inputenc}
\usepackage[ngerman,english]{babel}
% search for graphics in ./figures
\usepackage{graphicx}
\graphicspath{{figures/titlepage/}}
% TikZ ist kein Zeichenprogramm
\usepackage{tikz}
% we need a recent 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}{16cm}
%the next 2 lines only work with recent versions of memoir
%\makerunningwidth{tuinftitlepage}[\tuinf@footwidth]{\tuinf@headwidth}
%\makefootrule{tuinftitlepage}{\tuinf@footwidth}{0.5pt}{1mm}
\makerunningwidth{tuinftitlepage}{\tuinf@headwidth}
% font sizes for the titlepage
\newcommand{\thesistitlefontHUGE}{\fontsize{30}{34}\selectfont}
\newcommand{\thesistitlefonthuge}{\fontsize{20}{23}\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\tuinfthesissubtitle{}
\gdef\tuinfthesisdate{\today}
\gdef\tuinfthesistype{DIPLOMARBEIT}
\gdef\tuinfthesisdegree{Diplom-Ingenieur/in}
\gdef\tuinfthesiscurriculum{Wirtschaftsinformatik}
\gdef\tuinfthesistypeen{MASTER'S THESIS}
\gdef\tuinfthesisdegreeen{Master of Science}
\gdef\tuinfthesiscurriculumen{Business Informatics}
\gdef\tuinfthesisverfassung{Verfasser/in}
\gdef\tuinfthesisauthor{Martina Muster}
\gdef\tuinfthesisauthoraddress{Musterplatz 1, 1111 Wien}
\gdef\tuinfthesismatrikelno{0123456}
\gdef\tuinfthesisbetreuung{Betreuung}
\gdef\tuinfthesisbetreins{Titel~Dr.~Vorname Familienname}
\gdef\tuinfthesisbetrzwei{Dr.~Vorname Familienname}
\gdef\tuinfthesisbetrdrei{}
\newcommand{\thesistitle}[1]{\xdef\tuinfthesistitle{#1}}
\newcommand{\thesissubtitle}[1]{\xdef\tuinfthesissubtitle{#1}}
\newcommand{\thesisdate}[1]{\xdef\tuinfthesisdate{#1}}
\newcommand{\thesistype}[2]{\xdef\tuinfthesistype{#1} \xdef\tuinfthesistypeen{#2}}
\newcommand{\thesisdegree}[2]{\xdef\tuinfthesisdegree{#1} \xdef\tuinfthesisdegreeen{#2}}
\newcommand{\thesiscurriculum}[2]{\xdef\tuinfthesiscurriculum{#1} \xdef\tuinfthesiscurriculumen{#2}}
\newcommand{\thesisverfassung}[1]{\xdef\tuinfthesisverfassung{#1}}
\newcommand{\thesisauthor}[1]{\xdef\tuinfthesisauthor{#1}}
\newcommand{\thesisauthoraddress}[1]{\xdef\tuinfthesisauthoraddress{#1}}
\newcommand{\thesismatrikelno}[1]{\xdef\tuinfthesismatrikelno{#1}}
\newcommand{\thesisbetreuung}[1]{\xdef\tuinfthesisbetreuung{#1}}
\newcommand{\thesisbetreins}[1]{\xdef\tuinfthesisbetreins{#1}}
\newcommand{\thesisbetrzwei}[1]{\xdef\tuinfthesisbetrzwei{#1}}
\newcommand{\thesisbetrdrei}[1]{\xdef\tuinfthesisbetrdrei{#1}}
\endinput
%%% Local Variables:
%%% mode: latex
%%% End: