Newer
Older
%\documentclass[11pt,a4paper,ngerman]{article}
\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage{ae}
%
\usepackage{fancyref}
\usepackage{fancyhdr}
\usepackage{xcolor}
\usepackage{url}
\usepackage{makeidx}
\usepackage{listings}
%
% PDF settings
\usepackage[pdftex]{graphicx}
\usepackage[pdfstartview=FitH,pdftitle={Distributed Commit},pdfauthor={Kmoch; Lewash}, colorlinks=true, linktocpage]{hyperref}
% colorlinks=false, pdfborder={0 0 0} = keine farbigen Links
%
% Header and Footer Style
\pagestyle{fancy}
\fancyhead{}
\fancyhead[L]{\slshape\nouppercase{\rightmark}}
\fancyfoot{}
\fancyfoot[C]{\thepage}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
%
% No identation
\setlength\headheight{15pt}
\setlength\parindent{0pt}
%
% Custom commands
\newcommand\zb{z.\,B.\ }
\renewcommand\dh{d.\,h.\ }
\newcommand\parbig{\par\bigskip}
\newcommand\parmed{\par\medskip}
\newcommand{\mailto}[1]{\href{mailto:#1}{#1}}
%
% Java Code Listing Style
\definecolor{darkblue}{rgb}{0,0,.6}
\definecolor{darkgreen}{rgb}{0,0.5,0}
\definecolor{darkred}{rgb}{0.5,0,0}
\lstset{language=Java, basicstyle=\ttfamily\tiny\upshape, commentstyle=\color{darkgreen}\sffamily, keywordstyle=\color{darkblue}\rmfamily\bfseries, breaklines=true,tabsize=2,xleftmargin=3mm, xrightmargin=3mm,numbers=none,frame=single,stringstyle=\color{darkred},
showstringspaces=false}
%
% Titel and author
\title{\includegraphics[width=0.6\textwidth]{pictures/logo}\\
{\normalsize Seminararbeit am Institut fr Informatik der Freien Universitt Berlin, Arbeitsgruppe Technische Informatik}\\[6ex]
\author{Michael Kmoch, Yuri Lewash\\
{\normalsize Matrikelnummer: 4289388, 4293181 }\\
{\normalsize \mailto{michael.kmoch@inf.fu-berlin.de}, \mailto{yuri.lewash@inf.fu-berlin.de}}\\\\
\begin{document}
\begin{titlepage}
\pagenumbering{alph}
\maketitle
\thispagestyle{empty}
\vfill{}
\begin{abstract}
In distributed systems a commit is needed to make changes in the network
permanent and visible to other participants.
The two-phase commit protocol includes a voting phase and a decision
phase to coordinate processes participating in a atomic transaction. We
implement a variant of this protocol for the FUCoins system.
\end{abstract}
\vfill{}
\end{titlepage}
\pagestyle{empty}
\clearpage\pagenumbering{roman}
\tableofcontents
\clearpage\pagenumbering{arabic}
\pagestyle{fancy}
\setcounter{page}{1}
\include{1_introduction}
\include{2_actioninvokesentmoney}
\include{3_actioninvokedistributedcommitedtransfer}
\include{4_actionpreparedistributedcommitedtransfer}
\include{5_actionpreparedistributedcommitedtransferanswer}
\include{6_actioncommitdistributedcommitedtransfer}
\include{7_actionupdatequeue}
%\bibliographystyle{alpha}
%\bibliography{bibliography}