Path: blob/main/main-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% Code Listings285\usepackage{listings}286287\definecolor{eclipseStrings}{RGB}{42,0.0,255}288\definecolor{eclipseKeywords}{RGB}{127,0,85}289\colorlet{numb}{magenta!60!black}290291% JSON definition292% Source: https://tex.stackexchange.com/a/433961/9075293294\lstdefinelanguage{json}{295basicstyle=\normalfont\ttfamily,296commentstyle=\color{eclipseStrings}, % style of comment297stringstyle=\color{eclipseKeywords}, % style of strings298numbers=left,299numberstyle=\scriptsize,300stepnumber=1,301numbersep=8pt,302showstringspaces=false,303breaklines=true,304frame=lines,305% backgroundcolor=\color{gray}, %only if you like306string=[s]{"}{"},307comment=[l]{:\ "},308morecomment=[l]{:"},309literate=310*{0}{{{\color{numb}0}}}{1}311{1}{{{\color{numb}1}}}{1}312{2}{{{\color{numb}2}}}{1}313{3}{{{\color{numb}3}}}{1}314{4}{{{\color{numb}4}}}{1}315{5}{{{\color{numb}5}}}{1}316{6}{{{\color{numb}6}}}{1}317{7}{{{\color{numb}7}}}{1}318{8}{{{\color{numb}8}}}{1}319{9}{{{\color{numb}9}}}{1}320}321322\lstset{323% everything between (* *) is a latex command324escapeinside={(*}{*)},325%326language=json,327%328showstringspaces=false,329%330basicstyle=\footnotesize\ttfamily,331%332commentstyle=\slshape,333%334% Default: \rmfamily, damit werden die Strings im Quellcode hervorgehoben. Zusaetzlich evtl.: \scshape oder \rmfamily durch \ttfamily ersetzen. Dann sieht's aus, wie bei fancyvrb335stringstyle=\ttfamily,336%337breaklines=true, % Zeilen werden umbrochen338%339breakatwhitespace=true,340%341% Alternative: fixed342columns=flexible,343%344tabsize=2, % Groesse von Tabs345%346numbers=left,347%348numberstyle=\tiny,349%350basewidth=.5em,351%352xleftmargin=.5cm,353%354% aboveskip=0mm,355%356% belowskip=0mm,357%358captionpos=b359}360361\ifpdftex362% Ermögliche Umlaute falls \lstinputputlisting genutzt wird363% Siehe https://stackoverflow.com/a/29260603/873282 und https://tex.stackexchange.com/a/24532/9075 für Details.364% listingsutf8 hat im Juni 2020 nicht funktioniert.365\lstset{extendedchars=true, literate=366{á}{{\'a}}1 {é}{{\'e}}1 {í}{{\'i}}1 {ó}{{\'o}}1 {ú}{{\'u}}1367{Á}{{\'A}}1 {É}{{\'E}}1 {Í}{{\'I}}1 {Ó}{{\'O}}1 {Ú}{{\'U}}1368{à}{{\`a}}1 {è}{{\`e}}1 {ì}{{\`i}}1 {ò}{{\`o}}1 {ù}{{\`u}}1369{À}{{\`A}}1 {È}{{\'E}}1 {Ì}{{\`I}}1 {Ò}{{\`O}}1 {Ù}{{\`U}}1370{ä}{{\"a}}1 {ë}{{\"e}}1 {ï}{{\"i}}1 {ö}{{\"o}}1 {ü}{{\"u}}1371{Ä}{{\"A}}1 {Ë}{{\"E}}1 {Ï}{{\"I}}1 {Ö}{{\"O}}1 {Ü}{{\"U}}1372{â}{{\^a}}1 {ê}{{\^e}}1 {î}{{\^i}}1 {ô}{{\^o}}1 {û}{{\^u}}1373{Â}{{\^A}}1 {Ê}{{\^E}}1 {Î}{{\^I}}1 {Ô}{{\^O}}1 {Û}{{\^U}}1374{Ã}{{\~A}}1 {ã}{{\~a}}1 {Õ}{{\~O}}1 {õ}{{\~o}}1375{œ}{{\oe}}1 {Œ}{{\OE}}1 {æ}{{\ae}}1 {Æ}{{\AE}}1 {ß}{{\ss}}1376{ű}{{\H{u}}}1 {Ű}{{\H{U}}}1 {ő}{{\H{o}}}1 {Ő}{{\H{O}}}1377{ç}{{\c c}}1 {Ç}{{\c C}}1 {ø}{{\o}}1 {å}{{\r a}}1 {Å}{{\r A}}1378}379\fi380381\lstloadlanguages{% Check dokumentation for further languages...382%[Visual]Basic383%Pascal384%C385%C++386%XML387%HTML388}389390% For easy quotations: \enquote{text}391% This package is very smart when nesting is applied, otherwise textcmds (see below) provides a shorter command392\usepackage[autostyle=true]{csquotes}393394% Enable using "`quote"' - see https://tex.stackexchange.com/a/150954/9075395\defineshorthand{"`}{\openautoquote}396\defineshorthand{"'}{\closeautoquote}397398% bessere Abstaende innerhalb der Tabelle (Layout))399% -------------------------------------------------400% \toprule, \midrule, \bottomrule401% Doc: https://texdoc.org/serve/booktabs/0402\usepackage{booktabs}403404% Extended enumerate, such as \begin{compactenum}405\usepackage{paralist}406\usepackage[407backend = biber, %biber does not work with 64x versions alternative: bibtex8; minalphanames only works with biber backend408sortcites = true,409bibstyle = alphabetic,410citestyle = alphabetic,411giveninits = true,412useprefix = false, %"von, van, etc." will be printed, too. See below.413minnames = 1,414minalphanames = 3,415maxalphanames = 4,416maxbibnames = 99,417maxcitenames = 2,418natbib = true,419eprint = true,420url = true,421doi = true, %source: http://tex.stackexchange.com/a/23118/9075422isbn = true, %source: http://tex.stackexchange.com/a/23118/9075423backref = true]{biblatex}424425% enable more breaks at URLs. See https://tex.stackexchange.com/a/134281.426\setcounter{biburllcpenalty}{7000}427\setcounter{biburlucpenalty}{8000}428429\bibliography{bibliography}430%\addbibresource[datatype=bibtex]{\bibliography{bibliography}}431432% Do not put "vd" in the label, but put it at "\citeauthor"433% Source: http://tex.stackexchange.com/a/30277/9075434\makeatletter435\AtBeginDocument{\toggletrue{blx@useprefix}}436\AtBeginBibliography{\togglefalse{blx@useprefix}}437\makeatother438439% Thin spaces between initials440% http://tex.stackexchange.com/a/11083/9075441\renewrobustcmd*{\bibinitdelim}{\,}442443% Keep first and last name together in the bibliography444% http://tex.stackexchange.com/a/196192/9075445\renewcommand*\bibnamedelimc{\addnbspace}446\renewcommand*\bibnamedelimd{\addnbspace}447448% Replace last "and" by comma in bibliography449% See http://tex.stackexchange.com/a/41532/9075450\AtBeginBibliography{%451\renewcommand*{\finalnamedelim}{\addcomma\space}%452}453454% enable hyperlinked author names when using \citeauthor455% source: http://tex.stackexchange.com/a/75916/9075456\DeclareCiteCommand{\citeauthor}457{458\boolfalse{citetracker}%459\boolfalse{pagetracker}%460\usebibmacro{prenote}461}462{463\ifciteindex464{\indexnames{labelname}}465{}%466\printtext[bibhyperref]{\printnames{labelname}}467}468{\multicitedelim}469{\usebibmacro{postnote}}470471% Farbige Tabellen472% ----------------473% Das Paket colortbl wird inzwischen automatisch durch xcolor geladen474%475% Erweiterte Funktionen innerhalb von Tabellen476% --------------------------------------------477%%% Doc: http://mirror.ctan.org/tex-archive/macros/latex/contrib/multirow/multirow.sty478\usepackage{multirow} % Mehrfachspalten479%480%%% Doc: Documentation inside dtx Package481\usepackage{dcolumn} % Ausrichtung an Komma oder Punkt482483%%% Doc: http://mirror.ctan.org/tex-archive/macros/latex/contrib/supertabular/supertabular.pdf484%\usepackage{supertabular}485486%%% Fussnoten/Endnoten ===================================================487488%%% Doc: http://mirror.ctan.org/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf489%490\usepackage[491bottom, % Footnotes appear always on bottom. This is necessary specially when floats are used492stable, % Make footnotes stable in section titles493% perpage, % Reset on each page494% para, % Place footnotes side by side of in one paragraph.495% side, % Place footnotes in the margin496ragged, % Use RaggedRight497% norule, % Suppress rule above footnotes498multiple, % Rearrange multiple footnotes intelligent in the text.499% symbol, % Use symbols instead of numbers500]{footmisc}501502\counterwithout{footnote}{chapter} % Continuous numbering of footnotes across chapters503504\interfootnotelinepenalty=10000 % Verhindert das Fortsetzen von Fussnoten auf der gegenüberligenden Seite505506% EN: Put footnotes below floats507% DE: Fußnoten unter Gleitumgebungen ("floats") platzieren508% Source: https://tex.stackexchange.com/a/32993/9075509\usepackage{stfloats}510\fnbelowfloat511512% EN: Extended support for footnotes513% DE: Fußnoten514%515%\usepackage{dblfnote} %Zweispaltige Fußnoten516%517% Keine hochgestellten Ziffern in der Fußnote (KOMA-Script-spezifisch):518%\deffootnote[1.5em]{0pt}{1em}{\makebox[1.5em][l]{\bfseries\thefootnotemark}}519%520% Abstand zwischen Fußnoten vergrößern:521%\setlength{\footnotesep}{.85\baselineskip}522%523% EN: Following command disables the separting line of the footnote524% DE: Folgendes Kommando deaktiviert die Trennlinie zur Fußnote525%\renewcommand{\footnoterule}{}526%527%\addtolength{\skip\footins}{\baselineskip} % Abstand Text <-> Fußnote528529% DE: Fußnoten immer ganz unten auf einer \raggedbottom-Seite530% DE: fnpos kommt aus dem yafoot package531%\usepackage{fnpos}532%\makeFNbelow533%\makeFNbottom534535% TODO (and comment) configuration536%537% - \todo (from todo, easy-todo, todonotes) / \TODO (from fixmetodonotes) - for "normal" TODOs538% - \todofix - "important" TODOs539%540% - \textcomment - highlights text and has a hover comment541% - \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)542%543% - \missingfigure544%545% - \textmarker546% - \modified547% - \change - adresses a review comment548549% Enable nice comments550\usepackage{pdfcomment}551552\newcommand{\textcomment}[2]{\colorbox{yellow!60}{#1}\pdfcomment[color={0.234 0.867 0.211},hoffset=-6pt,voffset=10pt,opacity=0.5]{#2}}553554% Small PDF comment555% 1. Parameter: Comment556\newcommand{\sidecomment}[1]{\pdfcomment[color={0.045 0.278 0.643},voffset=4pt,icon=Note]{#1}}557% Disabled variant - for the final PDF558%\newcommand{\sidecomment}[1]{}559560\newcommand{\todo}[1]{TODO!\sidecomment{#1}}561562% Änderungen563%564% 1. Parameter: Review-Kommentar565% 2. Parameter: Neuer Text566\newcommand{\change}[2]{{\color{red}#2}\pdfcomment[color={0.234 0.867 0.211},voffset=8pt,opacity=0.5]{#1}}567% Disabled variant - for the final PDF568%\newcommand{\change}[2]{#2}569570% Define default commands571\makeatletter572\@ifundefined{missingfigure}{\newcommand{\missingfigure}{... missing figure ...}}{}573\@ifundefined{textcomment}{\newcommand{\textcomment}[2]{#1 \todo{#2}}}{}574\@ifundefined{sidecomment}{\newcommand{\sidecomment}[1]{\marginpar{#1}}}{}575\@ifundefined{todo}{\newcommand{\todo}[1]{\sidecomment{#1}}}{}576\@ifundefined{TODO}{\newcommand{\TODO}[1]{\todo{#1}}}{}577\@ifundefined{todofix}{\newcommand{\todofix}[1]{\todo{#1}}}{}578\@ifundefined{change}{\newcommand{\change}[2]{#1 $\rightarrow$ #2}}{}579\makeatother580581% Textmarker (Textfarbe rot)582\newcommand{\textmarker}[1]{{\color{red} #1}\xspace}583584% Modified (Text blau)585\newcommand{\modified}[1]{{\color{blue!60!black} #1}\xspace}586587\usepackage[group-minimum-digits=4,per-mode=fraction]{siunitx}588\addto\extrasgerman{\sisetup{locale = DE}}589590% See http://tex.stackexchange.com/a/83051/9075591% Normally, doesn't work with hyperref, but cleveref fixes that592\usepackage[ngerman]{varioref}593594595% 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 document596\usepackage{hyperref}597598% Enable hyperref without colors and without bookmarks599\hypersetup{600hidelinks,601colorlinks=true, % Links erhalten Farben statt Kaeten602raiselinks=true, % calculate real height of the link603allcolors=black,604pdfstartview=Fit,605breaklinks=true, % Links ueberstehen Zeilenumbruch606hypertexnames=false, % Fix jumping to algorithm line - http://tex.stackexchange.com/a/156404/9075607}608609% Enable correct jumping to figures when referencing610\usepackage[all]{hypcap}611612% Hint by https://tex.stackexchange.com/a/193370/9075 to suppress strange outputs of the babel package613% Example strange output: Package babel Info: Redefining ngerman shorthand "|614\usepackage{etoolbox}615\makeatletter616\patchcmd{\@decl@short}{\bbl@info}{\@gobble}{}{}617\makeatother618619620%%%621% Ermoeglicht es, Abbildungen um 90 Grad zu drehen622% Alternatives Paket: rotating Allerdings wird hier nur das Bild gedreht, während bei lscape auch die PDF-Seite gedreht wird.623%Das Paket lscape dreht die Seite auch nicht624\usepackage{pdflscape}625626\usepackage[caption=false,font=footnotesize]{subfig}627628% Alternative for making subfigures:629% Part of the caption package. See http://www.ctan.org/pkg/caption630% Ersetzt die Pakete subfigure und subfig - siehe https://tex.stackexchange.com/a/13778/9075631%632% (subfigure is outdated. subfig is maintained, but subcaption is better)633% See: http://tex.stackexchange.com/questions/13625/subcaption-vs-subfig-best-package-for-referencing-a-subfigure634%\usepackage[hypcap=true]{subcaption}635636\usepackage{mindflow}637638% https://ctan.org/pkg/algorithms639% Consists of two environments: algorithm and algorithmic640% Although oudated, it defines the "algorithm" float enviornment641% TODO: Define floating environment "algorithm" in other ways642\usepackage[chapter]{algorithm}643644% https://ctan.org/pkg/algpseudocodex645% Successor of algorithmicx; more modern than https://ctan.org/pkg/algorithms646\usepackage{algpseudocodex}647648\floatname{algorithm}{Algorithmus}649\renewcommand{\listalgorithmname}{Algorithmenverzeichnis}650651\newcommand{\commentchar}{\ensuremath{/\mkern-4mu/}}652\algrenewcommand{\algorithmiccomment}[1]{\hfill $\commentchar$ #1}653654% cleveref für cref statt autoref, da cleveref auch bei Definitionen funktioniert655\usepackage[capitalise,nameinlink,noabbrev]{cleveref}656657\crefname{table}{Tabelle}{Tabellen}658\Crefname{table}{Tabelle}{Tabellen}659\crefname{figure}{Abbildung}{Abbildungen}660\Crefname{figure}{Abbildung}{Abbildungen}661\crefname{equation}{Gleichung}{Gleichungen}662\Crefname{equation}{Gleichung}{Gleichungen}663\crefname{theorem}{Theorem}{Theoreme}664\Crefname{theorem}{Theorem}{Theoreme}665\crefname{listing}{Listing}{Listings}666\Crefname{listing}{Listing}{Listings}667\crefname{section}{Abschnitt}{Abschnitte}668\Crefname{section}{Abschnitt}{Abschnitte}669\crefname{paragraph}{Abschnitt}{Abschnitte}670\Crefname{paragraph}{Abschnitt}{Abschnitte}671\crefname{subparagraph}{Abschnitt}{Abschnitte}672\Crefname{subparagraph}{Abschnitt}{Abschnitte}673674\usepackage{lipsum}675676% For demonstration purposes only677% These packages can be removed when all examples have been deleted678\usepackage[math]{blindtext}679\usepackage{mwe}680\usepackage[realmainfile]{currfile}681\usepackage{tcolorbox}682\tcbuselibrary{listings}683684%introduce \powerset - hint by http://matheplanet.com/matheplanet/nuke/html/viewtopic.php?topic=136492&post_id=997377685\DeclareFontFamily{U}{MnSymbolC}{}686\DeclareSymbolFont{MnSyC}{U}{MnSymbolC}{m}{n}687\DeclareFontShape{U}{MnSymbolC}{m}{n}{688<-6> MnSymbolC5689<6-7> MnSymbolC6690<7-8> MnSymbolC7691<8-9> MnSymbolC8692<9-10> MnSymbolC9693<10-12> MnSymbolC10694<12-> MnSymbolC12%695}{}696\DeclareMathSymbol{\powerset}{\mathord}{MnSyC}{180}697698\addto\captionsngerman{%699\renewcommand*{\glossaryname}{Bedeutung}%700}701\usepackage[702translate=babel,703abbreviations, % create "abbreviations" glossary704nomain, % don't create "main" glossary705stylemods=longbooktabs % do the adjustments for the longbooktabs styles706]{glossaries-extra}707\setglossarystyle{long3col-booktabs}708709% Hint by https://tex.stackexchange.com/a/463188/9075710% \usepackage{glossary-longextra}711712% Following is required if the abbreviation list should be sorted automatically (\printglossary / \printglossaries)713% Not required, if we printed the entries in-order (using \printunsrtglossaries)714% Required to have the German chapter name % Source: https://tex.stackexchange.com/a/426392/9075715\makeglossaries716717\input{abbreviations}718719720\usepackage{xspace}721% Macht \xspace und \enquote kompatibel722\makeatletter723\xspaceaddexceptions{\grqq \grq \csq@qclose@i \} }724\makeatother725726% Enable hyphenation at other places as the dash.727% Example: applicaiton\hydash specific728\makeatletter729\newcommand{\hydash}{\penalty\@M-\hskip\z@skip}730% Definition of "= taken from http://mirror.ctan.org/macros/latex/contrib/babel-contrib/german/ngermanb.dtx731\makeatother732733\ifluatex734% Enable correct rendering of ligatures - provided by https://ctan.org/pkg/autotype735% See ADR-0008 for alternatives736\usepackage{autotype}737\fi738739% correct bad hyphenation here740\hyphenation{741Spe-zi-fi-ka-tion742In-te-gra-tion743An-for-de-rung An-for-de-run-gen744Be-nut-zer-ober-flä-che745Mes-sung-en746aus-zu-tau-schen747Lauf-zeit-in-for-ma-tionen748% May not be hypphenated749AROMA TOSCA BPMN OASIS OMG DMTF IT DevOps750}751752\input{commands}753754\usepackage{geometry}755% Package URL: https://ctan.org/pkg/scientific-thesis-cover756\usepackage[757title={Is Oil the future?},758author={Lars K.},759type=bachelor,760institute=iaas, % or other institute names - or just a plain string using {Demo\\Demo...}761course={Medieninformatik},762examiner={Prof.\ Dr.\ Uwe Fessor},763supervisor={Dipl.-Inf.\ Roman Tiker,\\Dipl.-Inf.\ Laura Stern,\\Otto Normalverbraucher,\ M.Sc.},764startdate={July 5, 2018},765enddate={January 5, 2019}766]{scientific-thesis-cover}767768769\ifpdftex770% Enable copy and paste of text from the PDF771% Only required for pdflatex. It "just works" in the case of lualatex.772% Alternative: cmap or mmap package773% mmap enables mathematical symbols, but does not work with the newtx font set774% See: https://tex.stackexchange.com/a/64457/9075775% 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-searchable776% Trouble shooting outlined at https://tex.stackexchange.com/a/100618/9075777%778% According to https://tex.stackexchange.com/q/451235/9075 this is the way to go779\input{glyphtounicode}780\pdfgentounicode=1781\fi782% DM: line-breaking-description env vom daniel w.783784% credit goes to daniel w. :-)785%% --- Descriptions with line breaks in labels ---------------------------------786\usepackage{calc}787788\newcommand*\Descriptionlabel[1]{%789\raisebox{0pt}[1ex][0pt]{790\makebox[\labelwidth][1]{791\parbox[t]{\labelwidth}{792\hspace{0pt}\textbf{#1:}}}}793}794795\newcommand*\Descriptionlabelx[1]{%796\parbox[t]{\textwidth}{797\textbf{#1}\\\mbox{}}798}799800\newenvironment{Description}{801\begin{list}{}{802\let\makelabel\Descriptionlabelx803\setlength\labelwidth{1em}804\setlength\leftmargin{\labelwidth+\labelsep}805}806}807{808\end{list}809}810811% globally change line spacing of lists812% paralist has suspended development since 10 years.813% enumitem has been updated 2011-09-28814\usepackage[inline]{enumitem}815\setlist{partopsep=0pt,itemsep=1pt}816817%------------------------------------------------------------------------818% fquote Fancy Quotation environment819% supports empty/optional author820821% Use \sloppy to make right-margin easier?822% Set picture units to be relative to font size (em)?823% Use begingroup to rest units afterwards?824825\usepackage{xifthen}% provides \isempty test826\definecolor{quotemark}{gray}{0.7}827828%fquote environment with author as optional parameter829%usage: \begin{fquote}quote\end{fquote} or \begin{fquote}[Author]quote\end{fquote}830\newenvironment{fquote}[1][]{%831\newcommand{\fqauthor}{\relax}832\ifthenelse{\isempty{#1}}833{}% do nothing834{\renewcommand{\fqauthor}{\hfill\textsc{--- #1}}}835\vspace{1em}836\begin{list}{}{%837\setlength{\leftmargin}{0.2\textwidth}838\setlength{\rightmargin}{0.2\textwidth}839}840\item[]%841\begin{picture}(0,0)(0,0)842\put(-15,-5){\makebox(0,0){%843\scalebox{4.5}{\textcolor{quotemark}{\bfseries``}}}%844}845\end{picture}\em\ignorespaces%846}{%847\newline%848\makebox[0pt][l]{\hspace{0.6\textwidth}%849\begin{picture}(0,0)(0,0)850\put(15,10){\makebox(0,0){%851\scalebox{4.5}{\textcolor{quotemark}{\rmfamily\bfseries''}}}%852}853\end{picture}}%854\fqauthor855\end{list}856}857858%German fquote859% 1 parameter for the author's name, may be empty ("{}")860% guaranteed German quotes (works with lualatex and babel package)861% usage: \begin{gfquote}{Author}quote\end{gfquote}862\newenvironment{gfquote}[1]{%863\newcommand{\fqauthor}{\relax}864\ifthenelse{\isempty{#1}}865{}% do nothing866{\renewcommand{\fqauthor}{\hfill\textsc{\textemdash #1}}}867\vspace{1em}868\begin{list}{}{%869\setlength{\leftmargin}{0.2\textwidth}870\setlength{\rightmargin}{0.2\textwidth}871}872\item[]%873\begin{picture}(0,0)(0,0)874\put(-15,-5){\makebox(0,0){%875\scalebox{4.5}{\textcolor{quotemark}{\bfseries \glqq}}}%876}877\end{picture}\em\ignorespaces%878}{%879\newline%880\makebox[0pt][l]{\hspace{0.6\textwidth}%881\begin{picture}(0,0)(0,0)882\put(15,10){\makebox(0,0){%883\scalebox{4.5}{\textcolor{quotemark}{\rmfamily\bfseries \grqq}}}%884}885\end{picture}}%886\fqauthor887\end{list}888}889890% fix incompatibilities between KOMA and other packages, mainly float.891% should be loaded at the very end - see http://tex.stackexchange.com/a/156256/9075892\usepackage{scrhack}893894895\begin{document}896\raggedbottom % Variable Seitenhoehen zulassen897\ifluatex898% Enable correct rendering of ligatures - provided by https://ctan.org/pkg/autotype899% See ADR-0008 for alternatives900\autotypelangoptions{ngerman}{ligbreak}901\fi902903\pagenumbering{arabic}904\frontmatter905\newgeometry{centering,left=2cm,right=2cm,top=2cm,bottom=2cm}906\begin{titlepage}907%\includegraphics[scale=0.3]{figures/UHH-Logo_2010_Farbe_CMYK.pdf}908\includegraphics[scale=0.3]{figures/UHH-Logo_2010_Farbe_CMYK.png}909\vspace*{2cm}910\Large911\begin{center}912{\color{uhhred}\textbf{\so{BACHELORTHESIS}}}913%TODO ...oder {\color{uhhred}\textbf{\so{MASTERTHESIS}}}914\vspace*{2.0cm}\\915{\LARGE \textbf{Titel}}916\vspace*{2.0cm}\\917vorgelegt von918\vspace*{0.4cm}\\919Max Musterstudent920\end{center}921\vfill922923\noindent924{\small925MIN-Fakultät\\[.2cm]926Fachbereich Informatik \\[.2cm]927Ggf. Professur/Institut \\[.2cm] %TODO Optional, entweder "Ggf. " oder ganze Zeile löschen928Studiengang: Wirtschaftsinformatik \\[.2cm]929Matrikelnummer: 1234567 \\[.5cm]930Ggf. Abgabedatum: XX.XX.20XX \\[.5cm] %TODO Optional, entweder "Ggf. " oder ganze Zeile löschen931Erstgutachterin: Prof. Dr. Bertha Beispiel \\[.25cm]932Zweitgutachter: Dr. Eduard Exempel %TODO Bei Bedarf Geschlechter der Gutachter/innen anpassen933}934\end{titlepage}935936\restoregeometry937938\pagestyle{plain.scrheadings}939\renewcommand*{\chapterpagestyle}{plain.scrheadings}940941% Kurzfassung / abstract942% auch im Stil vom Inhaltsverzeichnis943\section*{Kurzfassung}944% Silbentrennung auf Englisch945\begin{otherlanguage}{american}946\emph{Write an abstract for your work.947Replace each of the points below with one sentence (two if you must) and you have your abstract.948Write it when you finished your entire report.949\footnote{https://www.easterbrook.ca/steve/2010/01/how-to-write-a-scientific-abstract-in-six-easy-steps/}}950951\emph{Introduction.}952In one sentence, what’s the topic?953Phrase it in a way that your reader will understand.954If 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.955Same 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.956957\emph{State the problem you tackle.}958What’s the key research question?959Again, in one sentence.960(Note: For a more general essay, I’d adjust this slightly to state the central question that you want to address)961Remember, your first sentence introduced the overall topic, so now you can build on that, and focus on one key question within that topic.962If 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.963Keep working at this step until you have a single, concise (and understandable) question.964965\emph{Summarize (in one sentence) why nobody else has adequately answered the research question yet.}966For a PhD thesis, you’ll have an entire chapter, covering what’s been done previously in the literature.967Here you have to boil that down to one sentence.968But 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).969But here you’re phrasing it in such a way that it’s clear it’s a gap in the literature.970So use a phrase such as “previous work has failed to address…”.971(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)972973\emph{Explain, in one sentence, how you tackled the research question.}974What’s your big new idea?975(Again for a more general essay, you might want to adapt this slightly: what’s the new perspective you have adopted? or:976What’s your overall view on the question you introduced in step 2?)977978\emph{In one sentence, how did you go about doing the research that follows from your big idea.}979Did you run experiments?980Build a piece of software?981Carry out case studies?982This 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.983But don’t overdo it – we’re still looking for a sentence that you could read aloud without having to stop for breath.984Remember, the word ‘abstract’ means a summary of the main ideas with most of the detail left out.985So feel free to omit detail!986(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).987988\emph{As a single sentence, what’s the key impact of your research?989Here we’re not looking for the outcome of an experiment.990}991We’re looking for a summary of the implications.992What’s it all mean?993Why should other people care?994What can they do with your research.995(Essay folks: all the same questions apply: what conclusions did you draw, and why would anyone care about them?)996\end{otherlanguage}997998\microtypesetup{protrusion=false}9991000% In case you have trouble with headings reaching into the page numbers, enable the following three lines.1001% Hint by http://golatex.de/inhaltsverzeichnis-schreibt-ueber-rand-t3106.html1002%1003%\makeatletter1004%\renewcommand{\@pnumwidth}{2em}1005%\makeatother1006%1007% Bei einem ungünstigen Seitenumbruch im Inhaltsverzeichnis, kann dieser mit1008% \addtocontents{toc}{\protect\newpage}1009% an der passenden Stelle im Fließtext erzwungen werden.1010\tableofcontents10111012\listoffigures10131014\listoftables10151016% We use lstlisting environments with caption paramters.1017% Thus, we need that command.1018% Alternative: \listof{Listing}{List of Listings}1019\lstlistoflistings10201021%mittels \newfloat wurde die Algorithmus-Gleitumgebung definiert.1022%Mit folgendem Befehl werden alle floats dieses Typs ausgegeben1023%\listof{Algorithmus}{Verzeichnis der Algorithmen}1024%\listofalgorithms %Ist nur für Algorithmen, die mittels \begin{algorithm} umschlossen werden, nötig10251026% Abkürzungsverzeichnis / Acronyms / Abbreviations1027\printglossary[type=\acronymtype,title={Abkürzungsverzeichnis}]1028% \printglossaries1029% \printnoidxglossaries1030% \printunsrtglossaries cannot be used, because then no indexing happens; source: https://tex.stackexchange.com/a/287128/907510311032\microtypesetup{protrusion=true}10331034% Headline and footline1035\renewcommand*{\chapterpagestyle}{scrplain}1036\pagestyle{scrheadings}1037\mainmatter10381039%%% ===============================================================================1040\chapter{Introduction}\label{sec:introduction}1041%%% ===============================================================================10421043\emph{Purpose and scope of your entire report}.1044The purpose of your entire report is to make a \emph{scientific argument using the scientific method}.1045A scientific argument always has the following steps that all must come in this order.1046%1047\begin{itemize}1048\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.1049\item[SM2] Clearly and precisely \emph{formulate a research problem or hypothesis}.1050\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}.1051The method must includes steps and criteria for evaluating whether you answered your question successfully or not.1052\item[SM4] \emph{Provide execution details} on how you followed the method in the given, specific situation.1053\item[SM5] \emph{Report your results} by describing and summarizing your measurements.1054You must not interpret your results.1055\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.1056\end{itemize}1057%1058This 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.10591060\emph{Purpose and scope of \cref{sec:introduction}}.1061The 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.1062A reader must be able to comprehend the problem, method, relevant execution details, results, and their interpretation by reading the introduction and the introduction alone.1063Section~\ref{sec:introduction:topic} introduces the general topic of your research.1064Section~\ref{sec:introduction:state-of-art} discusses the state of the art and identifies a research.1065Section~\ref{sec:introduction:research-question} then states the research problem to investigate.1066Section~\ref{sec:problem-exposition:research-method} explains the research method that was followed, possibly with execution details.1067Section~\ref{sec:introduction:results} then presents the results and their interpretation.1068Only if a reader thinks they are not convinced or they need more details to reproduce your study, they shall have to read further.1069The individual chapters and sections provide the details for each of the steps in your scientific argument.10701071You 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.1072.10731074\emph{Purpose and scope of the introduction paragraph to a chapter}.1075The paragraph you are reading above is a typical introductory paragraph to a chapter.1076It is a high-level summary of the chapters' topic (SM1 and SM2).1077It 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).1078It may close with announcing the result you obtain (SM6) but this is usually not done in the opening paragraph of the introduction.10791080% ---------------------------------------------------------------------------------1081\section{Context and Topic (SM1)}\label{sec:introduction:topic}1082% ---------------------------------------------------------------------------------10831084\emph{Purpose and scope}.1085You begin with providing the general scientific audience an introduction into the specific topic of your work.1086The 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'').1087It must be understandable by the general scientific public.1088Every \emph{term} with a specific meaning must be highlighted and introduced in precise language/concepts that only builds on a general scientific background.10891090At 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'').10911092% ---------------------------------------------------------------------------------1093\section{State of the Art (SM1)}\label{sec:introduction:state-of-art}1094% ---------------------------------------------------------------------------------10951096\emph{Purpose and scope}.1097You 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}.1098This introduction has to10991100\begin{itemize}1101\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.'')1102\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'')1103\end{itemize}11041105You have to provide citations/literature references for each of the statements and claims you are making.1106This section is usually a summary of the related work discussion in \cref{sec:background}.11071108At 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}.1109\emph{Stating a (knowledge) gap between a status quo and a desired situation is the \emph{first step} of a writing scientific argument.}11101111% ---------------------------------------------------------------------------------1112\section{Research Question (SM2)}\label{sec:introduction:research-question}1113% ---------------------------------------------------------------------------------11141115\emph{Purpose and scope}.1116In 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}.1117You usually cannot address and resolve the entire knowledge gap in your work.1118The purpose of this section is to clearly detail the specific part of the knowledge that you will address.1119You 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'').11201121Your general research question states1122\begin{itemize}1123\item The starting point/assumptions you are making from which your research starts (``for the given 13 genomes of female giraffes...''), and1124\item the final objective/solution you want to reach (``...identify the genes involved in color expression of giraffe tongues...'')1125\item and the evaluation criteria that will determine whether you are successful (``...that are present in at least 75\% of the studied giraffes'')1126\end{itemize}11271128You will usually break your general research question down into sub-research questions.1129You may do this here.1130The 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.11311132% ---------------------------------------------------------------------------------1133\section{Method or Approach (SM3, SM4)}\label{sec:introduction:method}1134% ---------------------------------------------------------------------------------11351136\emph{Purpose and scope}.1137In 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.1138It is a summary of the steps that someone else has to take in order to reproduce your steps.1139Mention 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).11401141The section is most readable if you give each of the steps in your method its own paragraph.1142In 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.11431144% ---------------------------------------------------------------------------------1145\section{Findings (SM5, SM6)}\label{sec:introduction:results}1146% ---------------------------------------------------------------------------------11471148\emph{Purpose and scope}.1149You 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.1150It is most likely a summary of your evaluation in \cref{sec:evaluation}.11511152\section*{Results (SM5)}11531154You 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.11551156\section*{Interpretation (SM6)}11571158You summarize your interpretation of the results and draw conclusions.1159State whether and to which degree the research question from \cref{sec:introduction:research-question} has been answered successfully or not.11601161Finally state briefly how much closer society and science have come in answering the general objective you outlined in \cref{sec:introduction:topic}.11621163%%% ===============================================================================1164\section{Background (SM1)}\label{sec:background}1165%%% ===============================================================================11661167\emph{Purpose and scope}.1168The background chapter has multiple roles.1169\begin{itemize}11701171\item \emph{Preliminaries.}1172It 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.1173Assume 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.1174Which concepts, terms, definitions, etc. does the student have to know?1175Which formulas, symbols, etc. are standard in this topic?1176Only introduce definitions if you actually need them in any of the subsequent chapters.11771178\item \emph{Related Work.}1179It has to provide a comprehensive discussion of all prior work in the area on this subject.1180Your 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}.11811182You 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.1183\end{itemize}11841185%%% ===============================================================================1186\section{Problem Exposition (optional)}\label{sec:problem-exposition}1187%%% ===============================================================================11881189\emph{Purpose and scope}.1190Introduce 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.1191This can include further details on the data you studied, context assumptions and requirements, etc.11921193If 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.1194A typical structure can be.11951196% ---------------------------------------------------------------------------------1197\section{Context/Business Understanding (SM1)}\label{sec:problem-exposition:context-understanding}1198% ---------------------------------------------------------------------------------11991200provide details12011202% ---------------------------------------------------------------------------------1203\section{Data Understanding (SM1)}\label{sec:problem-exposition:data-understanding}1204% ---------------------------------------------------------------------------------12051206provide details12071208% ---------------------------------------------------------------------------------1209\section{Detailed Research Questions (SM2)}\label{sec:problem-exposition:research-problems}1210% ---------------------------------------------------------------------------------12111212provide details based on \cref{sec:problem-exposition:context-understanding} and \ref{sec:problem-exposition:data-understanding}12131214% ---------------------------------------------------------------------------------1215\section{Detailed Method (SM3)}\label{sec:problem-exposition:research-method}1216% ---------------------------------------------------------------------------------12171218provide details based on \cref{sec:problem-exposition:context-understanding} and \ref{sec:problem-exposition:data-understanding}12191220%%% ===============================================================================1221\section{First Real Chapter addressing first Research Problem}\label{sec:problem1}1222%%% ===============================================================================12231224\emph{Purpose and scope}.1225After 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).1226You usually do this by addressing various sub-problems again through scientific arguments following the 6 steps SM1-SM6.12271228Have a short chapter introduction that recalls and explains the first research problem of your thesis.1229The problem has to show up in the introduction in \cref{sec:introduction:research-question} or in \cref{sec:problem-exposition:research-problems} already.1230This provides the background (SM1) for this chapter while the first research problem of the thesis becomes the research question/hypothesis (SM2) for this chapter.12311232Next, explain in the chapter intro how you solve the research problem in this chapter by breaking it down in further sub-problems.1233By this, you outline the method (SM3) through which you are going to solve the problem of this chapter.1234This 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.1235Explain 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.12361237% ---------------------------------------------------------------------------------1238\section{First Sub-Problem}\label{sec:problem1:subproblem1}1239% ---------------------------------------------------------------------------------12401241\emph{The first paragraph describes the first sub-problem and develops the requirements a solution has to satisfy (SM2 for this section).}1242The requirements have to be based on the knowledge and reasoning developing in the preceding chapters and sections.1243Try to use an example to illustrate the problem and the desired properties of the solution.1244Check that every term/concept you use here has already been defined already in a previous section.1245If 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.12461247\emph{The second paragraph describes the method/approach how you address the problem (SM3 for this section).}1248Describe the method in a level of detail that allows another student to reproduce your steps.1249Make use of appendices % (see \cref{sec:appendix1})1250if certain details take too much space.12511252\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.12531254Results (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.1255..'') and describe the results in text.1256If 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.1257Describe to them how to read these, explain the meaning of particular elements, point out special observations.1258But you may only describe the results you must not interpret them.1259Make use of appendices if certain details take too much space.12601261\begin{figure}1262\centering1263%%%\includegraphics{/path/to/figure.pdf}1264\caption{A scientific figure that has to be explained in the text}1265\label{fig:my_label}1266\end{figure}12671268\emph{After describing the results, you may interpret them (SM6).}1269Here you can infer what a particular observation means (for you), how it can be applied, or what others can do with it.1270You must not write interpretations before completely describing your results.1271This is a common mistake done by most beginner writers.1272You want to quickly get to the point, which is the final finding or interpretation.1273But you forget that your reader does not understand yet what you are interpreting - they do not know yet what you do know.1274An interpretation can only be followed after all results have been described.1275The interpretation must be based on the written description only.1276Then you can be sure that your readers can follow your interpretation and reach the same conclusions as you have.12771278Ideally, your interpretation leads to the next sub-problem in \cref{sec:problem1:subproblem2}.12791280% ---------------------------------------------------------------------------------1281\section{Second Sub-Problem}\label{sec:problem1:subproblem2}1282% ---------------------------------------------------------------------------------12831284You 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).12851286Note that not all sections may not include all parts SM1-SM6 in all detail.1287Some 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.1288Sometimes, a section is only dedicated to describing the method (SM3) and execution (SM4) and does not contain any results or interpretations.1289Sometimes results (SM5) and interpretations (SM6) only come in the evaluation chapter.12901291What 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:1292%1293\begin{itemize}1294\item Which step of a scientific argument am I currently writing (SM1, SM2, ..., SM6)?1295\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)?1296\item Are you really \emph{not} writing interpretation SM6 before SM5, SM4, or SM3?1297\item Is it clear to the reader which part of the scientific argument you are currently making?1298\end{itemize}12991300%%% ===============================================================================1301\section{Second Real Chapter}\label{sec:sub-problem2}1302%%% ===============================================================================13031304Have a short chapter introduction that recalls what you already achieved in \cref{sec:problem1} and explain the second research problem of your thesis.1305The problem has to show up in the introduction in \cref{sec:introduction:research-question} or in \cref{sec:problem-exposition:research-problems} already.1306etc.13071308%%% ===============================================================================1309\section{Evaluation}\label{sec:evaluation}1310%%% ===============================================================================13111312\emph{Purpose and scope}.1313The evaluation chapter should be the most formal and rigorously structured chapter of your thesis as the validity of your evaluation argument depends on it.13141315% ---------------------------------------------------------------------------------1316\section{Objective (SM2)}\label{sec:evaluation:objective}1317% ---------------------------------------------------------------------------------13181319Clearly state what you want to evaluate and what you want to measure.13201321% ---------------------------------------------------------------------------------1322\section{Setup (SM3)}\label{sec:evaluation:setup}1323% ---------------------------------------------------------------------------------13241325State which data, participants, tools, etc. you chose and why.1326Clearly state how you measure outcomes and how you compare them to baselines, reference groups, etc.13271328% ---------------------------------------------------------------------------------1329\section{Execution (SM4)}\label{sec:evaluation:execution}1330% ---------------------------------------------------------------------------------13311332Provide all details on the execution that are necessary to allows another person to reproduce your results at a later point.13331334% ---------------------------------------------------------------------------------1335\section{Results (SM5)}\label{sec:evaluation:results}1336% ---------------------------------------------------------------------------------13371338You only report the measurements.1339You must present and reference them (``\cref{fig:my_label2} shows.1340..'') and describe the results in text.1341If 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.1342Describe to them how to read these, explain the meaning of particular elements, point out special observations.1343But you may only describe the results you must not interpret them.1344Make use of appendices if certain details take too much space.13451346\begin{figure}1347\centering1348%%%\includegraphics{/path/to/figure.pdf}1349\caption{Another scientific figure that has to be explained in the text}1350\label{fig:my_label2}1351\end{figure}13521353% ---------------------------------------------------------------------------------1354\section{Discussion (SM6)}\label{sec:evaluation:discussion}1355% ---------------------------------------------------------------------------------13561357An interpretation can only be followed after all results have been described.1358The interpretation must be based on the written description in \cref{sec:evaluation:results} only.1359Then you can be sure that your readers can follow your interpretation and reach the same conclusions as you have.136013611362\chapter{LaTeX Hinweise}1363\label{sec:latexhints}13641365% Benötigt für eine korrekte Darstellung der Hinweise im erzeugten PDF1366\newcount\LTGbeginlineexample1367\newcount\LTGendlineexample1368\newenvironment{ltgexample}%1369{\LTGbeginlineexample=\numexpr\inputlineno+1\relax}%1370{\LTGendlineexample=\numexpr\inputlineno-1\relax%1371\tcbinputlisting{%1372listing only,1373listing file=\currfilepath,1374colback=green!5!white,1375colframe=green!25,1376coltitle=black!90,1377coltext=black!90,1378left=8mm,1379title=Zugehöriger \LaTeX{}-Quelltext aus \texttt{\currfilepath},1380listing options={1381frame=none,1382language={[LaTeX]TeX},1383escapeinside={},1384firstline=\the\LTGbeginlineexample,1385lastline=\the\LTGendlineexample,1386firstnumber=\the\LTGbeginlineexample,1387basewidth=.5em,1388aboveskip=0mm,1389belowskip=0mm,1390numbers=left,1391xleftmargin=0mm,1392numberstyle=\tiny,1393numbersep=8pt%1394}1395}1396}%13971398Hier sollen allgemeine \LaTeX-Hinweise gegeben werden, damit man Minimalbeispiele vorliegen hat, um sofort loszulegen.13991400\section{Trennung von Absätzen}14011402\begin{ltgexample}1403Pro Satz eine neue Zeile.1404Das ist wichtig, um sauber versionieren zu können.1405In LaTeX werden Absätze durch eine Leerzeile getrennt.1406Analogie zu Word: Bei Word werden neue Absätze durch einmal Eingabetaste herbeigeführt.1407Dies führt bei LaTeX jedoch nicht zu einem neuen Absatz, da LaTeX direkt aufeinanderfolgende Zeilen zu einer Zeile zusammenfügt.1408Mächte man nun einen Absatz haben, muss man zweimal die Eingabetaste drücken.1409Dies führt zu einer leeren Zeile.1410In Word gibt es die Funktion Großschreibetaste und Eingabetaste gleichzeitig.1411Wenn man dies drückt, wird einer harter Umbruch erzwungen.1412Der Text fängt am Anfang der neuen Zeile an.1413In LaTeX erreicht man dies durch Doppelbackslashes (\textbackslash\textbackslash) erzeugt.1414\\1415Dies verwendet man quasi nie.14161417Folglich werden neue Abstäze insbesondere \emph{nicht} durch Doppelbackslashes erzeugt.1418Beispielsweise begann der letzte Satz in einem neuen Absatz.1419Eine ausführliche Motivation hierfür findet sich in \url{http://loopspace.mathforge.org/HowDidIDoThat/TeX/VCS/#section.3}.1420\end{ltgexample}14211422Möchte man die Art des Absatzes ändern, so kann man die Dokumentklassenoption \texttt{parskip} verwenden.1423Beispielsweise kann man mit \texttt{parskip=off} erreichen, dass statt eines freien Bereichs die erste Zeile des Absatzes eingezogen wird.14241425\section{Notes separated from the text}14261427The package mindflow enables writing down notes and annotations in a way so that they are separated from the main text.14281429\begin{ltgexample}1430\begin{mindflow}1431This is a small note.1432\end{mindflow}1433\end{ltgexample}14341435\section{Handling TODOs}14361437\begin{ltgexample}1438\textmarker{Markierter Text.}1439\end{ltgexample}14401441Bei \verb1\textmarker1 wird nur die Textfarbe geändert, da dies auch bei einigen Worten gut funktioniert.14421443\begin{ltgexample}1444\textcomment{Markierter Text.}{Kommentar dazu.}1445\end{ltgexample}14461447\begin{ltgexample}1448\hl{In Gelb hervorgehoben.}1449Provided indirectly by pdfcomment.sty (soulpos).1450\end{ltgexample}14511452\begin{ltgexample}1453\modified{Manuelle Markierung für Text, der seit der letzten Version geändert wurde.}1454\end{ltgexample}14551456\begin{ltgexample}1457Das ist ein Text.1458\change{FL1: Text angepasst}{Geänderter Text}.1459\end{ltgexample}14601461\begin{ltgexample}1462Hier nur ein Kommentar\sidecomment{Kommentar}.1463\end{ltgexample}14641465\begin{ltgexample}1466\todo{Hier muss noch kräftig Text produziert werden}1467\end{ltgexample}14681469\section{Hyphenation}14701471\LaTeX{} automatically hyphenates words.1472When using \href{https://ctan.org/pkg/microtype}{microtype}, there should be fewer hyphenations than in other settings.1473It might be necessary to tweak the hyphenations nevertheless.1474Here are some hints:14751476\begin{ltgexample}1477In case you write \enquote{application-specific}, then the word will only be hyphenated at the dash.1478You can also write \verb1applica\allowbreak{}tion-specific1 (result: applica\allowbreak{}tion-specific), but this is much more effort.14791480You can now write words containing hyphens which are hyphenated at other places in the word.1481For instance, \verb1application"=specific1 gets application"=specific.1482This is enabled by an additional configuration of the babel package.1483\end{ltgexample}14841485\section{Typesetting Units}14861487\begin{ltgexample}1488Numbers can be written plain text (such as 100), by using the \href{https://ctan.org/pkg/siunitx}{siunitx} package as follows:1489\SI{100}{\km\per\hour},1490or by using plain \LaTeX{} (and math mode):1491$100 \frac{\mathit{km}}{h}$.1492\end{ltgexample}14931494\begin{ltgexample}1495\SI{5}{\percent} of \SI{10}{kg}1496\end{ltgexample}14971498\begin{ltgexample}1499Numbers are automatically grouped: \num{123456}.1500\end{ltgexample}15011502\section{Surrounding Text by Quotes}15031504\begin{ltgexample}1505Please use the \enquote{enquote command} to quote something.1506Quoting with "`quote"' or ``quote'' also works.15071508\end{ltgexample}15091510\section{Cleveref examples}1511\label{sec:ex:cref}15121513Cleveref demonstration: Cref at beginning of sentence, cref in all other cases.15141515\begin{figure}1516\centering1517\includegraphics[width=.75\linewidth]{example-image-a}1518\caption{Example figure for cref demo}1519\label{fig:ex:cref}1520\end{figure}15211522\begin{table}1523\centering1524\begin{tabular}{ll}1525\toprule1526Heading1 & Heading2 \\1527\midrule1528One & Two \\1529Thee & Four \\1530\bottomrule1531\end{tabular}1532\caption{Example table for cref demo}1533\label{tab:ex:cref}1534\end{table}15351536\begin{ltgexample}1537\Cref{fig:ex:cref} shows a simple fact, although \cref{fig:ex:cref} could also show something else.15381539\Cref{tab:ex:cref} shows a simple fact, although \cref{tab:ex:cref} could also show something else.15401541\Cref{sec:ex:cref} shows a simple fact, although \cref{sec:ex:cref} could also show something else.1542\end{ltgexample}15431544\section{Abbildungen}15451546\begin{ltgexample}1547\Cref{fig:label} zeigt etwas Interessantes15481549\begin{figure}1550\centering1551Füge deine Abbildung hier ein.1552\caption{Bildunterschrift.}1553\label{fig:label}1554\end{figure}1555\end{ltgexample}15561557\section{Sub Figures}15581559An example of two sub figures is shown in \cref{fig:two_sub_figures}.15601561\begin{ltgexample}1562\begin{figure}[!b]1563\centering1564\subfloat[Case I]{\includegraphics[width=.4\linewidth]{example-image-a}%1565\label{fig:first_case}}1566\hfil1567\subfloat[Case II]{\includegraphics[width=.4\linewidth]{example-image-b}%1568\label{fig:second_case}}1569\caption{Example figure with two sub figures.}1570\label{fig:two_sub_figures}1571\end{figure}1572\end{ltgexample}15731574\section{Tables}15751576\begin{ltgexample}1577\begin{table}1578\caption{Simple Table}1579\label{tab:simple}1580\centering1581\begin{tabular}{ll}1582\toprule1583Heading1 & Heading2 \\1584\midrule1585One & Two \\1586Thee & Four \\1587\bottomrule1588\end{tabular}1589\end{table}1590\end{ltgexample}15911592\begin{ltgexample}1593% Source: https://tex.stackexchange.com/a/468994/90751594\begin{table}1595\caption{Table with diagonal line}1596\label{tab:diag}1597\begin{center}1598\begin{tabular}{|l|c|c|}1599\hline1600\diagbox[width=10em]{Diag \\Column Head I}{Diag Column\\Head II} & Second & Third \\1601\hline1602& foo & bar \\1603\hline1604\end{tabular}1605\end{center}1606\end{table}1607\end{ltgexample}160816091610\section{Quellcode}16111612\begin{ltgexample}1613\Cref{lst:XML} zeigt XML-Quelltext.1614\Cref{line:comment} enthält einen Kommentar.16151616\begin{lstlisting}[1617language=XML,1618caption={Beispiel-XML-Listing},1619label={lst:XML}]1620<listing name="example">1621<!-- comment --> (* \label{line:comment} *)1622<content>not interesting</content>1623</listing>1624\end{lstlisting}1625\end{ltgexample}16261627Der zusätzliche Paramter \verb+float+ führt dazu, dass das Listing auch floated.1628\Cref{lst:flXML} zeigt das gleitendede Listing.16291630\begin{ltgexample}1631\begin{lstlisting}[1632% Es ist möglcih, die Abstände bei Bedarf einzustellen1633% aboveskip=2.5\baselineskip,1634% belowskip=-.8\baselineskip,1635float,1636language=XML,1637caption={Beispiel-XML-Listing -- gleitend},1638label={lst:flXML}]1639<listing name="example">1640Floating1641</listing>1642\end{lstlisting}1643\end{ltgexample}16441645Es ist möglich auch JSON zu setzen, wie in \cref{lst:json} gezeigt.16461647\begin{ltgexample}1648\begin{lstlisting}[1649float,1650language=json,1651caption={Beispiel-JSON-listing},1652label={lst:json}]1653{1654key: "value"1655}1656\end{lstlisting}1657\end{ltgexample}16581659Java ist auch möglich -- \cref{lst:java}.16601661\begin{ltgexample}1662\begin{lstlisting}[1663caption={Example Java listing},1664label=lst:java,1665language=Java,1666float]1667public class Hello {1668public static void main (String[] args) {1669System.out.println("Hello World!");1670}1671}1672\end{lstlisting}1673\end{ltgexample}16741675\section{Itemization}16761677One can list items as follows:16781679\begin{ltgexample}1680\begin{itemize}1681\item Item One1682\item Item Two1683\end{itemize}1684\end{ltgexample}16851686With the package paralist, one can create itemizations with lesser spacing:16871688\begin{ltgexample}1689\begin{compactitem}1690\item Item One1691\item Item Two1692\end{compactitem}1693\end{ltgexample}16941695One can enumerate items as follows:16961697\begin{ltgexample}1698\begin{enumerate}1699\item Item One1700\item Item Two1701\end{enumerate}1702\end{ltgexample}17031704With the package paralist, one can create enumerations with lesser spacing:17051706\begin{ltgexample}1707\begin{compactenum}1708\item Item One1709\item Item Two1710\end{compactenum}1711\end{ltgexample}17121713With paralist, one can even have all items typeset after each other and have them clean in the TeX document:17141715\begin{ltgexample}1716\begin{inparaenum}1717\item All these items...1718\item ...appear in one line1719\item This is enabled by the paralist package.1720\end{inparaenum}1721\end{ltgexample}17221723\section{Abkürzungen}17241725Mit \verb+\gls{...}+ können Abkürzungen eingebaut werden, beim ersten Aufrufen wird die lange Form eingesetzt.1726Beim wiederholten Verwenden von \verb+\gls{...}+ wird automatisch die Kurzform angezeigt.1727Außerdem wird die Abkürzung automatisch in die Abkürzungsliste eingefügt.1728Mit \verb+\glspl{...}+ wird die Pluralform verwendet.1729Möchte man, dass bei der ersten Verwendung direkt die Kurzform erscheint, so kann man mit \verb+\glsunset{...}+ eine Abkürzung als bereits verwendet markieren.1730Das Gegenteil erreicht man mit \verb+\glsreset{...}+.17311732Definiert werden Abkürzungen in der Datei \textit{abbreviationstex} mithilfe von \verb+\newacronym{...}{...}{...}+.17331734Mehr Infos unter: \url{https://ctan.org/pkg/bib2gls}.17351736\begin{ltgexample}1737Beim ersten Durchlauf betrug die \gls{fr} 5.1738Beim zweiten Durchlauf war die \gls{fr} 3.1739Die Pluralform sieht man hier: \glspl{er}.1740Um zu demonstrieren, wie das Abkürzungsverzeichnis bei längeren Beschreibungstexten aussieht, muss hier noch \glspl{rdbms} erwähnt werden.17411742\gls{dante} is a local \TeX\ user group.1743The German-speaking local \TeX\ user group is \gls{dante}.1744A \gls{gp} is a medical doctor.1745I went to my surgery to see the \gls{gp}.1746\end{ltgexample}17471748\section{Other Features}17491750\begin{ltgexample}1751The words \enquote{workflow} and \enquote{dwarflike} can be copied from the PDF and pasted to a text file.1752\end{ltgexample}17531754\begin{ltgexample}1755The symbol for powerset is now correct: $\powerset$ and not a Weierstrass p ($\wp$).17561757$\powerset({1,2,3})$1758\end{ltgexample}17591760\begin{ltgexample}1761Brackets work as designed:1762<test>1763One can also input backticks in verbatim text: \verb|`test`|.1764\end{ltgexample}176517661767\section{Varioref examples}1768\label{sec:ex:vref}17691770Varioref demonstration: Vref at beginning of sentence, vref in all other cases.17711772\begin{ltgexample}1773\Vref{fig:ex:cref} shows a simple fact, although \vref{fig:ex:cref} could also show something else.17741775\Vref{tab:ex:cref} shows a simple fact, although \vref{tab:ex:cref} could also show something else.17761777\Vref{sec:ex:cref} shows a simple fact, although \vref{sec:ex:cref} could also show something else.1778\end{ltgexample}17791780\section{Citations}17811782When referencing something from the bibliography file, it will automatically appear in the references section.1783If a reference is not cited, it is not appearing there.17841785\begin{ltgexample}1786Standard case: Citing indirectly citing something~\cite{mwe}.1787In case one wants to name the author: \textcite{mwe} shows a minimal \LaTeX{} example.1788\end{ltgexample}17891790Note that \texttt{\textbackslash textcite\{mwe\}} prints both the author and the reference to the bibliography entry.17911792Remember that you have to call \texttt{biber main-german} to generate the bibliography data for \texttt{lualatex}.1793You will need to run \texttt{lualatex} twice to ensure that the page numbers are updated correctly.179417951796In the bibliography, use \texttt{\textbackslash textsuperscript} for \enquote{st}, \enquote{nd}, \ldots:1797E.g., \enquote{The 2\textsuperscript{nd} conference on examples}.1798When you use \href{https://www.jabref.org}{JabRef}, you can use the clean up command to achieve that.1799See \url{https://help.jabref.org/en/CleanupEntries} for an overview of the cleanup functionality.18001801\section{Miscellaneous Examles}1802\label{ssec:example}18031804Referencetest: \Cref{ssec:example}, \cref{fig:Abbildung} und \cref{alg:example}.18051806\begin{ltgexample}1807Checkmark: \dingcheck.1808Crossmark: \dingcross.1809\end{ltgexample}18101811\begin{figure}1812\missingfigure{}1813\caption{Abbildung}1814\label{fig:Abbildung}1815\end{figure}18161817\begin{landscape}1818\begin{figure}1819\missingfigure{}1820\caption{Gedrehte Abbildung}1821\label{fig:AbbildungGedreht}1822\end{figure}1823\end{landscape}18241825\subsection{Algorithmen}18261827\begin{algorithm}1828\caption{$algo$}1829\label{alg:example}1830\begin{algorithmic}[1]1831\State $a \gets 0$1832\State State 2\label{alg1:state2}1833\end{algorithmic}1834\end{algorithm}18351836\begin{algorithm}1837\caption{Algorithmus 2}1838\label{alg:example2}1839\begin{algorithmic}[1]1840\State $a \gets 0$1841\State State 2\label{alg2:state2}1842\end{algorithmic}1843\end{algorithm}18441845\Cref{alg:example} hat bereits einen Algorithmus gezeigt.1846Test der Zeilenreferenzierung: Zeile~\ref{alg1:state2} (\cref{alg:example}) und Zeile~\ref{alg2:state2} (\cref{alg:example2}).18471848\subsection{Definitionen}1849\begin{definition}[Title]1850\label{def:def1}1851Definition Text1852\end{definition}18531854\Cref{def:def1} zeigt \ldots18551856\subsection{Aufzählungen}18571858\begin{enumerate}[label=\alph*)]1859\item a1860\item b1861\item c1862\item d1863\end{enumerate}18641865Equivalent to paralist's inparaenum:1866\begin{enumerate*}[label=\alph*)]1867\item a1868\item b1869\item c1870\item d1871\end{enumerate*}18721873\begin{description}1874\item[first] Erstens1875\item[second] Zweitens1876\item[third] Drittens1877\end{description}18781879\begin{description}1880\item[\texttt{first}] Erstens1881\item[\texttt{second}] Zweitens1882\item[\texttt{third}] Drittens1883\end{description}18841885%works only if package enumitem is loaded1886\begin{description}[font=\ttfamily]1887\item[first] Erstens1888\item[second] Zweitens1889\item[third] Drittens1890\end{description}18911892\begin{description}[style=unboxed]1893\item[first label with a long description text breaking over one line. Enabled by enumitem package] Erstens1894\item[second] Zweitens1895\item[third] Drittens1896\end{description}18971898\begin{Description}1899\item[first label with a long description text breaking over one line. Defined in template.tex] Erstens1900\item[second] Zweitens1901\item[third] Drittens1902\end{Description}19031904\begin{itemize}1905\item Erstens1906\item Zweitens1907\item Drittens1908\end{itemize}19091910Optionaler Parameter ändert den Marker, der vorangestellt ist.1911Siehe \url{http://www.weinelt.de/latex/item.html}.1912\begin{itemize}1913\item[A] Erstens1914\item[B] Zweitens1915\item[C] Drittens1916\end{itemize}19171918Falsche Benutzung des optionalen Parameters wie folgt:1919\begin{itemize}1920\item[first] Erstens1921\item[second] Zweitens1922\item[third] Drittens1923\end{itemize}1924Dabei ist zu beachten, dass es sich bei Einbindung von \texttt{enumitem} anders verhält als bei \texttt{paralist}.19251926\subsection{fquote}19271928\begin{fquote}[T.\ Informatiker]1929Bis nächsten Freitag ist das Programm fertig.1930\end{fquote}19311932\begin{gfquote}{T.\ Informatiker}1933Bis nächsten Freitag ist das Programm fertig.1934\end{gfquote}19351936%%% ===============================================================================1937\chapter{Zusammenfassung und Ausblick}\label{sec:conclusion}1938%%% ===============================================================================19391940Your 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}.1941You specifically outline which concrete findings or methodological contributions advance our knowledge towards the general objective you introduced in \cref{sec:introduction:topic}.1942Objectively discuss which parts you solved and in which parts you failed.19431944You should explicitly discuss limitations and shortcomings of your work and detail what kind of future studies are needed to overcome these limitations.1945Be specific in the sense that your arguments for future work should be based on concrete findings and insights you obtained in your report.194619471948%%% ===============================================================================1949%%% Bibliography1950%%% ===============================================================================195119521953\printbibliography19541955% Enfore empty line after bibliography1956\ \\1957%1958\noindent1959Alle Links wurden zuletzt am 29.03.2021 geprüft.19601961%%% ===============================================================================19621963%\IfDefined{printindex}{\printindex}1964%\IfDefined{printnomenclature}{\printnomenclature}19651966\clearpage1967\appendix1968% 'Anhang' ins Inhaltsverzeichnis1969%\phantomsection1970%\addcontentsline{toc}{chapter}{Anhang}1971\addcontentsline{toc}{part}{Anhang}19721973%%% ===============================================================================1974\chapter{My first appendix}\label{sec:appendix1}1975%%% ===============================================================================19761977\lipsum[1]19781979\pagestyle{empty}1980\renewcommand*{\chapterpagestyle}{empty}1981\clearpage1982\backmatter1983\thispagestyle{empty}19841985\vspace*{\fill}1986\pagestyle{empty}19871988{\normalsize1989\begin{center}\textbf{Eidesstattliche Erklärung}\end{center}1990\blindtext[1]1991\vspace*{1cm}\\1992Hamburg, den XX.XX.20XX1993\hspace*{\fill}\begin{tabular}{@{}l@{}}\hline1994\makebox[5cm]{Vorname Nachname}1995\end{tabular}1996\vspace*{3cm}19971998%TODO Dies ist optional, ggf. löschen!1999\begin{center}\textbf{Veröffentlichung}\end{center}2000\blindtext[1]2001\vspace*{1cm}\\2002Hamburg, den XX.XX.20XX2003\hspace*{\fill}\begin{tabular}{@{}l@{}}\hline2004\makebox[5cm]{Vorname Nachname}2005\end{tabular}2006}2007\vspace*{\fill}2008\end{document}200920102011