-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmainDoc.tex
202 lines (142 loc) · 6.39 KB
/
mainDoc.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
% !TeX encoding = UTF-8
% !TeX spellcheck = de_DE
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Arsclassica Article
% LaTeX Template
% Version 1.1 (10/6/14)
%
% This template has been downloaded from:
% http://www.LaTeXTemplates.com
%
% Original author:
% Lorenzo Pantieri (http://www.lorenzopantieri.net) with extensive modifications by:
% Vel (vel@latextemplates.com)
%
% License:
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
\documentclass[
11pt, % Main document font size
a4paper, % Paper type, use 'letterpaper' for US Letter paper
oneside, % One page layout (no page indentation)
%twoside, % Two page layout (page indentation for binding and different headers)
pdfspacing, % Makes use of pdftex’ letter spacing capabilities via the microtype package
headinclude,
%footinclude, % Extra spacing for the header and footer
BCOR=5mm, % Binding correction
ngerman, %set document to German
bibliography=totoc,
abstract=on,
]{scrartcl}
%{scrartcl}
\input{structure.tex} % Include the structure.tex file which specified the document structure and layout
\hyphenation{Java-Script} % Specify custom hyphenation points in words with dashes where you would like hyphenation to occur, or alternatively, don't put any dashes in a word to stop hyphenation altogether
%----------------------------------------------------------------------------------------
% TITLE AND AUTHOR(S)
%----------------------------------------------------------------------------------------
\selectlanguage{ngerman}
\subtitle{ %\normalfont
{Seminararbeit im Fach Informatik \\
Kursnummer 1919 im WiSe 18/19
an der FernUniversität Hagen}}
\title{ %\normalfont
{Borrow - Inherit - Mix\\
Code-Wiederverwendung in JavaScript}} % The article title
\author{Felix Eckstein*} % The article author(s) - author affiliations need to be specified in the AUTHOR AFFILIATIONS block
%----------------------------------------------------------------------------------------
% AUTHOR AFFILIATIONS
%----------------------------------------------------------------------------------------
%\affil[*]{Student im Master of Science Informatik, FernUniversität Hagen, Matr.-\#: 8161569, \href{mailto:felix.eckstein@gmx.de}{felix.eckstein@gmx.de}}
\date{WiSe 2018/19} % An optional date to appear under the author(s)
%----------------------------------------------------------------------------------------
\begin{document}
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
% % comment this out for digital distribution
%\hypersetup{hidelinks}
%----------------------------------------------------------------------------------------
% HEADERS
%----------------------------------------------------------------------------------------
\renewcommand{\sectionmark}[1]{\markright{\spacedlowsmallcaps{#1}}} % The header for all pages (oneside) or for even pages (twoside)
%\renewcommand{\subsectionmark}[1]{\markright{\thesubsection~#1}} % Uncomment when using the twoside option - this modifies the header on odd pages
\lehead{\mbox{\llap{\small\thepage\kern1em\color{halfgray} \vline}\color{halfgray}\hspace{0.5em}\rightmark\hfil}} % The header style
\pagestyle{scrheadings} % Enable the headers specified in this block
%----------------------------------------------------------------------------------------
% TABLE OF CONTENTS & LISTS OF FIGURES AND TABLES
%----------------------------------------------------------------------------------------
\setcounter{page}{1}
\pagenumbering{roman}
\maketitle % Print the title/author/date block
\vspace*{\stretch{1}}
\noindent Betreuerin: Dr.\ Daniela Keller \\
Lehrgebiet Programmiersysteme \\
Fachbereich Informatik \\
\vfil\null
\setcounter{tocdepth}{2} % Set the depth of the table of contents to show sections and subsections only
{\let\thefootnote\relax\footnotetext{* \textit{Student im Master of Science Informatik an der FernUniversität Hagen,\protect\\Matr.-\#: 8161569, \href{mailto:eckstein@embedded-engineering.de}{eckstein@embedded-engineering.de}}}}
\selectlanguage{ngerman}
%----------------------------------------------------------------------------------------
% ABSTRACT
%----------------------------------------------------------------------------------------
%{
%\clearpage
%\begin{otherlanguage}{english}
%\pagestyle{headings}
%\markright{\smaller Abstract}
%
%\begin{abstract}
%
% \input{abstract.tex}
%
%\end{abstract}
%\end{otherlanguage}
%
%}
\cleardoublepage
\tableofcontents % Print the table of contents
%\listoffigures % Print the list of figures
%\listoftables % Print the list of tables
%\lstlistoflistings
%\listofsymbols
%----------------------------------------------------------------------------------------
\cleardoublepage % Start the article content on the second page, remove this if you have a longer abstract that goes onto the second page
%----------------------------------------------------------------------------------------
% INTRODUCTION
%----------------------------------------------------------------------------------------
\setcounter{page}{1}
\pagenumbering{arabic}
\counterwithin{figure}{section}
\counterwithin{lstlisting}{section}
\counterwithin{table}{section}
\input{einleitung.tex}
\input{JSBasics.tex}
\input{Borrowing.tex}
\input{vererbung.tex}
\input{functionalMixins.tex}
\input{kritikAusblick.tex}
%----------------------------------------------------------------------------------------
% BIBLIOGRAPHY
%----------------------------------------------------------------------------------------
\cleardoublepage
\renewcommand{\refname}{\spacedlowsmallcaps{References}} % For modifying the bibliography heading
\renewcommand{\refname}{Literatur}
\bibliographystyle{dinat}
%\bibliographystyle{abbrvnat}
\bibliography{literatur} % The file containing the bibliography
%----------------------------------------------------------------------------------------
\cleardoublepage
\appendix
\newcommand{\appendixpagenumbering}{
\break
\pagenumbering{arabic}
\renewcommand{\thepage}{\thesection-\arabic{page}}
}
\appendixpagenumbering
\counterwithin{figure}{section}
\counterwithin{lstlisting}{section}
\counterwithin{table}{section}
\input{appendix.tex}
\end{document}