-
Notifications
You must be signed in to change notification settings - Fork 2
/
zusammenfassung.tex
223 lines (209 loc) · 7.52 KB
/
zusammenfassung.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
% Zum Einbinden in die Zusammenfassungs-files
\usepackage{amsmath,amsthm,amsfonts,amssymb} % Verbesserter Mathesatz
\usepackage{algorithm2e}
% \usepackage{bigfoot} % komplexe Fußnotenapparate(Fußnoten in Fußnoten und andere Späße)%
\usepackage{colortbl}
\usepackage[T1]{fontenc} % normaler erweitere Zeichnesatz
\usepackage{framed, color} % Ramenpaket für zum Einfügen von schönen Ramen
\usepackage{graphicx}
\usepackage{hyperref} %used for link to creative commons license
\usepackage{listings} %for code-listings (inkl. Tab-Styling)
\usepackage{marvosym}
\usepackage{marginnote}
\usepackage[tikz]{mdframed} % nice boxes
\usepackage{microtype} % div. Verbesserungen des Schriftsatzes (Grauwert, opt. Randausgleich, Zeilenumbruch)
%\usepackage{multirow}
\usepackage{multicol} %use this with next line for vertical divided environment
%\setlength\columnseprule{.4pt}:465
\usepackage[ngerman]{babel} % Neue Rechtschreibung
\usepackage{pifont}
\usepackage[sans]{dsfont} %für alternative Mengensymbole
\usepackage{stmaryrd} %u.a. für \lightning
\usepackage{tikz} % für Diagramme(Dia!) und Bilder (z.B. *.eps)/für ER-Diagramme/für UML-Diagramme
%\usepackage{tikz-er2} % er-diagramme
\usepackage{tikz-uml} % uml-Diagramme
\usepackage{units} % z.B. fuer \nicefrac{}{}
\usepackage{upgreek} % für manche alternative griechische Zeichen
\usepackage[utf8]{inputenc} % utf8 für den Editor
\usepackage{wasysym} %u.a. für \lightning
\usepackage{xcolor}
\usetikzlibrary{shapes,decorations,arrows,fit,backgrounds} %Zum diversen zeichen%
%\usetikzlibrary{automata} % für den CFlipper, wenn es den soweit ist %
\usetikzlibrary{positioning} % positionierung
%\usetikzlibrary{shadows} % fuer schoene schlagschatten
\usetikzlibrary{automata} % für Automaten
%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Formatierung der Seite
%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{fancyhdr}
\pagestyle{fancy} % für den footer %
\renewcommand{\headrulewidth}{0pt} % damit oben kein dummer Strich kommt %
\fancyhead{}
\topmargin -2cm % Oberer Rand %
\textheight 25cm % Texthöhe %
\textwidth 16.0 cm % Textbreite %
\oddsidemargin -0.1cm % Warum? %
\newcommand{\Gruppe}[2]
{
\lfoot{#1}
\rfoot{#2}
}
\colorlet{shadecolor}{gray!25} % Farbe für graue Box definieren
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Farben die definiert werden zum schreiben und zeichnen %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\xdefinecolor{schwarz}{HTML}{000000}
\xdefinecolor{dunkelGruen}{HTML}{007D00}
\xdefinecolor{dunkelBlau}{HTML}{0000A0}
\xdefinecolor{dunkelRot}{HTML}{A00000}
\xdefinecolor{dunkelGelb}{HTML}{FFAA00}
\xdefinecolor{hellesGelb}{HTML}{FFCC00}
\colorlet{dGreen}{dunkelGruen}
\colorlet{dBlue}{dunkelBlau}
\colorlet{dRed}{dunkelRot}
\colorlet{dYellow}{dunkelGelb}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Farbliche Ausgaben:
%Parameter #1: Text oder Mathematische formel...
%z.B. : \gruen{Hallo Welt Test!}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\yellow}[1]{\textcolor{dYellow}{#1}}
\newcommand{\gray}[1]{\textcolor{gray}{#1}}
\newcommand{\red}[1]{\textcolor{red}{#1}}
\newcommand{\green}[1]{\textcolor{green}{#1}}
\newcommand{\blue}[1]{\textcolor{blue}{#1}}
\newcommand{\dGreen}[1]{\textcolor{dGreen}{#1}}
\newcommand{\dBlue}[1]{\textcolor{dBlue}{#1}}
\newcommand{\dRed}[1]{\textcolor{dRed}{#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Konfiguration für das darstellen von Quelltext
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\lstset
{
language=Java, % oder C++, Pascal, {[77]Fortran}, ...
numbers=left, % Position der Zeilennummerierung
firstnumber=auto, % Erste Zeilennummer
basicstyle=\ttfamily, % Textgröße des Standardtexts
keywordstyle=\ttfamily\color{dRot}, % Formattierung Schlüsselwörter
commentstyle=\ttfamily\color{dGruen}, % Formattierung Kommentar
stringstyle=\ttfamily\color{dBlau}, % Formattierung Strings
numberstyle=\tiny, % Textgröße der Zeilennummern
stepnumber=1, % Angezeigte Zeilennummern
numbersep=5pt, % Abstand zw. Zeilennummern und Code
aboveskip=15pt, % Abstand oberhalb des Codes
belowskip=11pt, % Abstand unterhalb des Codes
captionpos=b, % Position der Überschrift
xleftmargin=10pt, % Linke Einrückung
frame=single, % Rahmentyp
breaklines=true, % Umbruch langer Zeilen
showstringspaces=false, % Spezielles Zeichen für Leerzeichen
tabsize=2,
texcl=true
}
%%%%%%%%
% Kopf
%%%%%%%%
\newcommand{\Header}[3]
{
{\footnotesize \parindent0em
{\sc Universität Konstanz} \hfill #1 \\
{\sc Fachbereich Informatik \& Informationswissenschaft} \hfill #2 \\
#3 \hfill \today
}
}
%%%%%%%%%%%%%%%%%%%%%%%
% load some java code
% \loadJava{file}
%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\loadJava}[1]
{
\lstinputlisting[language=Java]{#1.java}
}
%%%%%%%%%%%%%%%%%%%%%%%
% load some cpp code
% \loadCpp{file.cpp}
%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\loadCpp}[1]
{
\lstinputlisting[language=C++]{#1}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% load some code
% \loadCode{Python}{file.py}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\loadCode}[2]
{
\lstinputlisting[language=#1]{#2}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Define a nice box for Definitions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newmdenv[%
roundcorner=5pt,
subtitlebelowline=false,subtitleaboveline=false,
subtitlebackgroundcolor=blue!30,
% backgroundcolor=blue!20,
frametitlerule=true,
frametitlebackgroundcolor=blue!30,
frametitle={Definition}
]{definition}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Define a nice box for missing content
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newmdenv[%
roundcorner=5pt,
subtitlebelowline=false,subtitleaboveline=false,
subtitlebackgroundcolor=red!70,
backgroundcolor=red!20,
frametitlerule=true,
frametitlebackgroundcolor=red!70,
frametitle={Missing Content}
]{missing}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% some symbols
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\correct}{\green{\text{\ding{52}}}} %for use in text and math
\newcommand{\wrong}{\red{\text{\ding{56}}}} %for use in text
\newcommand{\tflash}{$\yellow{\lightning}$} %for use in text
\newcommand{\mflash}{\yellow{\lightning}} %for use in math
\newcommand{\follows}{$\Rightarrow$} %used so often...
\newcommand{\good}{\item[\dGreen{\ding{58}}]} %an item with a green plus as bullet point
\newcommand{\bad}{\item[\red{\Emailct}]} %better icon for bad items
\newcommand{\note}[1]{\red{\marginnote{#1}}} %add a red margin note
\newcommand{\fitem}{\item[\follows]} %items with a follows arrow
\newcommand{\hm}{\ensuremath{\overset{-\mkern-11mu-\mkern-3.5mu\rhook}{\smash{\odot}\rule{0ex}{.46ex}}\underline{\hspace{0.5em}}\overset{-\mkern-11mu-\mkern-3.5mu\rhook}{\smash{\odot}\rule{0ex}{.46ex}}}}
%%%%%% make emph bold instead of italic %%%%%
\makeatletter
\DeclareRobustCommand{\em}{%
\@nomath\em \if b\expandafter\@car\f@series\@nil
\normalfont \else \bfseries \fi}
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% languages for \loadCode
%ABAP IDL Plasm
%ACSL inform POV
%Ada Java Prolog
%Algol JVMIS Promela
%Ant ksh Python
%Assembler Lisp R
%Awk Logo Reduce
%bash make Rexx
%Basic Mathematica1 RSL
%C Matlab Ruby
%C++ Mercury S
%Caml MetaPost SAS
%Clean Miranda Scilab
%Cobol Mizar sh
%Comal ML SHELXL
%csh Modula-2 Simula
%Delphi MuPAD SQL
%Eiffel NASTRAN tcl
%Elan Oberon-2 TeX
%erlang OCL VBScript
%Euphoria Octave Verilog
%Fortran Oz VHDL
%GCL Pascal VRML
%Gnuplot Perl XML
%Haskell PHP XSLT
%HTML PL/I
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%