%%%%%%% This template has been used and modified by
%%%%%%% Sanna Suoranta, Pekka Kanerva, Lauri Karppinen, Linda Staffans,
%%%%%%% Laura Takkinen, Jukka Larja, Samuli Sorvakko and 
%%%%%%% numerous unknown authors

%%%%%%%%%%     PREAMBLE + DOC SETTINGS ENDS      %%%%%%%%%%%%%%%%%%%


%% PREAMBLE FOR DRAFTING (saves some space):
%
%\documentclass[a4paper,11pt]{book}
% \usepackage{times}
% \usepackage[T1]{fontenc}
%% \usepackage{epsfig}

%%  \setlength{\parindent}{0mm} % Do not indent the 1st line of a paragraph.
%%  \setlength{\parskip}{3mm}   % Add space between paragraphs.


%% % The default margins are 4 cm (now 2)

%%  \addtolength{\topmargin}{-11mm}    
%%  \addtolength{\textheight}{22mm}    
%%  \addtolength{\oddsidemargin}{-20mm}
%%  \addtolength{\evensidemargin}{-20mm} 
%%  \addtolength{\textwidth}{50mm}     
%%
%% \begin{document}
%%
%% \pagenumbering{roman}
%% \pagestyle{empty}
%% \tableofcontents
%% \listoffigures
%% \pagenumbering{arabic}
%% \pagestyle{plain}
%%

%% OR PREAMBLE FOR THE FINAL VERSION:
%%

\documentclass[12pt,a4paper,oneside,mydraft]{report}
%\documentclass[12pt,a4paper,oneside]{report}
% change above when ready!
\usepackage{t1enc}
\usepackage{alltt}
\usepackage{epsfig}
\usepackage[english, finnish, swedish]{babel}
\usepackage{url}
\usepackage{multirow}
\usepackage{eurosym} % To get a euro sign: \euro{}
\usepackage{verbatim}
\usepackage{fancyvrb}
\usepackage{supertabular}
\usepackage{longtable}
% Makes references and TOC clickable in PDF
\usepackage[colorlinks=false,breaklinks=true,raiselinks=false,pdfborder=0 0 0]{hyperref}

\parskip 1ex
\parindent 0pt

%All the words with special hyphenation:
\hyphenation{di-gi-taa-li-sta yksi-suun-tai-sta}


% From Samwise, edited by JLarja. Fixme can be used to wrote something that should be fixed later. 
% It is better than just writing something to comments, since it is shown in the output file. If 
% mydraft is declared (in documentclass), text will be shown bold between two FIXMEs. If not, text 
% will be shown normally.
\newcommand{\fixme}[1]{#1}
\DeclareOption{mydraft}{\renewcommand{\fixme}[1]{\begin{bf}!FIXME #1 FIXME!\end{bf}}}
\ProcessOptions

% Original DeclareOption line from Samwise
% \DeclareOption{mydraft}{\renewcommand{\fixme}[1]{\begin{quote}{\bf !FIXME} #1 {\bf FIXME!}\end{quote}}}

% A better version of \DRAFT command. Improvements inspired by Samwise's \fixme
\newcommand{\DRAFT}{}
\DeclareOption{mydraft}{\renewcommand{\DRAFT}{\begin{center} {\it DRAFT! \hfill --- \hfill DRAFT!\hfill \today \hfill DRAFT! \hfill --- \hfill DRAFT!}\end{center}}}
\ProcessOptions

% Command



\begin{document}
\evensidemargin 19mm
\oddsidemargin 19mm
\textwidth 155mm

%%%%%%%%%%     PREAMBLE + DOC SETTINGS ENDS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% By default, only up to 3rd level headers are numbered (e.g. 1.2.2.)
%\setcounter{secnumdepth}{4} % what headers are numbered
%\setcounter{tocdepth}{4} %what headers are put in the TOC


% -------------- COVER PAGE --------------

\newcommand{\TITLE}{Software Processes for Dummies:}
\newcommand{\SUBTITLE}{Re-inventing Wheel in Agile Organizations}
\newcommand{\DATE}{June 18, 2008}
\newcommand{\FDATE}{18. kes�kuuta 2008}
\newcommand{\SDATE}{Den 18 Juni 2008}
% Update the number of predule pages (in this example 9 pages)
\newcommand{\PAGES}{9 $+$ \pageref{pages-text}}
\newcommand{\SUPERVISOR}{Professor Antti Yl�-J��ski}
\newcommand{\INSTRUCTOR}{Olli Ohjaaja M.Sc. (Tech.)}
\newcommand{\FSUPERVISOR}{Professori Antti Yl�-J��ski}
\newcommand{\FINSTRUCTOR}{Diplomi-insin��ri Olli Ohjaaja}
\newcommand{\SSUPERVISOR}{Professor Antti Yl�-J��ski}
\newcommand{\SINSTRUCTOR}{Diplomingenj�r Olli Ohjaaja}
\newcommand{\AUTHOR}{Stella Student}

% Comment out this \DRAFT macro if this version no longer is one!
%\newcommand{\DRAFT}{\begin{center} {\it DRAFT! \hfill --- \hfill DRAFT!
%\hfill --- \hfill DRAFT! \hfill --- \hfill DRAFT!}\end{center}}

% You can use the \concept - command for your concepts, and
% define its layout here
%\newcommand{\concept}{\bf}

%  Use this \DRAFT macro in the final version - or comment out the 
%  draft-command
%\newcommand{\DRAFT}{~}
%\thispagestyle{empty}
%\DRAFT

{\small
Aalto University \\
School of Science and Technology \\
Faculty of Information and Natural Sciences \\
Degree programme of Computer Science and Engineering \\
}

\vskip 20mm
{\small \AUTHOR}
\vskip 10mm
{\LARGE \textbf{\TITLE} \\ \textbf{\SUBTITLE}}
\vskip 85mm
{\small 
Master's Thesis \\
Espoo, \DATE 

\fixme{Printing date: \today}\\
}
\vfill
{\small
Supervisor:\hskip 10mm \SUPERVISOR, Helsinki University of Technology \\
Instructor:\hskip 10mm \INSTRUCTOR, Some Finnish Company \\
}

% -------------- ABSTRACTS --------------
%% Include an abstract in the language that the thesis is written in,
%% and if your native language is Finnish or Swedish, one in that language.

\pagenumbering{roman}
\selectlanguage{english}
\strut

%% ENGLISH ABSTRACT

%\addcontentsline{toc}{chapter}{Abstract}

\makebox[80mm][l]{Aalto University}\makebox[65mm][r]{\includegraphics[width=60mm]{aalto-logo-eng.png}}\\
\makebox[80mm][l]{School of Science and Technology}\makebox[65mm][r]{ABSTRACT OF}\\
\makebox[80mm][l]{Faculty of Information and Natural
Sciences}\makebox[65mm][r]{MASTER'S THESIS}\\
\makebox[80mm][l]{Degree Programme of Computer Science and Engineering}

\vskip 1mm
\begin{tabular}{|l|}
\hline

\makebox[30mm][l]{\bf Author:} \AUTHOR \\
\makebox[30mm][l]{\bf Title of thesis:} \\
\makebox[140mm][l]{\TITLE \SUBTITLE} \\

\\
\hline
\makebox[92mm][l]{\makebox[30mm][l]{\bf Date: } \DATE}{\bf Pages:}~{\PAGES} \\

\hline
\makebox[92mm][l]{\makebox[30mm][l]{\bf Professorship:}
{Data Communications Software}} {\bf Code:}~{T-110} \\

\hline
\makebox[30mm][l]{\bf Supervisor:} \SUPERVISOR \\
\makebox[30mm][l]{\bf Instructor(s):} \INSTRUCTOR \\

\\
\hline
\parbox[t]{132mm}{
\parskip 1ex
\vskip-1ex

\fixme{Abstract text goes here (and this is an example how to use fixme) }

The beginning of the table will be on top of the page when the abstract has a page of text.

\vskip 10mm
}

\\
\hline
\parbox[t]{118mm}{
\makebox[30mm][l]{\bf Keywords:} \makebox[85mm][l]{keywords...} \\
\makebox[30mm][l]{} \makebox[88mm][l]{.. more words ...} \\
\makebox[30mm][l]{\bf Language:} English
\vspace{1mm}
} 
\\
\hline
\end{tabular}

%% SWEDISH ABSTRACT
\newpage
\selectlanguage{swedish}

%\addcontentsline{toc}{chapter}{Sammandrag}
\makebox[80mm][l]{Aalto-universitetet}\makebox[65mm][r]{\includegraphics[width=60mm]{aalto-logo-sve.png}}\\
\makebox[80mm][l]{Tekniska h�gskulan}\makebox[65mm][r]{SAMMANDRAG AV}\\
\makebox[80mm][l]{Fakulteten f�r informations- och
naturvetenskaper}\makebox[65mm][r]{DIPLOMARBETET}\\
\makebox[80mm][l]{Utbildningsprogrammet f�r datateknik}

\vskip 1mm
\begin{tabular}{|l|}
\hline

\makebox[30mm][l]{\bf Utf�rt av:} \AUTHOR \\
\makebox[30mm][l]{\bf Arbetets namn:} \\
\makebox[140mm][l]{\TITLE \SUBTITLE} \\

\\
\hline
\makebox[92mm][l]{\makebox[30mm][l]{\bf Datum: } \SDATE} {\bf Sidantal:}~{\PAGES} \\

\hline
\makebox[92mm][l]{\makebox[30mm][l]{\bf Professur:}
{Datakommunikationsprogram}} {\bf Kod:}~{T-110} \\

\hline
\makebox[30mm][l]{\bf �vervakare:} \SSUPERVISOR \\
\makebox[30mm][l]{\bf Handledare:} \SINSTRUCTOR \\

\\
\hline
\parbox[t]{132mm}{
\parskip 1ex
\vskip-1ex


� s� ett abstrakt hit

\vskip 10mm
}

\\
\hline
\parbox[t]{118mm}{
\makebox[30mm][l]{\bf Nyckelord:} \makebox[85mm][l]{nyckelord...} \\
\makebox[30mm][l]{} \makebox[88mm][l]{.. � lite mera ...}\\
\makebox[30mm][l]{\bf Spr�k:} Engelska
\vspace{1mm}
} 
\\
\hline
\end{tabular}

%%FINNISH ABSTRACT
\newpage
\selectlanguage{finnish}

%\addcontentsline{toc}{chapter}{Tiivistelm�}
\makebox[80mm][l]{Aalto-yliopisto}\makebox[65mm][r]{\includegraphics[width=60mm]{aalto-logo.png}}\\
\makebox[80mm][l]{Teknillinen korkeakoulu}\makebox[65mm][r]{DIPLOMITY�N}\\
\makebox[80mm][l]{Informaatio- ja luonnontieteiden
tiedekunta}\makebox[65mm][r]{TIIVISTELM�} \\
\makebox[80mm][l]{Tietotekniikan koulutusohjelma}
 
\vskip 1mm
\begin{tabular}{|l|}
\hline

\makebox[30mm][l]{\bf Tekij�:} \AUTHOR \\
\makebox[30mm][l]{\bf Ty�n nimi:} \\
\makebox[140mm][l]{\TITLE \SUBTITLE} \\

\\
\hline
\makebox[92mm][l]{\makebox[30mm][l]{\bf P�iv�ys: } \FDATE} {\bf
Sivum��r�:}~{\PAGES} \\

\hline
\makebox[92mm][l]{\makebox[30mm][l]{\bf Professuuri:}
{Tietoliikenneohjelmistot}} {\bf Koodi:}~{T-110} \\

\hline
\makebox[30mm][l]{\bf Ty�n valvoja:} \FSUPERVISOR \\
\makebox[30mm][l]{\bf Ty�n ohjaaja:} \FINSTRUCTOR \\

\\
\hline
\parbox[t]{132mm}{
\parskip 1ex
\vskip-1ex

Tiivistelm�teksti� t�h�n

\vskip 10mm
}

\\
\hline
\parbox[t]{118mm}{
\makebox[30mm][l]{\bf Avainsanat:} \makebox[85mm][l]{... sanoja ...} \\
\makebox[30mm][l]{} \makebox[88mm][l]{... sanat jatkuu...}\\
\makebox[30mm][l]{\bf Kieli:} englanti
\vspace{1mm}
} 
\\
\hline
\end{tabular}

\newpage
\selectlanguage{english}

% Move the text somewhat more right on the page (I hope).
%\reversemarginpar
%\addtolength\oddsidemargin {35pt}

% -------------- ACKNOWLEDGEMENTS & TOC --------------

%\addcontentsline{toc}{chapter}{Acknowledgements}

%% The star means that the chapter isn't numbered and does not 
%% show up in the TOC
\chapter*{Acknowledgements}

Some thank yous

\vskip 10mm
Espoo June 18th 2008
\vskip 15mm
Stella Student

\newpage

\input{acronyms}

\clearpage

\tableofcontents
\listoftables
\listoffigures
\cleardoublepage

%%%%%%%%%%%%%% The main content starts here %%%%%%%%%%%%%%%%%

\parskip1ex
\parindent0mm

\pagenumbering{arabic}
\pagestyle{headings}

%% I don't think you need this command.
%\newcommand{\XXX}[1]{\fbox{\textbf{Tarvitaan: #1}}}

\input{samplechapter}

% \input{1introduction}

% \input{2background}

% \input{3ipdc}

% \input{4constraints_and_requirements}
 
% \input{5evaluation}

% \input{55architecture}
 
% \input{6future}
 
% \input{7conclusions}

%% I used the acm-bibliography style. There are others. 
%% Lauri made the final bibliography manually to make sure it
%% looked nice. Check and correct your .bib-file before you turn in
%% your work!

\bibliographystyle{acm}

%% You can use several .bib files:
%% \bibliography{thesis_sources,ietf_sources}

\bibliography{sources}

% \appendix
% \input{appendices}

% Following label is used for page count
\label{pages-text}
\end{document}



