Newer
Older
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
\documentclass[11pt,a4paper,ngerman]{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={<Titel>},pdfauthor={<Name>}, colorlinks=true, linktocpage]{hyperref}
% colorlinks=false, pdfborder={0 0 0} = keine farbigen Links
%
% Header and Footer Style
\pagestyle{fancy}
\fancyhead{}
\fancyhead[R]{\slshape <Name>}
\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\small\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]
Two-Phase-Commit}
\author{Michael Kmoch, Yuri Lewash\\
{\normalsize Matrikelnummer: 4289388, 4293181 }\\
{\normalsize \mailto{michael.kmoch@inf.fu-berlin.de}, \mailto{yuri.lewash@inf.fu-berlin.de}}\\\\
{\normalsize Betreuer: Simon Schmidt}\\
{\normalsize Eingereicht bei: Katinka Wolter}}
\date{Berlin, 23.07.2015}
\begin{document}
\begin{titlepage}
\pagenumbering{alph}
\maketitle
\thispagestyle{empty}
\vfill{}
\begin{abstract}
Abstract
\end{abstract}
\vfill{}
\end{titlepage}
\pagestyle{empty}
\clearpage\pagenumbering{roman}
\tableofcontents
\clearpage\pagenumbering{arabic}
\pagestyle{fancy}
\setcounter{page}{1}
\include{1_introduction}
\include{2_fundamentals}
\include{3_main}
\include{4_conclusion}
\include{5_appendix}
\bibliographystyle{alpha}
\bibliography{bibliography}
\end{document}