Эх сурвалжийг харах

Applied UVA style to thesis.

Taddeus Kroes 13 жил өмнө
parent
commit
e637614a2e

+ 10 - 1
docs/report.bib

@@ -1,4 +1,4 @@
-@inproceedings{TUIO_KBBC05,
+@inproceedings{TUIO,
     author = {Kaltenbrunner, Martin and Bovermann, Till and Bencina, Ross and
               Costanza, Enrico},
     title = {TUIO - A Protocol for Table Based Tangible User Interfaces},
@@ -14,3 +14,12 @@
     title = {TUIO specification},
     howpublished = {\url{http://tuio.org/?specification}}
 }
+
+@book{VTK,
+  author = {Will Schroeder and Ken Martin},
+  title = {The Visualization Toolkit: An Object-Oriented Approach to 3-D Graphics (2nd Edition)},
+  publisher = {Prentice Hall},
+  year = {1997},
+  isbn = {0139546944},
+  url = {http://www.amazon.com/The-Visualization-Toolkit-Object-Oriented-Approach/dp/0139546944%3FSubscriptionId%3D0JYN1NVW651KCA56C102%26tag%3Dtechkie-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0139546944}
+}

+ 34 - 43
docs/report.tex

@@ -1,41 +1,34 @@
-\documentclass[a4paper]{article}
+\documentclass[twoside,openright]{uva-bachelor-thesis}
 
 \usepackage[english]{babel}
 \usepackage[utf8]{inputenc}
-\usepackage[usenames,dvipsnames]{xcolor}
-\usepackage{amsmath,hyperref,graphicx,booktabs,float}
+\usepackage{hyperref,graphicx,float}
 
 % Link colors
-\hypersetup{colorlinks=true,linkcolor=black,urlcolor=blue,citecolor=OliveGreen}
-
-\title{Bachelor thesis\\Universal multi-touch event mechanism}
-\author{\begin{tabular}{ll}
-Name:           & Taddeüs Kroes\\
-Student number: & 6054129\\
-E-mail address: & \texttt{taddeus.kroes@student.uva.nl}\\
-Address:        & Wethouder van Wijckstraat 40, 1107 BR Amsterdam\\
-Phone number:   & 06-23437025\\
-Supervisor:     & Dr. R.G. Belleman (UvA)\\
-\end{tabular}}
+%\hypersetup{colorlinks=true,linkcolor=black,urlcolor=blue,citecolor=OliveGreen}
+
+% Title Page
+\title{Universal multi-touch event mechanism}
+\author{Taddeüs Kroes}
+\supervisors{Dr. Robert G. Belleman (UvA)}
+\signedby{Dr. Robert G. Belleman (UvA)}
 
 \begin{document}
 
 % Title page
 \maketitle
-\abstract{
+\begin{abstract}
     % TODO
-}
+\end{abstract}
 
 % Set paragraph indentation
 \parindent 0pt
 \parskip 1.5ex plus 0.5ex minus 0.2ex
 
 % Table of contant on separate page
-\pagebreak
 \tableofcontents
-\pagebreak
 
-\section{Introduction}
+\chapter{Introduction}
 
 % Ruwe probleemstelling
 Multi-touch interaction is becoming increasingly common, mostly due to the wide
@@ -48,10 +41,9 @@ these frameworks have no access to their multi-touch events.
 
 % Aanleiding
 This problem was observed during an attempt to create a multi-touch
-``interactor'' class for the Visualization Toolkit
-(VTK\footnote{\url{http://www.vtk.org/}}). Because VTK provides the application
-framework here, it is undesirable to use an entire framework like Qt
-simultaneously only for its multi-touch support.
+``interactor'' class for the Visualization Toolkit (VTK \cite{VTK}). Because
+VTK provides the application framework here, it is undesirable to use an entire
+framework like Qt simultaneously only for its multi-touch support.
 
 % Ruw doel
 The goal of this project is to define a universal multi-touch event triggering
@@ -61,8 +53,8 @@ Python.
 % Setting
 To test multi-touch interaction properly, a multi-touch device is required.
 The University of Amsterdam (UvA) has provided access to a multi-touch table
-from PQlabs. The table uses the TUIO
-protocol\footnote{\url{http://www.tuio.org/}} to communicate touch events.
+from PQlabs. The table uses the TUIO protocol \cite{TUIO} to communicate touch
+events.
 
 % Afbakening
 % TODO: moet dit omlaag naar 'Definition of the problem'?
@@ -73,11 +65,11 @@ be added to any implementation. The reference implementation is a Proof of
 Concept that translates TUIO events to some simple touch gestures that are used
 by a VTK interactor.
 
-    \subsection{Structure of this document}
+    \section{Structure of this document}
 
     % TODO
 
-\section{Definition of the problem}
+\chapter{Definition of the problem}
 
 % Hoofdvraag
 The goal of this thesis is to create a multi-touch event triggering mechanism
@@ -101,11 +93,11 @@ To design such a mechanism properly, the following questions are relevant:
         detection could swallow up more processing resources than desired.
 \end{itemize}
 
-\section{Related work}
+\chapter{Related work}
 
 % TODO
 
-\section{Methods}
+\chapter{Methods}
 
 % TODO
 
@@ -113,11 +105,10 @@ To design such a mechanism properly, the following questions are relevant:
 
         \subsubsection{The TUIO protocol}
 
-        The TUIO protocol \cite{TUIO_KBBC05} defines a way to geometrically
-        describe tangible objects, such as fingers or fiducials on a
-        multi-touch table. The table used for this thesis uses the protocol in
-        its driver. Object information is sent to the TUIO UDP port (3333 by
-        default).
+        The TUIO protocol \cite{TUIO} defines a way to geometrically describe
+        tangible objects, such as fingers or fiducials on a multi-touch table.
+        The table used for this thesis uses the protocol in its driver. Object
+        information is sent to the TUIO UDP port (3333 by default).
 
         For efficiency reasons, the TUIO protocol is encoded using the Open
         Sound Control
@@ -186,49 +177,49 @@ To design such a mechanism properly, the following questions are relevant:
 % Results
 % -------
 
-\section{Server structure}
+\chapter{Server structure}
 
 % TODO: link naar appendix met schema
 
-    \subsection{Input server}
+    \section{Input server}
 
     % TODO
     % vertaling driver naar point down, move, up
     % TUIO in reference implementation
 
-    \subsection{Gesture server}
+    \section{Gesture server}
 
-        \subsubsection{Windows}
+        \subsection{Windows}
 
         % TODO
         % toewijzen even aan deel v/h scherm:
         % TUIO coördinaten zijn over het hele scherm en van 0.0 tot 1.0, dus moeten
         % worden vertaald naar pixelcoördinaten binnen een ``window''
 
-        \subsubsection{Trackers}
+        \subsection{Trackers}
 
         % TODO
         % event binding/triggering
         % extendability
 
-\section{Reference implementation}
+\chapter{Reference implementation}
 
 % TODO
 % draw.py
 % VTK interactor
 
-\section{Conclusions}
+\chapter{Conclusions}
 
 % TODO
 % Windows zijn een manier om globale events toe te wijzen aan vensters
 % Trackers zijn een effectieve manier om gebaren te detecteren
 % Trackers zijn uitbreidbaar door object-orientatie
 
-\section{Suggestions for future work}
+\chapter{Suggestions for future work}
 
 % TODO: Network protocol (ZeroMQ)
 
-\section{References}
+\chapter{References}
 
 \bibliography{report}{}
 \bibliographystyle{plain}

+ 2 - 2
docs/rules.mk

@@ -12,5 +12,5 @@ $(b)%.pdf: $(d)%.tex
 
 $(b)$(REPORT).bbl: $(d)$(REPORT).bib
 	BIBINPUTS=$(d) bibtex8 ${@:.bbl=.aux}
-	pdflatex $(PDFLATEX_FLAGS) $(d)$(REPORT).tex
-	pdflatex $(PDFLATEX_FLAGS) $(d)$(REPORT).tex
+	TEXINPUTS=$(d): pdflatex $(PDFLATEX_FLAGS) $(d)$(REPORT).tex
+	TEXINPUTS=$(d): pdflatex $(PDFLATEX_FLAGS) $(d)$(REPORT).tex

+ 70 - 0
docs/uva-bachelor-thesis.cls

@@ -0,0 +1,70 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{uva-bachelor-thesis}[2005/06/10 Version 0.1 Rein van den Boomgaard]
+\RequirePackage{graphicx}
+
+
+\def\supervisors#1{\gdef\@supervisors{#1}}
+\def\signedby#1{\gdef\@signedby{#1}}
+
+
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{report}}
+\ProcessOptions
+\LoadClass[10pt,twoside]{report}
+
+%\usepackage[a4paper,scale={0.7,0.8}]{geometry}
+\usepackage[a4paper,scale={0.7,0.8},twoside]{geometry}
+
+\usepackage[sf]{titlesec}
+\titleformat{\chapter}[display]
+%{\cleardoublepage\sffamily\raggedleft
+{\sffamily\raggedleft
+\titlerule\vspace{1pc}}
+{\vspace{1ex}\Large \MakeUppercase{\chaptertitlename}\ \thechapter}
+{3ex}
+{\Huge}
+[\vspace{1pc}\titlerule]
+
+\usepackage[svgnames]{xcolor}
+\usepackage[absolute,overlay]{textpos}
+\usepackage{rotating}
+\renewcommand{\maketitle}{%
+	\thispagestyle{empty}
+	\hspace*{1em} 	% a fake element on the page (else texpos absolute option
+			% doesn't work)
+	\begin{textblock*}{10cm}(6cm,3cm)
+		\noindent\large\scshape Bachelor Informatica\\[2ex]
+		\includegraphics[height=1cm]{acroniemregel.pdf}
+		%\Large Universiteit van Amsterdam
+	\end{textblock*}
+	\begin{textblock*}{10cm}(6cm,12cm)
+		\noindent
+		\sffamily\Huge \@title
+	\end{textblock*}
+	\begin{textblock*}{10cm}(6cm,18cm)
+		\noindent
+		\sffamily\Large \@author\\[3pc]
+		\@date
+	\end{textblock*}
+	\begin{textblock*}{10cm}(6cm,26cm)
+		\noindent\sffamily
+		\begin{description}
+		\item[\sffamily Supervisor(s):] \@supervisors
+		\item[\sffamily Signed:] \@signedby
+		\end{description}
+	\end{textblock*}
+	\textblockcolor{LightGray}
+	\begin{textblock*}{2cm}(3.7cm,25cm)
+		\begin{rotate}{90}
+			\noindent\scshape\Huge\textcolor{Gray}{
+				Informatica --- Universiteit van Amsterdam}
+		\end{rotate}
+	\end{textblock*}
+	\begin{textblock*}{2cm}(3cm,2cm)
+		\vspace*{26cm}\hspace*{1em}
+	\end{textblock*}
+	\cleardoublepage
+}
+
+
+\endinput
+