-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.tex
116 lines (103 loc) · 4.34 KB
/
settings.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
%!TEX root = dokumentation.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% SETTINGS
%
% Here you can set all relevant settings
% i.e. author, formatting, etc.
%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Language %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% At the moment english and german are supported.
%% Not only the text generated by the document class will be in the
%% specified language, but also other aspects, like quotation marks
%% and date formats.
\setthesislanguage{de} % oder en
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Information %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Most of the information is used for the title page. Some of it is also
%% used in the header of the document.
\setstudentid{1234510}
\setthesistitle{In der Regel haben wir einen zweizeiligen Titel}
\setcourse{ABC2008DE}
\setsubmissiondate{August 2011}
\setcompany{Firma GmbH}
\setcompanylocation{Firmenort}
\setsubmissionlocation{Abgabeort}
\setdegree{Bachelor of Science}
\setcoursesofstudies{Cyber Security}
\setdhbwcity{Mannheim}
\setsupervisor{Dipl.-Ing.~(FH) Peter Pan}
\setreviewer{Dr.\ Silvana Koch-Mehrin}
\settimeperiod{12 Wochen}
\setthesistype{Projektarbeit}
\setthesisauthor{Vorname Nachname}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\ladeliteratur}{%
\addbibresource{bibliographie.bib}
%\addbibresource{another-file.bib}
}
%% Citation style
%% see: http://mirrors.ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf (3.3.1 Citation Styles)
%% possible values i.e. numeric-comp, alphabetic, authoryear
\setcitationstyle{numeric-comp}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Layout %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% different fonts
% according to nag warning: palatino obsolete, use mathpazo, helvet (option scaled=.95), courier instead
\setthesisfont{lmodern} % palatino or goudysans, lmodern, libertine
%% package to rotate content
%\usepackage{rotating}
%% package to change the page layout to landscape
%\usepackage{lscape}
%% page margins
\setsidemargin{2.5cm}
%% distance of chapter title to top of the page
\setchapterspacing{20pt}
%% column spacing
\setcolumnspacing{10pt}
%% line spacing within a table
\setlinespacing{1.5}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Miscellaneous %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% color setting (in HTML notation)
\newcommand{\loadcolor}{%
\definecolor{LinkColor}{HTML}{00007A}
\definecolor{ListingBackground}{HTML}{FCF7DE}
}
%% math packages
%\usepackage{amsmath}
%\usepackage{amssymb}
%% programming language highlighting (listings)
\newcommand{\listingsettings}{%
\lstset{%
language=Java, % standard programming language
numbers=left, % line numbers left
stepnumber=1, % number every line
numbersep=5pt, % 5pt space to sourcecode
numberstyle=\tiny, % font size tiny for numbers
breaklines=true, % break long lines automatically
breakautoindent=true, % break lines after autoindent
postbreak=\space, % break lines after space
tabsize=2, % tabulator size 2
basicstyle=\ttfamily\footnotesize, % non-proportional font, small for sourcecode
showspaces=false, % do not show spaces
showstringspaces=false, % do not show spaces in strings
extendedchars=true, % display all characters from latin1
captionpos=b, % sets the caption-position to bottom
backgroundcolor=\color{ListingBackground}, % background color of sourcecode
xleftmargin=0pt, % edge left
xrightmargin=0pt, % edge right
frame=single, % single frame around the sourcecode
frameround=ffff,
rulecolor=\color{darkgray}, % frame color
fillcolor=\color{ListingBackground},
keywordstyle=\color[rgb]{0.133,0.133,0.6},
commentstyle=\color[rgb]{0.133,0.545,0.133},
stringstyle=\color[rgb]{0.627,0.126,0.941}
}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% individual %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% here you can add your own additions to the preamble (i.e. own packages, settings)