-
Notifications
You must be signed in to change notification settings - Fork 0
/
dart.tex
125 lines (92 loc) · 2.06 KB
/
dart.tex
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
% Documentclass article will allow for adding sections
\documentclass{article}
\usepackage{verbatim}
% For including source code in tex
% See: http://www.theofel.de/archives/2004/10/source_code_in.html
\usepackage{listings}
% For bibliography
\usepackage{cite}
\bibliographystyle{plain}
% For colors
\usepackage{color}
% Define colors used for listings
\definecolor{dkgreen}{rgb}{0,0.6,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{mauve}{rgb}{0.58,0,0.82}
% Configuration for listings
\lstset{%
numbers=left,
frame=single,
basicstyle=\small,
numbers=left,
numberstyle=\tiny,
numbersep=15pt,tabsize=4,
flexiblecolumns=true,
keywordstyle=\color{blue},
commentstyle=\color{dkgreen},
stringstyle=\color{mauve},
numberstyle=\tiny\color{gray},
language=Java,
breaklines=true,
breakatwhitespace=true,
morekeywords={*,num,String,var,library,get,set} ,
}
% For graphics.
% Order of languages important!
\usepackage[ngerman,english]{babel}
\selectlanguage{english}
\usepackage{graphicx}
% For including external hyperlinks in tex
% See: http://en.wikibooks.org/wiki/LaTeX/Hyperlinks
\usepackage{hyperref}
\hypersetup{%
pdftitle={A brief introduction to Dart},
pdfauthor={David Stutz},
pdfkeywords={Dart},
bookmarksnumbered,
pdfstartview={FitH},
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black,
breaklinks=true,
}
\begin{document}
\title{Dart -- a brief introduction}
\author{David Stutz}
% Will automatically create an header depending on \title and \author arguments
\include{title}
\newpage
% Automatically create an table of contents of all sections, subsections etc.
\tableofcontents
% List of listings
\lstlistoflistings
% List of all figures
\listoffigures
\newpage
% Abstract
\input{abstract}
\newpage
% Introduction
\input{introduction}
\newpage
% Motiviation
\input{motivation}
\newpage
% Main part
\input{main}
\newpage
% Evaluation
\input{evaluation}
\newpage
% Related work
\input{related-work}
\newpage
% Conclusion
\input{conclusion}
\newpage
% References
\addcontentsline{toc}{section}{References}
\bibliography{dart}
\end{document}