Path: blob/main/main-minted-german-university-of-hamburg.tex
431 views
% !TeX spellcheck = de-DE1% LTeX: language=de-DE2% !TeX encoding = utf83% !TeX program = lualatex4% !TeX TXS-program:compile = txs:///lualatex/[--shell-escape]5% !BIB program = biber6% -*- coding:utf-8 mod:LaTeX -*-78% The following package allows \\ at the title page9% For more information see https://github.com/latextemplates/scientific-thesis-cover/issues/410\RequirePackage{kvoptions-patch}11\documentclass[12% fontsize=11pt is the standard13% ()Aus scrguide.pdf - der Dokumentation von KOMA-Script)14% Nach DUDEN steht in Gliederungen, in denen ausschließlich arabische Ziffern für die Nummerierung15% verwendet werden, am Ende der Gliederungsnummern kein abschließender Punkt16% (siehe [DUD96, R3]). Wird hingegen innerhalb der Gliederung auch mit römischen Zahlen17% oder Groß- oder Kleinbuchstaben gearbeitet, so steht am Ende aller Gliederungsnummern ein18% abschließender Punkt (siehe [DUD96, R4])19numbers=autoendperiod,20ngerman, % Neue deutsche Rechtschreibung; der Parameter wird an andere Pakete weiter gegeben21a4paper, % KOMAScript allows for both paper=a4 and (standard) a4paper - https://tex.stackexchange.com/a/61044/907522twoside, % We are optimizing for both screen and two-side printing. So the page numbers will jump, but the content is configured to stay in the middle (by using the geometry package)23bibliography=totoc,24% idxtotoc, % Index ins Inhaltsverzeichnis25% liststotoc, % List of * ins Inhaltsverzeichnis, mit liststotocnumbered werden die Abbildungsverzeichnisse nummeriert26headsepline,27cleardoublepage=empty,28parskip=half,29% draft % um zu sehen, wo noch nachgebessert werden muss - wichtig, da Bindungskorrektur mit drin30draft=false31]{scrbook}32\usepackage{scrlayer-scrpage}3334\usepackage{iftex}3536\usepackage{ifplatform}3738% backticks (`) werden als solches in verbatim-Umgebungen dargestellt39% Details unter:40% - https://tex.stackexchange.com/a/341057/907541% - https://tex.stackexchange.com/a/47451/907542% - https://tex.stackexchange.com/a/166791/907543\usepackage{upquote}4445% Setze Deutsch als Sprache46\usepackage[english,main=ngerman]{babel}47% Neue deutsche Trennmuster48\babelprovide[hyphenrules=ngerman-x-latest]{german}49%50% Hinweis von http://tex.stackexchange.com/a/321066/907551% Ermögliche die Benutzung von "= als Trennstriche52\addto\extrasenglish{\languageshorthands{ngerman}\useshorthands{"}}5354% Ein "abstract" ist eine "Kurzfassung", keine "Zusammenfassung"55\addto\captionsngerman{%56\renewcommand\abstractname{Kurzfassung}%57}5859% Links verhalten sich so, wie sie sollen60% Zeilenumbrüche bei URLs auch bei Bindestrichen erlauben, auch wenn es verwirrend sein könnte: Gehört der Bindestrich zur URL oder ist es ein Trennstrich?61% Siehe https://tex.stackexchange.com/a/3034/9075.62\usepackage[hyphens]{url}63% \urlstyle{same}64%65% Hinweis von http://tex.stackexchange.com/a/10419/9075.66\makeatletter67\g@addto@macro{\UrlBreaks}{\UrlOrds}68\makeatother6970%math stuff71\usepackage[72centertags, % (default) center tags vertically73% tbtags, % 'Top-or-bottom tags': For a split equation, place equation numbers level with the last (resp. first) line, if numbers are on the right (resp. left).74sumlimits, % (default) Place the subscripts and superscripts of summation symbols above and below75% nosumlimits, % Always place the subscripts and superscripts of summation-type symbols to the side, even in displayed equations.76intlimits, % Like sumlimits, but for integral symbols.77% nointlimits, % (default) Opposite of intlimits.78namelimits, % (default) Like sumlimits, but for certain 'operator names' such as det, inf, lim, max, min, that traditionally have subscripts placed underneath when they occur in a displayed equation.79% nonamelimits, % Opposite of namelimits.80% leqno, % Place equation numbers on the left.81% reqno, % Place equation numbers on the right.82fleqn, % Position equations at a fixed indent from the left margin rather than centered in the text column.83]{amsmath}84\SetMathAlphabet{\mathcal}{normal}{OMS}{amsa}{m}{n} %% AMS font for mathcal8586%%% Doc: http://mirror.ctan.org/tex-archive/macros/latex/contrib/mh/doc/mathtools.pdf87% Erweitert amsmath und behebt einige Bugs88\usepackage[fixamsmath,disallowspaces]{mathtools}8990%%% Doc: http://www.ctan.org/info?id=fixmath91% LaTeX's default style of typesetting mathematics does not comply92% with the International Standards ISO31-0:1992 to ISO31-13:199293% which indicate that uppercase Greek letters always be typeset94% upright, as opposed to italic (even though they usually95% represent variables) and allow for typesetting of variables in a96% boldface italic style (even though the required fonts are97% available). This package ensures that uppercase Greek be typeset98% in italic style, that upright $\Delta$ and $\Omega$ symbols are99% available through the commands \upDelta and \upOmega; and100% provides a new math alphabet \mathbold for boldface101% italic letters, including Greek.102\usepackage{fixmath}103104%for theorems, replacement for amsthm105\usepackage[amsmath,hyperref]{ntheorem}106\theorempreskipamount 2ex plus1ex minus0.5ex107\theorempostskipamount 2ex plus1ex minus0.5ex108\theoremstyle{break}109\newtheorem{definition}{Definition}[chapter]110111%%% Doc: http://mirror.ctan.org/tex-archive/macros/latex/contrib/onlyamsmath/onlyamsmath.dvi112% Warnt bei Benutzung von Befehlen die mit amsmath inkompatibel sind.113114% Braucht man evtl. nicht.115% \usepackage[116% all,117% warning118% ]{onlyamsmath}119120%% !!! If you change the font, be sure that words such as "workflow" can121%% !!! still be copied from the PDF. If this is not the case, you have122%% !!! to use glyphtounicode. See comment at cmap package.123%%124%% Background: "workflow" contains "fl" which is a ligature, which in turn125%% is rendered as one character in the PDF and needs to be split126%% whily copying.127128\ifluatex129\usepackage[no-math]{fontspec}130\usepackage{unicode-math}131132% See https://tug.org/FontCatalogue/texgyretermes/ for more information133\setmainfont{texgyretermes}[134Extension = .otf,135UprightFont = *-regular,136BoldFont = *-bold,137ItalicFont = *-italic,138BoldItalicFont = *-bolditalic,139Ligatures=TeX140]141% See https://tug.org/FontCatalogue/texgyreheros/ for more information142\setsansfont[Scale=.9]{TeX Gyre Heros Regular}143% shapely l, upright quotes144% Normal scaling is too large --> thus, we use ",Scale=.9"145\ifwindows146\setmonofont[StylisticSet={1,3},Scale=.9]{Inconsolata}147\else148\setmonofont[StylisticSet={1,3},Scale=.9]{Inconsolatazi4}149\fi150151% Enable proper ligatures152% For more information see https://ctan.org/pkg/selnolig153% language "english" or "ngerman" is passed to selnolig by the document class154\usepackage{selnolig}155156\else157\RequirePackage{newtxtext}158\RequirePackage{newtxmath}159\RequirePackage[zerostyle=b,scaled=.9]{newtxtt}160161% Has to be loaded AFTER any font packages. See https://tex.stackexchange.com/a/2869/9075.162\usepackage[T1]{fontenc}163\fi164165% DE: Noch mehr Symbole166%\usepackage{stmaryrd} %fuer \ovee, \owedge, \otimes167%\usepackage{marvosym} %fuer \Writinghand %patched to not redefine \Rightarrow168%\usepackage{mathrsfs} %mittels \mathscr{} schoenen geschwungenen Buchstaben erzeugen169%\usepackage{calrsfs} %\mathcal{} ein bisserl dickeren buchstaben erzeugen - sieht net so gut aus.170171% EN: Fallback font - if the subsequent font packages do not define a font (e.g., monospaced)172% This is the modern package for "Computer Modern".173% In case this gets activated, one has to switch from cmap package to glyphtounicode (in the case of pdflatex)174% DE: Fallback-Schriftart175%\usepackage[%176% rm={oldstyle=false,proportional=true},%177% sf={oldstyle=false,proportional=true},%178% tt={oldstyle=false,proportional=true,variable=true},%179% qt=false%180%]{cfr-lm}181182% EN: Headings are typeset in Helvetica (which is similar to Arial)183% DE: Schriftart fuer die Ueberschriften - ueberschreibt lmodern184%\usepackage[scaled=.95]{helvet}185186% DE: Für Schreibschrift würde tun, muss aber nicht187%\usepackage{mathrsfs} % \mathscr{ABC}188189% EN: Font for the main text190% DE: Schriftart fuer den Fliesstext - ueberschreibt lmodern191% Linux Libertine, siehe http://www.linuxlibertine.org/192% Packageparamter [osf] = Minuskel-Ziffern193% rm = libertine im Brottext, Linux Biolinum NICHT als serifenlose Schrift, sondern helvet (von oben) beibehalten194%\usepackage[rm]{libertine}195196% EN: Alternative Font: Palantino. It is recommeded by Prof. Ludewig for German texts197% DE: Alternative Schriftart: Palantino, Packageparamter [osf] = Minuskel-Ziffern198% Bitte nur in deutschen Texten199%\usepackage{mathpazo} %ftp://ftp.dante.de/tex-archive/fonts/mathpazo/ - Tipp aus DE-TEX-FAQ 8.2.1200% EN: The euro sign201% DE: Das Euro Zeichen202% Fuer Palatino (mathpazo.sty): richtiges Euro-Zeichen203% Alternative: \usepackage{eurosym}204% \newcommand{\EUR}{\ppleuro}205206% DE: Schriftart fuer Programmcode - ueberschreibt lmodern207% Falls auskommentiert, wird die Standardschriftart lmodern genommen208% Fuer schreibmaschinenartige Schluesselwoerter in den Listings - geht bei alten Installationen nicht, da einige Fontshapes (<>=) fehlen209%\usepackage[scaled=.92]{luximono}210%\usepackage{courier}211% DE: BeraMono als Typewriter-Schrift, Tipp von http://tex.stackexchange.com/a/71346/9075212%\usepackage[scaled=0.83]{beramono}213214\usepackage{setspace}215% Alternative package: https://ctan.org/pkg/leading216217% Symbole Check und Cross218\usepackage{pifont}219\newcommand{\dingcheck}{\ding{51}}220\newcommand{\dingcross}{\ding{55}}221%for scaling see http://tex.stackexchange.com/a/130236/9075222223% DE: Noch mehr Symbole224%\usepackage{stmaryrd} %fuer \ovee, \owedge, \otimes225%\usepackage{marvosym} %fuer \Writinghand %patched to not redefine \Rightarrow226%\usepackage{mathrsfs} %mittels \mathscr{} schoenen geschwungenen Buchstaben erzeugen227%\usepackage{calrsfs} %\mathcal{} ein bisserl dickeren buchstaben erzeugen - sieht net so gut aus.228229\automark[section]{chapter}230\setkomafont{pageheadfoot}{\normalfont\sffamily}231\setkomafont{pagenumber}{\normalfont\sffamily}232233\ihead[]{}234\chead[]{}235\ohead[]{\headmark}236\cfoot[]{}237\ofoot[\usekomafont{pagenumber}\thepage]{\usekomafont{pagenumber}\thepage}238\ifoot[]{}239240% Optischer Randausgleich und Grauwertkorrektur. Siehe See http://www.ctan.org/tex-archive/macros/latex/contrib/microtype/241242\usepackage[243babel=true,244expansion=alltext,245protrusion=alltext-nott,246final247]{microtype}248249% \texttt{test -- test} - diese Einstellung behält "--" bei (und konveriert sie nicht zu einem Bindestrich)250\DisableLigatures{encoding = T1, family = tt* }251252% tracking=true muss als Parameter des microtype-packages mitgegeben werden253% Deaktiviert, da dies bei Algorithmen seltsam aussieht254255%\DeclareMicrotypeSet*[tracking]{my}{ font = */*/*/sc/* }%256257% Hier wird festgelegt, dass alle Passagen in Kapitälchen automatisch leicht gesperrt werden.258% Quelle: http://homepage.ruhr-uni-bochum.de/Georg.Verweyen/pakete.html259% Deaktiviert, da sonst "BPEL", "BPMN" usw. wirklich komisch aussehen.260% Macht wohl nur bei geisteswissenschaftlichen Arbeiten Sinn.261%\SetTracking{ encoding = *, shape = sc }{ 45 }262263\usepackage{graphicx}264265% Base folder, so there is no need to repeat this over and over again.266\graphicspath{ {figures/} }267268%%% Doc: http://mirror.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf269\usepackage{pdfpages} % Include pages from external PDF documents in LaTeX documents270271% Diagonal lines in a table - http://tex.stackexchange.com/questions/17745/diagonal-lines-in-table-cell272% Slashbox is not available in texlive (due to licensing) and also gives bad results. Thus, we use diagbox273\usepackage{diagbox}274275\ifluatex276\usepackage{spelling}277\spellingoutput{off}278\fi279280\usepackage[dvipsnames, table]{xcolor}281282\definecolor{uhhred}{cmyk}{0,100,100,0}283284% See https://github.com/gpoore/minted285\usepackage[newfloat]{minted}286287\setminted{288% Line numbers not flowing out of the margin289numbersep=5pt,290xleftmargin=12pt,291%292% Better listing breaking293breakafter=-/\{,294breakbefore=\\295%296% Alternative: Rely on pygment's tokenizer. Does not work well with LaTeX and comments297% breakbytoken=true,298% breakbytokenanywhere=true299}300301%\usemintedstyle{bw} %black and white style302%\usemintedstyle{vs} %visual studio303\usemintedstyle{friendly_grayscale}304%\usemintedstyle{friendly}305%\usemintedstyle{eclipse} %http://www.jevon.org/wiki/Eclipse_Pygments_Style306%\usemintedstyle{autumn}307%\usemintedstyle{rrt}308%\usemintedstyle{borland}309310% We need to load caption to have a bold font on the label311% The other parameters mimic the layout of the LNCS class312\usepackage[labelfont=bf,font=small,skip=4pt]{caption}313\SetupFloatingEnvironment{listing}{name=List.,within=none}314315% When using both minted and listings316% Compatibility of packages minted and listings with respect to the numbering of "List." caption317% Source: https://tex.stackexchange.com/a/269510/9075318% \AtBeginEnvironment{listing}{\setcounter{listing}{\value{lstlisting}}}319% \AtEndEnvironment{listing}{\stepcounter{lstlisting}}320321% Intermediate solution for hyperlinked refs. See https://tex.stackexchange.com/q/132420/9075 for more information.322\newcommand{\labelline}[1]{\label[line]{#1}\hypertarget{#1}{}}323\newcommand{\refline}[1]{\hyperlink{#1}{\FancyVerbLineautorefname~\ref*{#1}}}324325% For easy quotations: \enquote{text}326% This package is very smart when nesting is applied, otherwise textcmds (see below) provides a shorter command327\usepackage[autostyle=true]{csquotes}328329% Enable using "`quote"' - see https://tex.stackexchange.com/a/150954/9075330\defineshorthand{"`}{\openautoquote}331\defineshorthand{"'}{\closeautoquote}332333% bessere Abstaende innerhalb der Tabelle (Layout))334% -------------------------------------------------335% \toprule, \midrule, \bottomrule336% Doc: https://texdoc.org/serve/booktabs/0337\usepackage{booktabs}338339% Extended enumerate, such as \begin{compactenum}340\usepackage{paralist}341\usepackage[342backend = biber, %biber does not work with 64x versions alternative: bibtex8; minalphanames only works with biber backend343sortcites = true,344bibstyle = alphabetic,345citestyle = alphabetic,346giveninits = true,347useprefix = false, %"von, van, etc." will be printed, too. See below.348minnames = 1,349minalphanames = 3,350maxalphanames = 4,351maxbibnames = 99,352maxcitenames = 2,353natbib = true,354eprint = true,355url = true,356doi = true, %source: http://tex.stackexchange.com/a/23118/9075357isbn = true, %source: http://tex.stackexchange.com/a/23118/9075358backref = true]{biblatex}359360% enable more breaks at URLs. See https://tex.stackexchange.com/a/134281.361\setcounter{biburllcpenalty}{7000}362\setcounter{biburlucpenalty}{8000}363364\bibliography{bibliography}365%\addbibresource[datatype=bibtex]{\bibliography{bibliography}}366367% Do not put "vd" in the label, but put it at "\citeauthor"368% Source: http://tex.stackexchange.com/a/30277/9075369\makeatletter370\AtBeginDocument{\toggletrue{blx@useprefix}}371\AtBeginBibliography{\togglefalse{blx@useprefix}}372\makeatother373374% Thin spaces between initials375% http://tex.stackexchange.com/a/11083/9075376\renewrobustcmd*{\bibinitdelim}{\,}377378% Keep first and last name together in the bibliography379% http://tex.stackexchange.com/a/196192/9075380\renewcommand*\bibnamedelimc{\addnbspace}381\renewcommand*\bibnamedelimd{\addnbspace}382383% Replace last "and" by comma in bibliography384% See http://tex.stackexchange.com/a/41532/9075385\AtBeginBibliography{%386\renewcommand*{\finalnamedelim}{\addcomma\space}%387}388389% enable hyperlinked author names when using \citeauthor390% source: http://tex.stackexchange.com/a/75916/9075391\DeclareCiteCommand{\citeauthor}392{393\boolfalse{citetracker}%394\boolfalse{pagetracker}%395\usebibmacro{prenote}396}397{398\ifciteindex399{\indexnames{labelname}}400{}%401\printtext[bibhyperref]{\printnames{labelname}}402}403{\multicitedelim}404{\usebibmacro{postnote}}405406% Farbige Tabellen407% ----------------408% Das Paket colortbl wird inzwischen automatisch durch xcolor geladen409%410% Erweiterte Funktionen innerhalb von Tabellen411% --------------------------------------------412%%% Doc: http://mirror.ctan.org/tex-archive/macros/latex/contrib/multirow/multirow.sty413\usepackage{multirow} % Mehrfachspalten414%415%%% Doc: Documentation inside dtx Package416\usepackage{dcolumn} % Ausrichtung an Komma oder Punkt417418%%% Doc: http://mirror.ctan.org/tex-archive/macros/latex/contrib/supertabular/supertabular.pdf419%\usepackage{supertabular}420421%%% Fussnoten/Endnoten ===================================================422423%%% Doc: http://mirror.ctan.org/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf424%425\usepackage[426bottom, % Footnotes appear always on bottom. This is necessary specially when floats are used427stable, % Make footnotes stable in section titles428% perpage, % Reset on each page429% para, % Place footnotes side by side of in one paragraph.430% side, % Place footnotes in the margin431ragged, % Use RaggedRight432% norule, % Suppress rule above footnotes433multiple, % Rearrange multiple footnotes intelligent in the text.434% symbol, % Use symbols instead of numbers435]{footmisc}436437\counterwithout{footnote}{chapter} % Continuous numbering of footnotes across chapters438439\interfootnotelinepenalty=10000 % Verhindert das Fortsetzen von Fussnoten auf der gegenüberligenden Seite440441% EN: Put footnotes below floats442% DE: Fußnoten unter Gleitumgebungen ("floats") platzieren443% Source: https://tex.stackexchange.com/a/32993/9075444\usepackage{stfloats}445\fnbelowfloat446447% EN: Extended support for footnotes448% DE: Fußnoten449%450%\usepackage{dblfnote} %Zweispaltige Fußnoten451%452% Keine hochgestellten Ziffern in der Fußnote (KOMA-Script-spezifisch):453%\deffootnote[1.5em]{0pt}{1em}{\makebox[1.5em][l]{\bfseries\thefootnotemark}}454%455% Abstand zwischen Fußnoten vergrößern:456%\setlength{\footnotesep}{.85\baselineskip}457%458% EN: Following command disables the separting line of the footnote459% DE: Folgendes Kommando deaktiviert die Trennlinie zur Fußnote460%\renewcommand{\footnoterule}{}461%462%\addtolength{\skip\footins}{\baselineskip} % Abstand Text <-> Fußnote463464% DE: Fußnoten immer ganz unten auf einer \raggedbottom-Seite465% DE: fnpos kommt aus dem yafoot package466%\usepackage{fnpos}467%\makeFNbelow468%\makeFNbottom469470% TODO (and comment) configuration471%472% - \todo (from todo, easy-todo, todonotes) / \TODO (from fixmetodonotes) - for "normal" TODOs473% - \todofix - "important" TODOs474%475% - \textcomment - highlights text and has a hover comment476% - \sidecomment - just puts a comment to the side. Note: \comment MUST NOT be used as command name, it is already defined by much packages (mathdesign, mindflow, verbatim, and others)477%478% - \missingfigure479%480% - \textmarker481% - \modified482% - \change - adresses a review comment483484% Enable nice comments485\usepackage{pdfcomment}486487\newcommand{\textcomment}[2]{\colorbox{yellow!60}{#1}\pdfcomment[color={0.234 0.867 0.211},hoffset=-6pt,voffset=10pt,opacity=0.5]{#2}}488489% Small PDF comment490% 1. Parameter: Comment491\newcommand{\sidecomment}[1]{\pdfcomment[color={0.045 0.278 0.643},voffset=4pt,icon=Note]{#1}}492% Disabled variant - for the final PDF493%\newcommand{\sidecomment}[1]{}494495\newcommand{\todo}[1]{TODO!\sidecomment{#1}}496497% Änderungen498%499% 1. Parameter: Review-Kommentar500% 2. Parameter: Neuer Text501\newcommand{\change}[2]{{\color{red}#2}\pdfcomment[color={0.234 0.867 0.211},voffset=8pt,opacity=0.5]{#1}}502% Disabled variant - for the final PDF503%\newcommand{\change}[2]{#2}504505% Define default commands506\makeatletter507\@ifundefined{missingfigure}{\newcommand{\missingfigure}{... missing figure ...}}{}508\@ifundefined{textcomment}{\newcommand{\textcomment}[2]{#1 \todo{#2}}}{}509\@ifundefined{sidecomment}{\newcommand{\sidecomment}[1]{\marginpar{#1}}}{}510\@ifundefined{todo}{\newcommand{\todo}[1]{\sidecomment{#1}}}{}511\@ifundefined{TODO}{\newcommand{\TODO}[1]{\todo{#1}}}{}512\@ifundefined{todofix}{\newcommand{\todofix}[1]{\todo{#1}}}{}513\@ifundefined{change}{\newcommand{\change}[2]{#1 $\rightarrow$ #2}}{}514\makeatother515516% Textmarker (Textfarbe rot)517\newcommand{\textmarker}[1]{{\color{red} #1}\xspace}518519% Modified (Text blau)520\newcommand{\modified}[1]{{\color{blue!60!black} #1}\xspace}521522\usepackage[group-minimum-digits=4,per-mode=fraction]{siunitx}523\addto\extrasgerman{\sisetup{locale = DE}}524525% See http://tex.stackexchange.com/a/83051/9075526% Normally, doesn't work with hyperref, but cleveref fixes that527\usepackage[ngerman]{varioref}528529530% Enable that parameters of \cref{}, \ref{}, \cite{}, ... are linked so that a reader can click on the number an jump to the target in the document531\usepackage{hyperref}532533% Enable hyperref without colors and without bookmarks534\hypersetup{535hidelinks,536colorlinks=true, % Links erhalten Farben statt Kaeten537raiselinks=true, % calculate real height of the link538allcolors=black,539pdfstartview=Fit,540breaklinks=true, % Links ueberstehen Zeilenumbruch541hypertexnames=false, % Fix jumping to algorithm line - http://tex.stackexchange.com/a/156404/9075542}543544% Enable correct jumping to figures when referencing545\usepackage[all]{hypcap}546547% Hint by https://tex.stackexchange.com/a/193370/9075 to suppress strange outputs of the babel package548% Example strange output: Package babel Info: Redefining ngerman shorthand "|549\usepackage{etoolbox}550\makeatletter551\patchcmd{\@decl@short}{\bbl@info}{\@gobble}{}{}552\makeatother553554555%%%556% Ermoeglicht es, Abbildungen um 90 Grad zu drehen557% Alternatives Paket: rotating Allerdings wird hier nur das Bild gedreht, während bei lscape auch die PDF-Seite gedreht wird.558%Das Paket lscape dreht die Seite auch nicht559\usepackage{pdflscape}560561\usepackage[caption=false,font=footnotesize]{subfig}562563% Alternative for making subfigures:564% Part of the caption package. See http://www.ctan.org/pkg/caption565% Ersetzt die Pakete subfigure und subfig - siehe https://tex.stackexchange.com/a/13778/9075566%567% (subfigure is outdated. subfig is maintained, but subcaption is better)568% See: http://tex.stackexchange.com/questions/13625/subcaption-vs-subfig-best-package-for-referencing-a-subfigure569%\usepackage[hypcap=true]{subcaption}570571\usepackage{mindflow}572573% https://ctan.org/pkg/algorithms574% Consists of two environments: algorithm and algorithmic575% Although oudated, it defines the "algorithm" float enviornment576% TODO: Define floating environment "algorithm" in other ways577\usepackage[chapter]{algorithm}578579% https://ctan.org/pkg/algpseudocodex580% Successor of algorithmicx; more modern than https://ctan.org/pkg/algorithms581\usepackage{algpseudocodex}582583\floatname{algorithm}{Algorithmus}584\renewcommand{\listalgorithmname}{Algorithmenverzeichnis}585586\newcommand{\commentchar}{\ensuremath{/\mkern-4mu/}}587\algrenewcommand{\algorithmiccomment}[1]{\hfill $\commentchar$ #1}588589% cleveref für cref statt autoref, da cleveref auch bei Definitionen funktioniert590\usepackage[capitalise,nameinlink,noabbrev]{cleveref}591592\crefname{table}{Tabelle}{Tabellen}593\Crefname{table}{Tabelle}{Tabellen}594\crefname{figure}{Abbildung}{Abbildungen}595\Crefname{figure}{Abbildung}{Abbildungen}596\crefname{equation}{Gleichung}{Gleichungen}597\Crefname{equation}{Gleichung}{Gleichungen}598\crefname{theorem}{Theorem}{Theoreme}599\Crefname{theorem}{Theorem}{Theoreme}600\crefname{listing}{Listing}{Listings}601\Crefname{listing}{Listing}{Listings}602\crefname{section}{Abschnitt}{Abschnitte}603\Crefname{section}{Abschnitt}{Abschnitte}604\crefname{paragraph}{Abschnitt}{Abschnitte}605\Crefname{paragraph}{Abschnitt}{Abschnitte}606\crefname{subparagraph}{Abschnitt}{Abschnitte}607\Crefname{subparagraph}{Abschnitt}{Abschnitte}608609% Intermediate solution for hyperlinked refs. See https://tex.stackexchange.com/q/132420/9075 for more information.610\newcommand{\llabel}[1]{\label[line]{#1}\hypertarget{#1}{}}611\newcommand{\lref}[1]{\hyperlink{#1}{\FancyVerbLineautorefname~\ref*{#1}}}612613\usepackage{lipsum}614615% For demonstration purposes only616% These packages can be removed when all examples have been deleted617\usepackage[math]{blindtext}618\usepackage{mwe}619\usepackage[realmainfile]{currfile}620\usepackage{tcolorbox}621\tcbuselibrary{minted}622623%introduce \powerset - hint by http://matheplanet.com/matheplanet/nuke/html/viewtopic.php?topic=136492&post_id=997377624\DeclareFontFamily{U}{MnSymbolC}{}625\DeclareSymbolFont{MnSyC}{U}{MnSymbolC}{m}{n}626\DeclareFontShape{U}{MnSymbolC}{m}{n}{627<-6> MnSymbolC5628<6-7> MnSymbolC6629<7-8> MnSymbolC7630<8-9> MnSymbolC8631<9-10> MnSymbolC9632<10-12> MnSymbolC10633<12-> MnSymbolC12%634}{}635\DeclareMathSymbol{\powerset}{\mathord}{MnSyC}{180}636637\addto\captionsngerman{%638\renewcommand*{\glossaryname}{Bedeutung}%639}640\usepackage[641translate=babel,642abbreviations, % create "abbreviations" glossary643nomain, % don't create "main" glossary644stylemods=longbooktabs % do the adjustments for the longbooktabs styles645]{glossaries-extra}646\setglossarystyle{long3col-booktabs}647648% Hint by https://tex.stackexchange.com/a/463188/9075649% \usepackage{glossary-longextra}650651% Following is required if the abbreviation list should be sorted automatically (\printglossary / \printglossaries)652% Not required, if we printed the entries in-order (using \printunsrtglossaries)653% Required to have the German chapter name % Source: https://tex.stackexchange.com/a/426392/9075654\makeglossaries655656\input{abbreviations}657658659\usepackage{xspace}660% Macht \xspace und \enquote kompatibel661\makeatletter662\xspaceaddexceptions{\grqq \grq \csq@qclose@i \} }663\makeatother664665% Enable hyphenation at other places as the dash.666% Example: applicaiton\hydash specific667\makeatletter668\newcommand{\hydash}{\penalty\@M-\hskip\z@skip}669% Definition of "= taken from http://mirror.ctan.org/macros/latex/contrib/babel-contrib/german/ngermanb.dtx670\makeatother671672\ifluatex673% Enable correct rendering of ligatures - provided by https://ctan.org/pkg/autotype674% See ADR-0008 for alternatives675\usepackage{autotype}676\fi677678% correct bad hyphenation here679\hyphenation{680Spe-zi-fi-ka-tion681In-te-gra-tion682An-for-de-rung An-for-de-run-gen683Be-nut-zer-ober-flä-che684Mes-sung-en685aus-zu-tau-schen686Lauf-zeit-in-for-ma-tionen687% May not be hypphenated688AROMA TOSCA BPMN OASIS OMG DMTF IT DevOps689}690691\input{commands}692693\usepackage{geometry}694% Package URL: https://ctan.org/pkg/scientific-thesis-cover695\usepackage[696title={Is Oil the future?},697author={Lars K.},698type=bachelor,699institute=iaas, % or other institute names - or just a plain string using {Demo\\Demo...}700course={Medieninformatik},701examiner={Prof.\ Dr.\ Uwe Fessor},702supervisor={Dipl.-Inf.\ Roman Tiker,\\Dipl.-Inf.\ Laura Stern,\\Otto Normalverbraucher,\ M.Sc.},703startdate={July 5, 2018},704enddate={January 5, 2019}705]{scientific-thesis-cover}706707708\ifpdftex709% Enable copy and paste of text from the PDF710% Only required for pdflatex. It "just works" in the case of lualatex.711% Alternative: cmap or mmap package712% mmap enables mathematical symbols, but does not work with the newtx font set713% See: https://tex.stackexchange.com/a/64457/9075714% Other solutions outlined at http://goemonx.blogspot.de/2012/01/pdflatex-ligaturen-und-copynpaste.html and http://tex.stackexchange.com/questions/4397/make-ligatures-in-linux-libertine-copyable-and-searchable715% Trouble shooting outlined at https://tex.stackexchange.com/a/100618/9075716%717% According to https://tex.stackexchange.com/q/451235/9075 this is the way to go718\input{glyphtounicode}719\pdfgentounicode=1720\fi721% DM: line-breaking-description env vom daniel w.722723% credit goes to daniel w. :-)724%% --- Descriptions with line breaks in labels ---------------------------------725\usepackage{calc}726727\newcommand*\Descriptionlabel[1]{%728\raisebox{0pt}[1ex][0pt]{729\makebox[\labelwidth][1]{730\parbox[t]{\labelwidth}{731\hspace{0pt}\textbf{#1:}}}}732}733734\newcommand*\Descriptionlabelx[1]{%735\parbox[t]{\textwidth}{736\textbf{#1}\\\mbox{}}737}738739\newenvironment{Description}{740\begin{list}{}{741\let\makelabel\Descriptionlabelx742\setlength\labelwidth{1em}743\setlength\leftmargin{\labelwidth+\labelsep}744}745}746{747\end{list}748}749750% globally change line spacing of lists751% paralist has suspended development since 10 years.752% enumitem has been updated 2011-09-28753\usepackage[inline]{enumitem}754\setlist{partopsep=0pt,itemsep=1pt}755756%------------------------------------------------------------------------757% fquote Fancy Quotation environment758% supports empty/optional author759760% Use \sloppy to make right-margin easier?761% Set picture units to be relative to font size (em)?762% Use begingroup to rest units afterwards?763764\usepackage{xifthen}% provides \isempty test765\definecolor{quotemark}{gray}{0.7}766767%fquote environment with author as optional parameter768%usage: \begin{fquote}quote\end{fquote} or \begin{fquote}[Author]quote\end{fquote}769\newenvironment{fquote}[1][]{%770\newcommand{\fqauthor}{\relax}771\ifthenelse{\isempty{#1}}772{}% do nothing773{\renewcommand{\fqauthor}{\hfill\textsc{--- #1}}}774\vspace{1em}775\begin{list}{}{%776\setlength{\leftmargin}{0.2\textwidth}777\setlength{\rightmargin}{0.2\textwidth}778}779\item[]%780\begin{picture}(0,0)(0,0)781\put(-15,-5){\makebox(0,0){%782\scalebox{4.5}{\textcolor{quotemark}{\bfseries``}}}%783}784\end{picture}\em\ignorespaces%785}{%786\newline%787\makebox[0pt][l]{\hspace{0.6\textwidth}%788\begin{picture}(0,0)(0,0)789\put(15,10){\makebox(0,0){%790\scalebox{4.5}{\textcolor{quotemark}{\rmfamily\bfseries''}}}%791}792\end{picture}}%793\fqauthor794\end{list}795}796797%German fquote798% 1 parameter for the author's name, may be empty ("{}")799% guaranteed German quotes (works with lualatex and babel package)800% usage: \begin{gfquote}{Author}quote\end{gfquote}801\newenvironment{gfquote}[1]{%802\newcommand{\fqauthor}{\relax}803\ifthenelse{\isempty{#1}}804{}% do nothing805{\renewcommand{\fqauthor}{\hfill\textsc{\textemdash #1}}}806\vspace{1em}807\begin{list}{}{%808\setlength{\leftmargin}{0.2\textwidth}809\setlength{\rightmargin}{0.2\textwidth}810}811\item[]%812\begin{picture}(0,0)(0,0)813\put(-15,-5){\makebox(0,0){%814\scalebox{4.5}{\textcolor{quotemark}{\bfseries \glqq}}}%815}816\end{picture}\em\ignorespaces%817}{%818\newline%819\makebox[0pt][l]{\hspace{0.6\textwidth}%820\begin{picture}(0,0)(0,0)821\put(15,10){\makebox(0,0){%822\scalebox{4.5}{\textcolor{quotemark}{\rmfamily\bfseries \grqq}}}%823}824\end{picture}}%825\fqauthor826\end{list}827}828829% fix incompatibilities between KOMA and other packages, mainly float.830% should be loaded at the very end - see http://tex.stackexchange.com/a/156256/9075831\usepackage{scrhack}832833834\begin{document}835\raggedbottom % Variable Seitenhoehen zulassen836\ifluatex837% Enable correct rendering of ligatures - provided by https://ctan.org/pkg/autotype838% See ADR-0008 for alternatives839\autotypelangoptions{ngerman}{ligbreak}840\fi841842\pagenumbering{arabic}843\frontmatter844\newgeometry{centering,left=2cm,right=2cm,top=2cm,bottom=2cm}845\begin{titlepage}846%\includegraphics[scale=0.3]{figures/UHH-Logo_2010_Farbe_CMYK.pdf}847\includegraphics[scale=0.3]{figures/UHH-Logo_2010_Farbe_CMYK.png}848\vspace*{2cm}849\Large850\begin{center}851{\color{uhhred}\textbf{\so{BACHELORTHESIS}}}852%TODO ...oder {\color{uhhred}\textbf{\so{MASTERTHESIS}}}853\vspace*{2.0cm}\\854{\LARGE \textbf{Titel}}855\vspace*{2.0cm}\\856vorgelegt von857\vspace*{0.4cm}\\858Max Musterstudent859\end{center}860\vfill861862\noindent863{\small864MIN-Fakultät\\[.2cm]865Fachbereich Informatik \\[.2cm]866Ggf. Professur/Institut \\[.2cm] %TODO Optional, entweder "Ggf. " oder ganze Zeile löschen867Studiengang: Wirtschaftsinformatik \\[.2cm]868Matrikelnummer: 1234567 \\[.5cm]869Ggf. Abgabedatum: XX.XX.20XX \\[.5cm] %TODO Optional, entweder "Ggf. " oder ganze Zeile löschen870Erstgutachterin: Prof. Dr. Bertha Beispiel \\[.25cm]871Zweitgutachter: Dr. Eduard Exempel %TODO Bei Bedarf Geschlechter der Gutachter/innen anpassen872}873\end{titlepage}874875\restoregeometry876877\pagestyle{plain.scrheadings}878\renewcommand*{\chapterpagestyle}{plain.scrheadings}879880% Kurzfassung / abstract881% auch im Stil vom Inhaltsverzeichnis882\section*{Kurzfassung}883% Silbentrennung auf Englisch884\begin{otherlanguage}{american}885\emph{Write an abstract for your work.886Replace each of the points below with one sentence (two if you must) and you have your abstract.887Write it when you finished your entire report.888\footnote{https://www.easterbrook.ca/steve/2010/01/how-to-write-a-scientific-abstract-in-six-easy-steps/}}889890\emph{Introduction.}891In one sentence, what’s the topic?892Phrase it in a way that your reader will understand.893If you’re writing a PhD thesis, your readers are the examiners – assume they are familiar with the general field of research, so you need to tell them specifically what topic your thesis addresses.894Same advice works for scientific papers – the readers are the peer reviewers, and eventually others in your field interested in your research, so again they know the background work, but want to know specifically what topic your paper covers.895896\emph{State the problem you tackle.}897What’s the key research question?898Again, in one sentence.899(Note: For a more general essay, I’d adjust this slightly to state the central question that you want to address)900Remember, your first sentence introduced the overall topic, so now you can build on that, and focus on one key question within that topic.901If you can’t summarize your thesis/paper/essay in one key question, then you don’t yet understand what you’re trying to write about.902Keep working at this step until you have a single, concise (and understandable) question.903904\emph{Summarize (in one sentence) why nobody else has adequately answered the research question yet.}905For a PhD thesis, you’ll have an entire chapter, covering what’s been done previously in the literature.906Here you have to boil that down to one sentence.907But remember, the trick is not to try and cover all the various ways in which people have tried and failed; the trick is to explain that there’s this one particular approach that nobody else tried yet (hint: it’s the thing that your research does).908But here you’re phrasing it in such a way that it’s clear it’s a gap in the literature.909So use a phrase such as “previous work has failed to address…”.910(if you’re writing a more general essay, you still need to summarize the source material you’re drawing on, so you can pull the same trick – explain in a few words what the general message in the source material is, but expressed in terms of what’s missing)911912\emph{Explain, in one sentence, how you tackled the research question.}913What’s your big new idea?914(Again for a more general essay, you might want to adapt this slightly: what’s the new perspective you have adopted? or:915What’s your overall view on the question you introduced in step 2?)916917\emph{In one sentence, how did you go about doing the research that follows from your big idea.}918Did you run experiments?919Build a piece of software?920Carry out case studies?921This is likely to be the longest sentence, especially if it’s a PhD thesis – after all you’re probably covering several years worth of research.922But don’t overdo it – we’re still looking for a sentence that you could read aloud without having to stop for breath.923Remember, the word ‘abstract’ means a summary of the main ideas with most of the detail left out.924So feel free to omit detail!925(For those of you who got this far and are still insisting on writing an essay rather than signing up for a PhD, this sentence is really an elaboration of sentence 4 – explore the consequences of your new perspective).926927\emph{As a single sentence, what’s the key impact of your research?928Here we’re not looking for the outcome of an experiment.929}930We’re looking for a summary of the implications.931What’s it all mean?932Why should other people care?933What can they do with your research.934(Essay folks: all the same questions apply: what conclusions did you draw, and why would anyone care about them?)935\end{otherlanguage}936937\microtypesetup{protrusion=false}938939% In case you have trouble with headings reaching into the page numbers, enable the following three lines.940% Hint by http://golatex.de/inhaltsverzeichnis-schreibt-ueber-rand-t3106.html941%942%\makeatletter943%\renewcommand{\@pnumwidth}{2em}944%\makeatother945%946% Bei einem ungünstigen Seitenumbruch im Inhaltsverzeichnis, kann dieser mit947% \addtocontents{toc}{\protect\newpage}948% an der passenden Stelle im Fließtext erzwungen werden.949\tableofcontents950951\listoffigures952953\listoftables954\listoflistings955956%mittels \newfloat wurde die Algorithmus-Gleitumgebung definiert.957%Mit folgendem Befehl werden alle floats dieses Typs ausgegeben958%\listof{Algorithmus}{Verzeichnis der Algorithmen}959%\listofalgorithms %Ist nur für Algorithmen, die mittels \begin{algorithm} umschlossen werden, nötig960961% Abkürzungsverzeichnis / Acronyms / Abbreviations962\printglossary[type=\acronymtype,title={Abkürzungsverzeichnis}]963% \printglossaries964% \printnoidxglossaries965% \printunsrtglossaries cannot be used, because then no indexing happens; source: https://tex.stackexchange.com/a/287128/9075966967\microtypesetup{protrusion=true}968969% Headline and footline970\renewcommand*{\chapterpagestyle}{scrplain}971\pagestyle{scrheadings}972\mainmatter973974%%% ===============================================================================975\chapter{Introduction}\label{sec:introduction}976%%% ===============================================================================977978\emph{Purpose and scope of your entire report}.979The purpose of your entire report is to make a \emph{scientific argument using the scientific method}.980A scientific argument always has the following steps that all must come in this order.981%982\begin{itemize}983\item[SM1] \emph{Explicate the assumptions and state of the art} on which you are going to conduct your research to investigate your research problem/test the hypothesis.984\item[SM2] Clearly and precisely \emph{formulate a research problem or hypothesis}.985\item[SM3] \emph{Describe the (research) method} that you followed to investigate the problem / to test the hypothesis in a way that \emph{allows someone else to reproduce your steps}.986The method must includes steps and criteria for evaluating whether you answered your question successfully or not.987\item[SM4] \emph{Provide execution details} on how you followed the method in the given, specific situation.988\item[SM5] \emph{Report your results} by describing and summarizing your measurements.989You must not interpret your results.990\item[SM6] \emph{Now interpret your results} by contextualizing the measurements and drawing conclusion that lead to answering your research problem or defining further follow-up research problems.991\end{itemize}992%993This template will mark various parts of the structure with SM1-SM6 to recall to you which step of a scientific argument is used and where.994995\emph{Purpose and scope of \cref{sec:introduction}}.996The introduction chapter is a summary of your work and your scientific argument that shall be understandable to anyone in your scientific field, e.g., anyone in Data Science.997A reader must be able to comprehend the problem, method, relevant execution details, results, and their interpretation by reading the introduction and the introduction alone.998Section~\ref{sec:introduction:topic} introduces the general topic of your research.999Section~\ref{sec:introduction:state-of-art} discusses the state of the art and identifies a research.1000Section~\ref{sec:introduction:research-question} then states the research problem to investigate.1001Section~\ref{sec:problem-exposition:research-method} explains the research method that was followed, possibly with execution details.1002Section~\ref{sec:introduction:results} then presents the results and their interpretation.1003Only if a reader thinks they are not convinced or they need more details to reproduce your study, they shall have to read further.1004The individual chapters and sections provide the details for each of the steps in your scientific argument.10051006You usually write the introduction chapter \emph{after} you wrote all other chapters, but you should keep on making notes for each of the sections as you write the later chapters.1007.10081009\emph{Purpose and scope of the introduction paragraph to a chapter}.1010The paragraph you are reading above is a typical introductory paragraph to a chapter.1011It is a high-level summary of the chapters' topic (SM1 and SM2).1012It gives the reader some guidance by breaking down the chapter topic into subtopics that are clearly named (SM3) in the right order with forward references to the corresponding sections (SM4).1013It may close with announcing the result you obtain (SM6) but this is usually not done in the opening paragraph of the introduction.10141015% ---------------------------------------------------------------------------------1016\section{Context and Topic (SM1)}\label{sec:introduction:topic}1017% ---------------------------------------------------------------------------------10181019\emph{Purpose and scope}.1020You begin with providing the general scientific audience an introduction into the specific topic of your work.1021The aim of this section is to first introduce the \emph{general subject of study} (``Giraffes are well-known animals and everyone's favorite''), the \emph{specific topic of societal or scientific interest} to investigate (``Giraffes have blue tongues'') and the \emph{objective of society/science towards} this topic (``it is unknown at the moment how the blue color tone evolved'').1022It must be understandable by the general scientific public.1023Every \emph{term} with a specific meaning must be highlighted and introduced in precise language/concepts that only builds on a general scientific background.10241025At the end of this section, you have explained and established a general goal that society/science universally agrees to be worth achieving (``knowing how everyone's favorite animal evolved the colour of their tongue'').10261027% ---------------------------------------------------------------------------------1028\section{State of the Art (SM1)}\label{sec:introduction:state-of-art}1029% ---------------------------------------------------------------------------------10301031\emph{Purpose and scope}.1032You provide a more in-depth introduction into the research topic by contrasting the current state of the art in society/science in relation to the research topic you introduced in \cref{sec:introduction:topic}.1033This introduction has to10341035\begin{itemize}1036\item present established facts, methods, and results that provide a deeper understanding of the research topic (``prior work on giraffe genomes, relevance of giraffes for societal well-being, giraffes being a model-animal for various other studies, etc.'')1037\item discuss in which ways prior and recent ideas still fall short of reaching the general goal you explained in \cref{sec:introduction:topic} (``prior work only sequenced the genome of one giraffe and did not consider genes of ancient ancestors'')1038\end{itemize}10391040You have to provide citations/literature references for each of the statements and claims you are making.1041This section is usually a summary of the related work discussion in \cref{sec:background}.10421043At the end of this section, you have established a \emph{knowledge gap} between the state of the art and the general objective you developed in \cref{sec:introduction:topic}.1044\emph{Stating a (knowledge) gap between a status quo and a desired situation is the \emph{first step} of a writing scientific argument.}10451046% ---------------------------------------------------------------------------------1047\section{Research Question (SM2)}\label{sec:introduction:research-question}1048% ---------------------------------------------------------------------------------10491050\emph{Purpose and scope}.1051In this section you state in which way you will address the knowledge gap you identified at the end of \cref{sec:introduction:state-of-art}.1052You usually cannot address and resolve the entire knowledge gap in your work.1053The purpose of this section is to clearly detail the specific part of the knowledge that you will address.1054You thereby make all the assumptions explicit that underlie your work (``in this report we focus on genomes of female giraffes who lived in the years 1950-2000 in South Africa'').10551056Your general research question states1057\begin{itemize}1058\item The starting point/assumptions you are making from which your research starts (``for the given 13 genomes of female giraffes...''), and1059\item the final objective/solution you want to reach (``...identify the genes involved in color expression of giraffe tongues...'')1060\item and the evaluation criteria that will determine whether you are successful (``...that are present in at least 75\% of the studied giraffes'')1061\end{itemize}10621063You will usually break your general research question down into sub-research questions.1064You may do this here.1065The sub-research questions have to form a chain that take you in smaller steps from the starting point/assumptions of your general research question to your final objective and evaluation.10661067% ---------------------------------------------------------------------------------1068\section{Method or Approach (SM3, SM4)}\label{sec:introduction:method}1069% ---------------------------------------------------------------------------------10701071\emph{Purpose and scope}.1072In this section you outline the method that you applied to answer the research questions, or the new technical approach that you developed to answer it.1073It is a summary of the steps that someone else has to take in order to reproduce your steps.1074Mention here the data sets you had to obtain/gather/analyze, interviews with stakeholders you had to make to further develop the research questions, technical artifacts (programs, algorithms, models) you could apply or that you had to develop (and how they work).10751076The section is most readable if you give each of the steps in your method its own paragraph.1077In each paragraph you first briefly explain the concept of the step in your method (SM3, ``we explored the data through visual analytics'') and then provide details in execution (SM4, ``we used tool X, we developed dashboard Y'') include a forward reference to the respective chapter that provides more details.10781079% ---------------------------------------------------------------------------------1080\section{Findings (SM5, SM6)}\label{sec:introduction:results}1081% ---------------------------------------------------------------------------------10821083\emph{Purpose and scope}.1084You close the introduction by clearly stating the evaluation setup you designed to evaluate the success of your study regarding the research objective, which comes in two steps.1085It is most likely a summary of your evaluation in \cref{sec:evaluation}.10861087\section*{Results (SM5)}10881089You state the evaluation method that is in line with your research question from \cref{sec:introduction:research-question} and summarize the measurements you obtained but you do not interpret them, i.e., you only report the numbers but you do not include judging statements.10901091\section*{Interpretation (SM6)}10921093You summarize your interpretation of the results and draw conclusions.1094State whether and to which degree the research question from \cref{sec:introduction:research-question} has been answered successfully or not.10951096Finally state briefly how much closer society and science have come in answering the general objective you outlined in \cref{sec:introduction:topic}.10971098%%% ===============================================================================1099\section{Background (SM1)}\label{sec:background}1100%%% ===============================================================================11011102\emph{Purpose and scope}.1103The background chapter has multiple roles.1104\begin{itemize}11051106\item \emph{Preliminaries.}1107It has to provide all (and exactly the) information that is necessary to understand the methodological and technical parts of your work in the specific area of study.1108Assume as starting point another student in your degree who did not study the specific subject you are studying but has the task to understand your work.1109Which concepts, terms, definitions, etc. does the student have to know?1110Which formulas, symbols, etc. are standard in this topic?1111Only introduce definitions if you actually need them in any of the subsequent chapters.11121113\item \emph{Related Work.}1114It has to provide a comprehensive discussion of all prior work in the area on this subject.1115Your discussion has to summarize these prior works and has to explain in which way the research question you are solving (\cref{sec:introduction:research-question}) has not bee solved yet because prior work had more limiting assumptions, addressed a different angle, their results are not complete etc. Depending on the subject you are studying, the related work part can be larger and warrant an entire chapter on its own, or be fully concluded within \cref{sec:introduction:state-of-art}.11161117You can close the related work discussion by clarifying the positioning and formulation of your research question (SM2) in relation to all the prior work, making more explicit whether you address an existing research question under different premises or whether you work on a modified or completely new research question.1118\end{itemize}11191120%%% ===============================================================================1121\section{Problem Exposition (optional)}\label{sec:problem-exposition}1122%%% ===============================================================================11231124\emph{Purpose and scope}.1125Introduce the problem context in more detail if \cref{sec:introduction:topic} does not provide all necessary information about the problem to follow the rest of the report.1126This can include further details on the data you studied, context assumptions and requirements, etc.11271128If you have to expose the problem in more detail here, then this chapter should also provide a more detailed explanation of research question and the method you are applying, i.e., you can now provide more concrete sub-problems compared to \cref{sec:introduction:research-question} more details for the method \cref{sec:introduction:method} because you now have explained the problem much better.1129A typical structure can be.11301131% ---------------------------------------------------------------------------------1132\section{Context/Business Understanding (SM1)}\label{sec:problem-exposition:context-understanding}1133% ---------------------------------------------------------------------------------11341135provide details11361137% ---------------------------------------------------------------------------------1138\section{Data Understanding (SM1)}\label{sec:problem-exposition:data-understanding}1139% ---------------------------------------------------------------------------------11401141provide details11421143% ---------------------------------------------------------------------------------1144\section{Detailed Research Questions (SM2)}\label{sec:problem-exposition:research-problems}1145% ---------------------------------------------------------------------------------11461147provide details based on \cref{sec:problem-exposition:context-understanding} and \ref{sec:problem-exposition:data-understanding}11481149% ---------------------------------------------------------------------------------1150\section{Detailed Method (SM3)}\label{sec:problem-exposition:research-method}1151% ---------------------------------------------------------------------------------11521153provide details based on \cref{sec:problem-exposition:context-understanding} and \ref{sec:problem-exposition:data-understanding}11541155%%% ===============================================================================1156\section{First Real Chapter addressing first Research Problem}\label{sec:problem1}1157%%% ===============================================================================11581159\emph{Purpose and scope}.1160After you stated research context (SM1), research problem (SM2), and research method (SM3) in \cref{sec:introduction} and possibly \cref{sec:problem-exposition}, the remainder of your entire report addresses execution (SM4), results (SM5), and interpretation (SM6).1161You usually do this by addressing various sub-problems again through scientific arguments following the 6 steps SM1-SM6.11621163Have a short chapter introduction that recalls and explains the first research problem of your thesis.1164The problem has to show up in the introduction in \cref{sec:introduction:research-question} or in \cref{sec:problem-exposition:research-problems} already.1165This provides the background (SM1) for this chapter while the first research problem of the thesis becomes the research question/hypothesis (SM2) for this chapter.11661167Next, explain in the chapter intro how you solve the research problem in this chapter by breaking it down in further sub-problems.1168By this, you outline the method (SM3) through which you are going to solve the problem of this chapter.1169This is necessary to give the reader guidance of what's to come in this chapter and how it fits into the thesis as a whole.1170Explain that you will address the first sub-problem in \cref{sec:problem1:subproblem1} and the second sub-problem in \cref{sec:problem1:subproblem2}, etc. The sections then provide the details for execution and results.11711172% ---------------------------------------------------------------------------------1173\section{First Sub-Problem}\label{sec:problem1:subproblem1}1174% ---------------------------------------------------------------------------------11751176\emph{The first paragraph describes the first sub-problem and develops the requirements a solution has to satisfy (SM2 for this section).}1177The requirements have to be based on the knowledge and reasoning developing in the preceding chapters and sections.1178Try to use an example to illustrate the problem and the desired properties of the solution.1179Check that every term/concept you use here has already been defined already in a previous section.1180If you cannot describe your problem without defining new terms, you may have to add another section before this one that develops the terms and concepts you need to explain the problem.11811182\emph{The second paragraph describes the method/approach how you address the problem (SM3 for this section).}1183Describe the method in a level of detail that allows another student to reproduce your steps.1184Make use of appendices % (see \cref{sec:appendix1})1185if certain details take too much space.11861187\emph{The third, fourth, and following paragraph provides details on applying the method or developing a new approach, i.e., execution (SM4) and may explain results (SM5)}, i.e. details on the steps needed to reproduce the results.11881189Results (SM5) can come in many forms, e.g., conceptual diagrams, algorithms, tables, charts, a list of articles from a literature research etc. You must reference them (``\cref{fig:my_label} shows.1190..'') and describe the results in text.1191If you use diagrams, tables, or charts, you cannot expect the reader to know what to you expect them to see in a diagram, table or chart.1192Describe to them how to read these, explain the meaning of particular elements, point out special observations.1193But you may only describe the results you must not interpret them.1194Make use of appendices if certain details take too much space.11951196\begin{figure}1197\centering1198%%%\includegraphics{/path/to/figure.pdf}1199\caption{A scientific figure that has to be explained in the text}1200\label{fig:my_label}1201\end{figure}12021203\emph{After describing the results, you may interpret them (SM6).}1204Here you can infer what a particular observation means (for you), how it can be applied, or what others can do with it.1205You must not write interpretations before completely describing your results.1206This is a common mistake done by most beginner writers.1207You want to quickly get to the point, which is the final finding or interpretation.1208But you forget that your reader does not understand yet what you are interpreting - they do not know yet what you do know.1209An interpretation can only be followed after all results have been described.1210The interpretation must be based on the written description only.1211Then you can be sure that your readers can follow your interpretation and reach the same conclusions as you have.12121213Ideally, your interpretation leads to the next sub-problem in \cref{sec:problem1:subproblem2}.12141215% ---------------------------------------------------------------------------------1216\section{Second Sub-Problem}\label{sec:problem1:subproblem2}1217% ---------------------------------------------------------------------------------12181219You now build on the solution to the first sub-problem of \cref{sec:problem1:subproblem1} (SM1) and recall second sub-problem (SM2, you detailed in the introduction of this chapter) and follow the same pattern as before (SM3-SM6).12201221Note that not all sections may not include all parts SM1-SM6 in all detail.1222Some sections do not require to repeatedly state the background (SM1) or the research problem (SM2) if they were already clearly defined in a previous section.1223Sometimes, a section is only dedicated to describing the method (SM3) and execution (SM4) and does not contain any results or interpretations.1224Sometimes results (SM5) and interpretations (SM6) only come in the evaluation chapter.12251226What is important for you when you are writing a scientific argument is not to slavishly have SM1-SM6 in each section explicitly, but that you are always fully aware of the following:1227%1228\begin{itemize}1229\item Which step of a scientific argument am I currently writing (SM1, SM2, ..., SM6)?1230\item Does the step that I am writing come in the right order, i.e., if you are writing about execution (SM4, e.g., details of building a model), is there a preceding paragraph or section that describes the method (SM3) and is that one preceded by a clear statement of the (sub-)problem addressed (SM2)?1231\item Are you really \emph{not} writing interpretation SM6 before SM5, SM4, or SM3?1232\item Is it clear to the reader which part of the scientific argument you are currently making?1233\end{itemize}12341235%%% ===============================================================================1236\section{Second Real Chapter}\label{sec:sub-problem2}1237%%% ===============================================================================12381239Have a short chapter introduction that recalls what you already achieved in \cref{sec:problem1} and explain the second research problem of your thesis.1240The problem has to show up in the introduction in \cref{sec:introduction:research-question} or in \cref{sec:problem-exposition:research-problems} already.1241etc.12421243%%% ===============================================================================1244\section{Evaluation}\label{sec:evaluation}1245%%% ===============================================================================12461247\emph{Purpose and scope}.1248The evaluation chapter should be the most formal and rigorously structured chapter of your thesis as the validity of your evaluation argument depends on it.12491250% ---------------------------------------------------------------------------------1251\section{Objective (SM2)}\label{sec:evaluation:objective}1252% ---------------------------------------------------------------------------------12531254Clearly state what you want to evaluate and what you want to measure.12551256% ---------------------------------------------------------------------------------1257\section{Setup (SM3)}\label{sec:evaluation:setup}1258% ---------------------------------------------------------------------------------12591260State which data, participants, tools, etc. you chose and why.1261Clearly state how you measure outcomes and how you compare them to baselines, reference groups, etc.12621263% ---------------------------------------------------------------------------------1264\section{Execution (SM4)}\label{sec:evaluation:execution}1265% ---------------------------------------------------------------------------------12661267Provide all details on the execution that are necessary to allows another person to reproduce your results at a later point.12681269% ---------------------------------------------------------------------------------1270\section{Results (SM5)}\label{sec:evaluation:results}1271% ---------------------------------------------------------------------------------12721273You only report the measurements.1274You must present and reference them (``\cref{fig:my_label2} shows.1275..'') and describe the results in text.1276If you use diagrams, tables, or charts, you cannot expect the reader to know what to you expect them to see in a diagram, table or chart.1277Describe to them how to read these, explain the meaning of particular elements, point out special observations.1278But you may only describe the results you must not interpret them.1279Make use of appendices if certain details take too much space.12801281\begin{figure}1282\centering1283%%%\includegraphics{/path/to/figure.pdf}1284\caption{Another scientific figure that has to be explained in the text}1285\label{fig:my_label2}1286\end{figure}12871288% ---------------------------------------------------------------------------------1289\section{Discussion (SM6)}\label{sec:evaluation:discussion}1290% ---------------------------------------------------------------------------------12911292An interpretation can only be followed after all results have been described.1293The interpretation must be based on the written description in \cref{sec:evaluation:results} only.1294Then you can be sure that your readers can follow your interpretation and reach the same conclusions as you have.129512961297\chapter{LaTeX Hinweise}1298\label{sec:latexhints}12991300% Benötigt für eine korrekte Darstellung der Hinweise im erzeugten PDF1301\newcount\LTGbeginlineexample1302\newcount\LTGendlineexample1303\newenvironment{ltgexample}%1304{\LTGbeginlineexample=\numexpr\inputlineno+1\relax}%1305{\LTGendlineexample=\numexpr\inputlineno-1\relax%1306\tcbinputlisting{%1307listing only,1308listing file=\currfilepath,1309colback=green!5!white,1310colframe=green!25,1311coltitle=black!90,1312coltext=black!90,1313left=8mm,1314title=Zugehöriger \LaTeX{}-Quelltext aus \texttt{\currfilepath},1315minted language=TeX,1316minted style=vs,1317minted options={1318fontsize=\footnotesize,1319firstline=\the\LTGbeginlineexample,1320lastline=\the\LTGendlineexample,1321firstnumber=\the\LTGbeginlineexample,1322breaklines,1323linenos,1324numbersep=8pt1325}1326}1327}%13281329Hier sollen allgemeine \LaTeX-Hinweise gegeben werden, damit man Minimalbeispiele vorliegen hat, um sofort loszulegen.13301331\section{Trennung von Absätzen}13321333\begin{ltgexample}1334Pro Satz eine neue Zeile.1335Das ist wichtig, um sauber versionieren zu können.1336In LaTeX werden Absätze durch eine Leerzeile getrennt.1337Analogie zu Word: Bei Word werden neue Absätze durch einmal Eingabetaste herbeigeführt.1338Dies führt bei LaTeX jedoch nicht zu einem neuen Absatz, da LaTeX direkt aufeinanderfolgende Zeilen zu einer Zeile zusammenfügt.1339Mächte man nun einen Absatz haben, muss man zweimal die Eingabetaste drücken.1340Dies führt zu einer leeren Zeile.1341In Word gibt es die Funktion Großschreibetaste und Eingabetaste gleichzeitig.1342Wenn man dies drückt, wird einer harter Umbruch erzwungen.1343Der Text fängt am Anfang der neuen Zeile an.1344In LaTeX erreicht man dies durch Doppelbackslashes (\textbackslash\textbackslash) erzeugt.1345\\1346Dies verwendet man quasi nie.13471348Folglich werden neue Abstäze insbesondere \emph{nicht} durch Doppelbackslashes erzeugt.1349Beispielsweise begann der letzte Satz in einem neuen Absatz.1350Eine ausführliche Motivation hierfür findet sich in \url{http://loopspace.mathforge.org/HowDidIDoThat/TeX/VCS/#section.3}.1351\end{ltgexample}13521353Möchte man die Art des Absatzes ändern, so kann man die Dokumentklassenoption \texttt{parskip} verwenden.1354Beispielsweise kann man mit \texttt{parskip=off} erreichen, dass statt eines freien Bereichs die erste Zeile des Absatzes eingezogen wird.13551356\section{Notes separated from the text}13571358The package mindflow enables writing down notes and annotations in a way so that they are separated from the main text.13591360\begin{ltgexample}1361\begin{mindflow}1362This is a small note.1363\end{mindflow}1364\end{ltgexample}13651366\section{Handling TODOs}13671368\begin{ltgexample}1369\textmarker{Markierter Text.}1370\end{ltgexample}13711372Bei \verb1\textmarker1 wird nur die Textfarbe geändert, da dies auch bei einigen Worten gut funktioniert.13731374\begin{ltgexample}1375\textcomment{Markierter Text.}{Kommentar dazu.}1376\end{ltgexample}13771378\begin{ltgexample}1379\hl{In Gelb hervorgehoben.}1380Provided indirectly by pdfcomment.sty (soulpos).1381\end{ltgexample}13821383\begin{ltgexample}1384\modified{Manuelle Markierung für Text, der seit der letzten Version geändert wurde.}1385\end{ltgexample}13861387\begin{ltgexample}1388Das ist ein Text.1389\change{FL1: Text angepasst}{Geänderter Text}.1390\end{ltgexample}13911392\begin{ltgexample}1393Hier nur ein Kommentar\sidecomment{Kommentar}.1394\end{ltgexample}13951396\begin{ltgexample}1397\todo{Hier muss noch kräftig Text produziert werden}1398\end{ltgexample}13991400\section{Hyphenation}14011402\LaTeX{} automatically hyphenates words.1403When using \href{https://ctan.org/pkg/microtype}{microtype}, there should be fewer hyphenations than in other settings.1404It might be necessary to tweak the hyphenations nevertheless.1405Here are some hints:14061407\begin{ltgexample}1408In case you write \enquote{application-specific}, then the word will only be hyphenated at the dash.1409You can also write \verb1applica\allowbreak{}tion-specific1 (result: applica\allowbreak{}tion-specific), but this is much more effort.14101411You can now write words containing hyphens which are hyphenated at other places in the word.1412For instance, \verb1application"=specific1 gets application"=specific.1413This is enabled by an additional configuration of the babel package.1414\end{ltgexample}14151416\section{Typesetting Units}14171418\begin{ltgexample}1419Numbers can be written plain text (such as 100), by using the \href{https://ctan.org/pkg/siunitx}{siunitx} package as follows:1420\SI{100}{\km\per\hour},1421or by using plain \LaTeX{} (and math mode):1422$100 \frac{\mathit{km}}{h}$.1423\end{ltgexample}14241425\begin{ltgexample}1426\SI{5}{\percent} of \SI{10}{kg}1427\end{ltgexample}14281429\begin{ltgexample}1430Numbers are automatically grouped: \num{123456}.1431\end{ltgexample}14321433\section{Surrounding Text by Quotes}14341435\begin{ltgexample}1436Please use the \enquote{enquote command} to quote something.1437Quoting with "`quote"' or ``quote'' also works.14381439\end{ltgexample}14401441\section{Cleveref examples}1442\label{sec:ex:cref}14431444Cleveref demonstration: Cref at beginning of sentence, cref in all other cases.14451446\begin{figure}1447\centering1448\includegraphics[width=.75\linewidth]{example-image-a}1449\caption{Example figure for cref demo}1450\label{fig:ex:cref}1451\end{figure}14521453\begin{table}1454\centering1455\begin{tabular}{ll}1456\toprule1457Heading1 & Heading2 \\1458\midrule1459One & Two \\1460Thee & Four \\1461\bottomrule1462\end{tabular}1463\caption{Example table for cref demo}1464\label{tab:ex:cref}1465\end{table}14661467\begin{ltgexample}1468\Cref{fig:ex:cref} shows a simple fact, although \cref{fig:ex:cref} could also show something else.14691470\Cref{tab:ex:cref} shows a simple fact, although \cref{tab:ex:cref} could also show something else.14711472\Cref{sec:ex:cref} shows a simple fact, although \cref{sec:ex:cref} could also show something else.1473\end{ltgexample}14741475\section{Abbildungen}14761477\begin{ltgexample}1478\Cref{fig:label} zeigt etwas Interessantes14791480\begin{figure}1481\centering1482Füge deine Abbildung hier ein.1483\caption{Bildunterschrift.}1484\label{fig:label}1485\end{figure}1486\end{ltgexample}14871488\section{Sub Figures}14891490An example of two sub figures is shown in \cref{fig:two_sub_figures}.14911492\begin{ltgexample}1493\begin{figure}[!b]1494\centering1495\subfloat[Case I]{\includegraphics[width=.4\linewidth]{example-image-a}%1496\label{fig:first_case}}1497\hfil1498\subfloat[Case II]{\includegraphics[width=.4\linewidth]{example-image-b}%1499\label{fig:second_case}}1500\caption{Example figure with two sub figures.}1501\label{fig:two_sub_figures}1502\end{figure}1503\end{ltgexample}15041505\section{Tables}15061507\begin{ltgexample}1508\begin{table}1509\caption{Simple Table}1510\label{tab:simple}1511\centering1512\begin{tabular}{ll}1513\toprule1514Heading1 & Heading2 \\1515\midrule1516One & Two \\1517Thee & Four \\1518\bottomrule1519\end{tabular}1520\end{table}1521\end{ltgexample}15221523\begin{ltgexample}1524% Source: https://tex.stackexchange.com/a/468994/90751525\begin{table}1526\caption{Table with diagonal line}1527\label{tab:diag}1528\begin{center}1529\begin{tabular}{|l|c|c|}1530\hline1531\diagbox[width=10em]{Diag \\Column Head I}{Diag Column\\Head II} & Second & Third \\1532\hline1533& foo & bar \\1534\hline1535\end{tabular}1536\end{center}1537\end{table}1538\end{ltgexample}153915401541\section{Source Code}15421543\href{https://github.com/gpoore/minted}{minted} is a sophisticated package to enable properly highlighted listings.1544It uses the \href{http://pygments.org/}{pygments} library, which in turn requires Python.15451546\begin{ltgexample}1547\Cref{lst:XML} shows source code written in XML.1548\refline{line:comment} contains a comment.15491550\begin{listing}[htbp]1551\begin{minted}[linenos=true,escapeinside=||]{xml}1552<listing name="example">1553<!-- comment --> |\labelline{line:comment}|1554<content>not interesting</content>1555</listing>1556\end{minted}1557\caption{Example XML listing using minted}1558\label{lst:XML}1559\end{listing}1560\end{ltgexample}15611562One can also typeset JSON as shown in \cref{lst:flJSON}.15631564\begin{ltgexample}1565\begin{listing}[htbp]1566\begin{minted}[linenos=true,escapeinside=||]{json}1567{1568key: "value"1569}1570\end{minted}1571\caption{Example JSON listing using minted}1572\label{lst:flJSON}1573\end{listing}1574\end{ltgexample}15751576Java is also possible as shown in \cref{lst:flJava}.15771578\begin{ltgexample}1579\begin{listing}[htbp]1580\begin{minted}[linenos=true,escapeinside=||]{java}1581public class Hello {1582public static void main (String[] args) {1583System.out.println("Hello World!");1584}1585}1586\end{minted}1587\caption{Java code rendered using minted}1588\label{lst:flJava}1589\end{listing}1590\end{ltgexample}15911592\section{Itemization}15931594One can list items as follows:15951596\begin{ltgexample}1597\begin{itemize}1598\item Item One1599\item Item Two1600\end{itemize}1601\end{ltgexample}16021603With the package paralist, one can create itemizations with lesser spacing:16041605\begin{ltgexample}1606\begin{compactitem}1607\item Item One1608\item Item Two1609\end{compactitem}1610\end{ltgexample}16111612One can enumerate items as follows:16131614\begin{ltgexample}1615\begin{enumerate}1616\item Item One1617\item Item Two1618\end{enumerate}1619\end{ltgexample}16201621With the package paralist, one can create enumerations with lesser spacing:16221623\begin{ltgexample}1624\begin{compactenum}1625\item Item One1626\item Item Two1627\end{compactenum}1628\end{ltgexample}16291630With paralist, one can even have all items typeset after each other and have them clean in the TeX document:16311632\begin{ltgexample}1633\begin{inparaenum}1634\item All these items...1635\item ...appear in one line1636\item This is enabled by the paralist package.1637\end{inparaenum}1638\end{ltgexample}16391640\section{Abkürzungen}16411642Mit \verb+\gls{...}+ können Abkürzungen eingebaut werden, beim ersten Aufrufen wird die lange Form eingesetzt.1643Beim wiederholten Verwenden von \verb+\gls{...}+ wird automatisch die Kurzform angezeigt.1644Außerdem wird die Abkürzung automatisch in die Abkürzungsliste eingefügt.1645Mit \verb+\glspl{...}+ wird die Pluralform verwendet.1646Möchte man, dass bei der ersten Verwendung direkt die Kurzform erscheint, so kann man mit \verb+\glsunset{...}+ eine Abkürzung als bereits verwendet markieren.1647Das Gegenteil erreicht man mit \verb+\glsreset{...}+.16481649Definiert werden Abkürzungen in der Datei \textit{abbreviationstex} mithilfe von \verb+\newacronym{...}{...}{...}+.16501651Mehr Infos unter: \url{https://ctan.org/pkg/bib2gls}.16521653\begin{ltgexample}1654Beim ersten Durchlauf betrug die \gls{fr} 5.1655Beim zweiten Durchlauf war die \gls{fr} 3.1656Die Pluralform sieht man hier: \glspl{er}.1657Um zu demonstrieren, wie das Abkürzungsverzeichnis bei längeren Beschreibungstexten aussieht, muss hier noch \glspl{rdbms} erwähnt werden.16581659\gls{dante} is a local \TeX\ user group.1660The German-speaking local \TeX\ user group is \gls{dante}.1661A \gls{gp} is a medical doctor.1662I went to my surgery to see the \gls{gp}.1663\end{ltgexample}16641665\section{Other Features}16661667\begin{ltgexample}1668The words \enquote{workflow} and \enquote{dwarflike} can be copied from the PDF and pasted to a text file.1669\end{ltgexample}16701671\begin{ltgexample}1672The symbol for powerset is now correct: $\powerset$ and not a Weierstrass p ($\wp$).16731674$\powerset({1,2,3})$1675\end{ltgexample}16761677\begin{ltgexample}1678Brackets work as designed:1679<test>1680One can also input backticks in verbatim text: \verb|`test`|.1681\end{ltgexample}168216831684\section{Varioref examples}1685\label{sec:ex:vref}16861687Varioref demonstration: Vref at beginning of sentence, vref in all other cases.16881689\begin{ltgexample}1690\Vref{fig:ex:cref} shows a simple fact, although \vref{fig:ex:cref} could also show something else.16911692\Vref{tab:ex:cref} shows a simple fact, although \vref{tab:ex:cref} could also show something else.16931694\Vref{sec:ex:cref} shows a simple fact, although \vref{sec:ex:cref} could also show something else.1695\end{ltgexample}16961697\section{Citations}16981699When referencing something from the bibliography file, it will automatically appear in the references section.1700If a reference is not cited, it is not appearing there.17011702\begin{ltgexample}1703Standard case: Citing indirectly citing something~\cite{mwe}.1704In case one wants to name the author: \textcite{mwe} shows a minimal \LaTeX{} example.1705\end{ltgexample}17061707Note that \texttt{\textbackslash textcite\{mwe\}} prints both the author and the reference to the bibliography entry.17081709Remember that you have to call \texttt{biber main-german} to generate the bibliography data for \texttt{lualatex}.1710You will need to run \texttt{lualatex} twice to ensure that the page numbers are updated correctly.171117121713In the bibliography, use \texttt{\textbackslash textsuperscript} for \enquote{st}, \enquote{nd}, \ldots:1714E.g., \enquote{The 2\textsuperscript{nd} conference on examples}.1715When you use \href{https://www.jabref.org}{JabRef}, you can use the clean up command to achieve that.1716See \url{https://help.jabref.org/en/CleanupEntries} for an overview of the cleanup functionality.17171718\section{Miscellaneous Examles}1719\label{ssec:example}17201721Referencetest: \Cref{ssec:example}, \cref{fig:Abbildung} und \cref{alg:example}.17221723\begin{ltgexample}1724Checkmark: \dingcheck.1725Crossmark: \dingcross.1726\end{ltgexample}17271728\begin{figure}1729\missingfigure{}1730\caption{Abbildung}1731\label{fig:Abbildung}1732\end{figure}17331734\begin{landscape}1735\begin{figure}1736\missingfigure{}1737\caption{Gedrehte Abbildung}1738\label{fig:AbbildungGedreht}1739\end{figure}1740\end{landscape}17411742\subsection{Algorithmen}17431744\begin{algorithm}1745\caption{$algo$}1746\label{alg:example}1747\begin{algorithmic}[1]1748\State $a \gets 0$1749\State State 2\label{alg1:state2}1750\end{algorithmic}1751\end{algorithm}17521753\begin{algorithm}1754\caption{Algorithmus 2}1755\label{alg:example2}1756\begin{algorithmic}[1]1757\State $a \gets 0$1758\State State 2\label{alg2:state2}1759\end{algorithmic}1760\end{algorithm}17611762\Cref{alg:example} hat bereits einen Algorithmus gezeigt.1763Test der Zeilenreferenzierung: Zeile~\ref{alg1:state2} (\cref{alg:example}) und Zeile~\ref{alg2:state2} (\cref{alg:example2}).17641765\subsection{Definitionen}1766\begin{definition}[Title]1767\label{def:def1}1768Definition Text1769\end{definition}17701771\Cref{def:def1} zeigt \ldots17721773\subsection{Aufzählungen}17741775\begin{enumerate}[label=\alph*)]1776\item a1777\item b1778\item c1779\item d1780\end{enumerate}17811782Equivalent to paralist's inparaenum:1783\begin{enumerate*}[label=\alph*)]1784\item a1785\item b1786\item c1787\item d1788\end{enumerate*}17891790\begin{description}1791\item[first] Erstens1792\item[second] Zweitens1793\item[third] Drittens1794\end{description}17951796\begin{description}1797\item[\texttt{first}] Erstens1798\item[\texttt{second}] Zweitens1799\item[\texttt{third}] Drittens1800\end{description}18011802%works only if package enumitem is loaded1803\begin{description}[font=\ttfamily]1804\item[first] Erstens1805\item[second] Zweitens1806\item[third] Drittens1807\end{description}18081809\begin{description}[style=unboxed]1810\item[first label with a long description text breaking over one line. Enabled by enumitem package] Erstens1811\item[second] Zweitens1812\item[third] Drittens1813\end{description}18141815\begin{Description}1816\item[first label with a long description text breaking over one line. Defined in template.tex] Erstens1817\item[second] Zweitens1818\item[third] Drittens1819\end{Description}18201821\begin{itemize}1822\item Erstens1823\item Zweitens1824\item Drittens1825\end{itemize}18261827Optionaler Parameter ändert den Marker, der vorangestellt ist.1828Siehe \url{http://www.weinelt.de/latex/item.html}.1829\begin{itemize}1830\item[A] Erstens1831\item[B] Zweitens1832\item[C] Drittens1833\end{itemize}18341835Falsche Benutzung des optionalen Parameters wie folgt:1836\begin{itemize}1837\item[first] Erstens1838\item[second] Zweitens1839\item[third] Drittens1840\end{itemize}1841Dabei ist zu beachten, dass es sich bei Einbindung von \texttt{enumitem} anders verhält als bei \texttt{paralist}.18421843\subsection{fquote}18441845\begin{fquote}[T.\ Informatiker]1846Bis nächsten Freitag ist das Programm fertig.1847\end{fquote}18481849\begin{gfquote}{T.\ Informatiker}1850Bis nächsten Freitag ist das Programm fertig.1851\end{gfquote}18521853%%% ===============================================================================1854\chapter{Zusammenfassung und Ausblick}\label{sec:conclusion}1855%%% ===============================================================================18561857Your conclusions are not just a factual summary of your work, but they position, interpret, and defend your findings against the state of the art that you discussed in \cref{sec:introduction:state-of-art}.1858You specifically outline which concrete findings or methodological contributions advance our knowledge towards the general objective you introduced in \cref{sec:introduction:topic}.1859Objectively discuss which parts you solved and in which parts you failed.18601861You should explicitly discuss limitations and shortcomings of your work and detail what kind of future studies are needed to overcome these limitations.1862Be specific in the sense that your arguments for future work should be based on concrete findings and insights you obtained in your report.186318641865%%% ===============================================================================1866%%% Bibliography1867%%% ===============================================================================186818691870\printbibliography18711872% Enfore empty line after bibliography1873\ \\1874%1875\noindent1876Alle Links wurden zuletzt am 29.03.2021 geprüft.18771878%%% ===============================================================================18791880%\IfDefined{printindex}{\printindex}1881%\IfDefined{printnomenclature}{\printnomenclature}18821883\clearpage1884\appendix1885% 'Anhang' ins Inhaltsverzeichnis1886%\phantomsection1887%\addcontentsline{toc}{chapter}{Anhang}1888\addcontentsline{toc}{part}{Anhang}18891890%%% ===============================================================================1891\chapter{My first appendix}\label{sec:appendix1}1892%%% ===============================================================================18931894\lipsum[1]18951896\pagestyle{empty}1897\renewcommand*{\chapterpagestyle}{empty}1898\clearpage1899\backmatter1900\thispagestyle{empty}19011902\vspace*{\fill}1903\pagestyle{empty}19041905{\normalsize1906\begin{center}\textbf{Eidesstattliche Erklärung}\end{center}1907\blindtext[1]1908\vspace*{1cm}\\1909Hamburg, den XX.XX.20XX1910\hspace*{\fill}\begin{tabular}{@{}l@{}}\hline1911\makebox[5cm]{Vorname Nachname}1912\end{tabular}1913\vspace*{3cm}19141915%TODO Dies ist optional, ggf. löschen!1916\begin{center}\textbf{Veröffentlichung}\end{center}1917\blindtext[1]1918\vspace*{1cm}\\1919Hamburg, den XX.XX.20XX1920\hspace*{\fill}\begin{tabular}{@{}l@{}}\hline1921\makebox[5cm]{Vorname Nachname}1922\end{tabular}1923}1924\vspace*{\fill}1925\end{document}192619271928