KSP_A5_Diss_EN.tex 9.98 KB
Newer Older
ksp's avatar
ksp committed
1
% Version 1.0.2 EN
ksp's avatar
ksp committed
2
3
4
5
6
7
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%        			Preamble   				   %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ksp's avatar
ksp committed
8
%%%        		Preamble / compile   		   %%%
ksp's avatar
ksp committed
9
10
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

ksp's avatar
ksp committed
11
% Important:
ksp's avatar
ksp committed
12
% To avoid errors and problems when compiling, please always use the current version of your operating system (Windows / Mac / Linux), the current version of your LaTeX distribution (MiKTeX / MacTeX / Tex Live) and the current version of your typesetting program or LaTeX editor (TeXstudio / Texmaker / TeXworks / TeXnicCenter). Update your operating system, your LaTeX distribution and your LaTeX editor before compiling this template or have them updated by your department IT representative.
ksp's avatar
ksp committed
13
%
ksp's avatar
ksp committed
14
15
% Notes on compile / setting order:
% For the correct display of the layout and the bibliographies (multibib) please compile as follows (see "Order of compilation operations"):
ksp's avatar
ksp committed
16
%
ksp's avatar
ksp committed
17
18
%- Windows 10: via the PowerShell or command prompt (cmd).
% To do this, go to the folder of this project, do not select any file, click on an empty space with the left mouse button and open the context menu while holding down the Shift key (Shift key + right mouse click) and select "Open PowerShell window here". Then enter "cmd" and call the compile processes individually as follows (see "Order of compilation operations"):
ksp's avatar
ksp committed
19
%
ksp's avatar
ksp committed
20
%- macOS Big Sur 11.0.1: via the terminal.
ksp's avatar
ksp committed
21
22
23
% To do this, go to the parent folder of this project and select the folder in which the project is located. Now open the context menu (secondary click) by pressing Control + mouse button or tapping with two fingers on the trackpad. Now select "New Terminal at Folder" and call up the compile processes individually as follows:
%
%
ksp's avatar
ksp committed
24
%- Order of compilation operations
ksp's avatar
ksp committed
25
26
% pdflatex KSP_Diss_A5
% bibtex KSP_Diss_A5
ksp's avatar
ksp committed
27
% bibtex journal				% The file name of the file to be executed with Bibtex is specified in the command "\ newcites {}" in this TeX file
ksp's avatar
ksp committed
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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
% bibtex conference				% The file name of the file to be executed with Bibtex is specified in the command "\ newcites {}" in this TeX file
% pdflatex KSP_Diss_A5
% pdflatex KSP_Diss_A5
%
%
% Done. 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%        			Päambel / Documentclass    %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Loads the document class "scrbook" (KOMA-Script-Book) with the properties: no dots after the numbering, font size 10pt, language packs: English
\documentclass[listof=totoc,numbers=noenddot,10pt,english]{scrbook} 
%\documentclass[halfparskip,numbers=noenddot,a5paper,10pt,english,ngerman]{scrbook}

% Insert more packages here
\usepackage{booktabs}
\usepackage{wrapfig}
\usepackage[all]{nowidow} % Prevents widows
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage[]{acronym}
\usepackage{trfsigns}
\usepackage{cite}
\usepackage{caption} % For subfigures
\usepackage{subcaption} % For subfigures
\usepackage{enumitem}
\usepackage{calc}
\usepackage{multirow}
\usepackage{textcmds} % For quotation marks
%\usepackage{epstopdf}
%\usepackage{url}
%\usepackage{subfigure} % Old package for subfigures
%\usepackage{wrapfig}
%\providecommand\phantomsection{}
%\usepackage{color}
%\usepackage{cancel}
%\usepackage{amsthm}
%\usepackage{ulem}
%\usepackage[automark]{scrpage2}
%\usepackage{empheq}
%\usepackage{xcolor}
%\usepackage{float}
\usepackage{blindtext} % Enable blind text to display text in the template
%\usepackage{showframe} % Show margins

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%    		Preamble / Hyphenation	     	   %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\hyphenation{
Ge-schich-te
An-ten-ne
% Please add words that should not be separated into this list without a hyphen
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%    Preamble /  Environment definitions     %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Quoting from the bibliography "Literature.bib": "\cite{<ID>}"
% Quoting from the bibliography "Own_journal_papers.bib": "\citejournal{<ID>}"
% Quoting from the bibliography "Own_conference_papers.bib": "\citeconference{<ID>}"

% By default, all titles / references are output in the bibliographies. If only the quoted titles / references are to be output in the bibliography, the command "\ nocite {*}" or "\ nocitejournal {*} or" \ nociteconference {*} "must be commented out in the ./Inhalt/Literaturverzeichnis.tex file

\usepackage[resetlabels]{multibib} %Each bibliography begins with counter [1], provided that "\ bibliographystyle {plain}" is selected as the bibliography style
\usepackage{multibib} % The bibliographies counter is not reset (counting starting with [1] in "Journal articles" and will be continued in "Conference contributions"), provided that "\ bibliographiestyle {plain}" is selected as the bibliography style, with a different bibliography style, e.g. "\ bibliographystyle {alpha} no counter is used
\newcites{journal}{Bibliography/Own_journal_papers}
\newcites{conference}{Bibliography/Own_conference_papers}
%
\usepackage{etoolbox}
\BeforeBeginEnvironment{thebibliography}{% Redefine to insert your own publications without breaking
  \let\origchapter\chapter % Save the original definition of "\chapter"
  \let\chapter\section % Make \chapter behave like "\section"
}
\AfterEndEnvironment{thebibliography}{%
  \let\chapter\origchapter % Restore the original definition of "\chapter"
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%        Preamble / Title information		   %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% PDF-Title
\newcommand{\pdftitle}{Titel\ der\ Dissertation}

% Author
\newcommand{\autor}{Vorname\ Nachname}

% Most of the preamble is moved to the "dokOptions.tex" file; The file must be integrated at this point
% Settings such as scaling, font, spacing and the packages "geometry", "figure", "captions" are managed in the following file
\input{dokOptions_A5_EN}

% Title
\newcommand{\headtitle}{Titel der Dissertation}

%\makeindex

\newcommand{\nauthor}{Vorname Nachname}
\newcommand{\akadtitel}{M.Sc.}
\newcommand{\geburtsort}{Geburtsort}

\newcommand{\ntitle}{Titel der Dissertation}

\newcommand{\referent}{Prof. Dr.-Ing. Hauptreferent}
\newcommand{\korreferent}{Prof. Dr.-Ing. Korreferent}
\newcommand{\ndatum}{tt.mm.jjjj}

%\renewcommand{\figurename}{Abbildung}
%\renewcommand{\tablename}{Tabelle}

%\ohead[]{}
%\ofoot[\pagemark]{\pagemark} % Page numbers at the bottom outside

%\ihead[]{}
%\ohead[]{\headmark} % Headers at the top outside

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%				Begin document				   %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%				Document / Layout			   %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Use the preset page style
\pagenumbering{gobble}

% Use Roman page numbering
\pagestyle{scrheadings}

% Also places the chapter heading on the right side of the header, since there are no subchapters
\renewcommand{\chaptermark}[1]{\markboth{\thechapter\ \  #1}{\thechapter\ \  #1}} 

% Start with 5 (KSP puts 4 labeled pages in front)
%\setcounter{page}{5}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%				Title page (include)		   %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\include{Contents/Title_page}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%			Title part / chapter (include)	   %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Title part; chapters in the title section do not receive a chapter number in the table of contents
\frontmatter 

% Abstract in German
\include{Contents/Kurzfassung}

% Summary
\include{Contents/Abstract}

% Foreword
\include{Contents/Preface}

% Table of contents \ tableofcontents (see table of contents.tex)
\include{Contents/Table_of_contents}

% Acronyms and symbols
\include{Contents/Acronyms_and_symbols}

% Each new chapter starts on the right side
\cleardoublepage 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%				Main parts / Layout			   %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Use Roman page numbering
\pagenumbering{roman} 
\setcounter{page}{1}

% Main part: Chapters in the main part are numbered with numbers in the table of contents
\mainmatter 

% Line spacing within tables (originally 1.4)
\renewcommand{\arraystretch}{1.2}

% Distance between columns in tables
\setlength{\tabcolsep}{1mm} 

% Spacing for bullets
\setlist[itemize]{itemsep=0mm, topsep=1mm} 

% Greater distance between caption and table
\captionsetup[table]{belowskip=1mm} 

% Use Arabic page numbering
\pagenumbering{arabic} 

%\RedeclareSectionCommand[beforeskip=-1.00\baselineskip,afterskip=0.50\baselineskip]{section}
%\RedeclareSectionCommand[beforeskip=-0.75\baselineskip,afterskip=0.50\baselineskip]{subsection}
%\RedeclareSectionCommand[beforeskip=-0.50\baselineskip,afterskip=0.25\baselineskip]{subsubsection}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%			Main parts / chapter (include)	   %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Introduction and Motivation
\include{Contents/01_Introduction_and_motivation}

% State of the art
\include{Contents/02_State_of_the_art}

% Theory
\include{Contents/03_Theory}

% Summary and outlook
\include{Contents/04_Summary}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%				Appendix (include)	 		   %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Appendix; chapters in the appendix receive capital letters in the table of contents
\appendix 

\include{Contents/Appendix}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%				List of (include)			   %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% List of figures
\listoffigures

% List of tables
\listoftables

% Bibliography
\include{Contents/Bibliography}

% Also places the chapter heading on the right side of the header, since there are no subchapters
\renewcommand{\chaptermark}[1]{\markboth{\thechapter\ \  #1}{\thechapter\ \  #1}} 

% Change the spacing between entries
\setlength{\parskip}{0.3\baselineskip plus 0.15\baselineskip minus 0.15\baselineskip} 

\end{document}