% This template has been tested with LLNCS DOCUMENT CLASS -- version 2.21 (12-Jan-2022)12% !TeX spellcheck = en-US3% LTeX: language=en-US4% !TeX encoding = utf85% !TeX program = lualatex6% !BIB program = bibtex7% -*- coding:utf-8 mod:LaTeX -*-89% "a4paper" enables:10%11% - easy print out on DIN A4 paper size12%13% One can configure default page size (a4 vs. letter) in the LaTeX installation.14% Thus, it is configuration dependend, what the paper size will be.15% Having "a4paper" option present, the page size is set to A4.16% Note that the current word template offered by Springer is DIN A4.17%18% "runningheads" enables:19%20% - page number on page 2 onwards21% - title/authors on even/odd pages22%23% This is good for other readers to enable proper archiving among other papers and pointing to24% content. Even if the title page states the title, when printed and stored in a folder, when25% blindly opening the folder, one could hit not the title page, but an arbitrary page. Therefore,26% it is good to have title printed on the pages, too.27%28% The optiion "runningheads" neesd to be removed upon request of the publisher.29%30% To disable outputting page headers and footers, remove "runningheads"31\documentclass[runningheads,a4paper,english]{llncs}[2022/01/12]3233\usepackage{iftex}3435% backticks (`) are rendered as such in verbatim environments.36% See following links for details:37% - https://tex.stackexchange.com/a/341057/907538% - https://tex.stackexchange.com/a/47451/907539% - https://tex.stackexchange.com/a/166791/907540\usepackage{upquote}4142% Set English as language and allow to write hyphenated"=words43%44% Even though `american`, `english` and `USenglish` are synonyms for babel package (according to https://tex.stackexchange.com/questions/12775/babel-english-american-usenglish), the llncs document class is prepared to avoid the overriding of certain names (such as "Abstract." -> "Abstract" or "Fig." -> "Figure") when using `english`, but not when using the other 2.45% english has to go last to set it as default language46\usepackage[ngerman,main=english]{babel}47%48% Hint by http://tex.stackexchange.com/a/321066/9075 -> enable "= as dashes49\addto\extrasenglish{\languageshorthands{ngerman}\useshorthands{"}}5051% Links behave as they should. Enables "\url{...}" for URL typesettings.52% Allow URL breaks also at a hyphen, even though it might be confusing: Is the "-" part of the address or just a hyphen?53% See https://tex.stackexchange.com/a/3034/9075.54\usepackage[hyphens]{url}5556% When activated, use text font as url font, not the monospaced one.57% For all options see https://tex.stackexchange.com/a/261435/9075.58% \urlstyle{same}5960% Improve wrapping of URLs - hint by http://tex.stackexchange.com/a/10419/907561\makeatletter62\g@addto@macro{\UrlBreaks}{\UrlOrds}63\makeatother6465% nicer // - solution by http://tex.stackexchange.com/a/98470/907566% DO NOT ACTIVATE -> prevents line breaks67%\makeatletter68%\def\Url@twoslashes{\mathchar`\/\@ifnextchar/{\kern-.2em}{}}69%\g@addto@macro\UrlSpecials{\do\/{\Url@twoslashes}}70%\makeatother7172%% !!! If you change the font, be sure that words such as "workflow" can73%% !!! still be copied from the PDF. If this is not the case, you have74%% !!! to use glyphtounicode. See comment at cmap package.75%%76%% Background: "workflow" contains "fl" which is a ligature, which in turn77%% is rendered as one character in the PDF and needs to be split78%% whily copying.7980\ifluatex81\usepackage[no-math]{fontspec}82\usepackage{unicode-math}8384% Typewriter font (for source code etc)85% Use New Computer Modern font (Computer Modern is the default LaTeX font; this is the implemented modern variant)86% Source: https://tug.org/FontCatalogue/newcomputermoderntypewriter/8788\setmainfont[89ItalicFont=NewCM10-Italic.otf,90BoldFont=NewCM10-Bold.otf,91BoldItalicFont=NewCM10-BoldItalic.otf,92SmallCapsFeatures={Numbers=OldStyle}]{NewCM10-Regular.otf}9394\setsansfont[95ItalicFont=NewCMSans10-Oblique.otf,96BoldFont=NewCMSans10-Bold.otf,97BoldItalicFont=NewCMSans10-BoldOblique.otf,98SmallCapsFeatures={Numbers=OldStyle}]{NewCMSans10-Regular.otf}99100\setmonofont[ItalicFont=NewCMMono10-Italic.otf,101BoldFont=NewCMMono10-Bold.otf,102BoldItalicFont=NewCMMono10-BoldOblique.otf,103SmallCapsFeatures={Numbers=OldStyle}]{NewCMMono10-Regular.otf}104105\setmathfont{NewCMMath-Regular.otf}106107% Enable proper ligatures108% For more information see https://ctan.org/pkg/selnolig109% language "english" or "ngerman" is passed to selnolig by the document class110\usepackage{selnolig}111112\else113% This is the modern package for "Computer Modern".114% In case this gets activated, one has to switch from cmap package to glyphtounicode (in the case of pdflatex)115\usepackage[%116rm={oldstyle=false,proportional=true},%117sf={oldstyle=false,proportional=true},%118% By using 'variable=true' the monospaced font can be used as variable font (with differents widths per letter)119% However, this makes listings look ugly.120tt={oldstyle=false,proportional=true,variable=false},%121qt=false%122]{cfr-lm}123124% Has to be loaded AFTER any font packages. See https://tex.stackexchange.com/a/2869/9075.125\usepackage[T1]{fontenc}126\fi127128% Character protrusion and font expansion. See http://www.ctan.org/tex-archive/macros/latex/contrib/microtype/129130\usepackage[131babel=true, % Enable language-specific kerning. Take language-settings from the languge of the current document (see Section 6 of microtype.pdf)132expansion=alltext,133protrusion=alltext-nott, % Ensure that at listings, there is no change at the margin of the listing134% In the standard configuration, this template is always in the final mode, so this option only makes a difference if "pros" use the draft mode135final % Always enable microtype, even if in draft mode. This helps finding bad boxes quickly.136]{microtype}137138% \texttt{test -- test} keeps the "--" as "--" (and does not convert it to an en dash)139\DisableLigatures{encoding = T1, family = tt* }140141%\DeclareMicrotypeSet*[tracking]{my}{ font = */*/*/sc/* }%142%\SetTracking{ encoding = *, shape = sc }{ 45 }143% Source: http://homepage.ruhr-uni-bochum.de/Georg.Verweyen/pakete.html144% Deactiviated, because does not look good145146\usepackage{graphicx}147148% Diagonal lines in a table - http://tex.stackexchange.com/questions/17745/diagonal-lines-in-table-cell149% Slashbox is not available in texlive (due to licensing) and also gives bad results. Thus, we use diagbox150\usepackage{diagbox}151152\ifluatex153\usepackage{spelling}154\spellingoutput{off}155\fi156157\usepackage[dvipsnames, table]{xcolor}158% Code Listings159\usepackage{listings}160161\definecolor{eclipseStrings}{RGB}{42,0.0,255}162\definecolor{eclipseKeywords}{RGB}{127,0,85}163\colorlet{numb}{magenta!60!black}164165% JSON definition166% Source: https://tex.stackexchange.com/a/433961/9075167168\lstdefinelanguage{json}{169basicstyle=\normalfont\ttfamily,170commentstyle=\color{eclipseStrings}, % style of comment171stringstyle=\color{eclipseKeywords}, % style of strings172numbers=left,173numberstyle=\scriptsize,174stepnumber=1,175numbersep=8pt,176showstringspaces=false,177breaklines=true,178frame=lines,179% backgroundcolor=\color{gray}, %only if you like180string=[s]{"}{"},181comment=[l]{:\ "},182morecomment=[l]{:"},183literate=184*{0}{{{\color{numb}0}}}{1}185{1}{{{\color{numb}1}}}{1}186{2}{{{\color{numb}2}}}{1}187{3}{{{\color{numb}3}}}{1}188{4}{{{\color{numb}4}}}{1}189{5}{{{\color{numb}5}}}{1}190{6}{{{\color{numb}6}}}{1}191{7}{{{\color{numb}7}}}{1}192{8}{{{\color{numb}8}}}{1}193{9}{{{\color{numb}9}}}{1}194}195196\lstset{197% everything between (* *) is a latex command198escapeinside={(*}{*)},199%200language=json,201%202showstringspaces=false,203%204basicstyle=\footnotesize\ttfamily,205%206commentstyle=\slshape,207%208% default: \rmfamily209stringstyle=\ttfamily,210%211breaklines=true, % Zeilen werden umbrochen212%213breakatwhitespace=true,214%215% alternative: fixed216columns=flexible,217%218tabsize=2, % Groesse von Tabs219%220numbers=left,221%222numberstyle=\tiny,223%224basewidth=.5em,225%226xleftmargin=.5cm,227%228% aboveskip=0mm,229%230% belowskip=0mm,231%232captionpos=b233}234235\ifpdftex236% Enable Umlauts when using \lstinputputlisting.237% See https://stackoverflow.com/a/29260603/873282 and https://tex.stackexchange.com/a/24532/9075 for details.238% listingsutf8 did not work in June 2020.239\lstset{extendedchars=true, literate=240{á}{{\'a}}1 {é}{{\'e}}1 {í}{{\'i}}1 {ó}{{\'o}}1 {ú}{{\'u}}1241{Á}{{\'A}}1 {É}{{\'E}}1 {Í}{{\'I}}1 {Ó}{{\'O}}1 {Ú}{{\'U}}1242{à}{{\`a}}1 {è}{{\`e}}1 {ì}{{\`i}}1 {ò}{{\`o}}1 {ù}{{\`u}}1243{À}{{\`A}}1 {È}{{\'E}}1 {Ì}{{\`I}}1 {Ò}{{\`O}}1 {Ù}{{\`U}}1244{ä}{{\"a}}1 {ë}{{\"e}}1 {ï}{{\"i}}1 {ö}{{\"o}}1 {ü}{{\"u}}1245{Ä}{{\"A}}1 {Ë}{{\"E}}1 {Ï}{{\"I}}1 {Ö}{{\"O}}1 {Ü}{{\"U}}1246{â}{{\^a}}1 {ê}{{\^e}}1 {î}{{\^i}}1 {ô}{{\^o}}1 {û}{{\^u}}1247{Â}{{\^A}}1 {Ê}{{\^E}}1 {Î}{{\^I}}1 {Ô}{{\^O}}1 {Û}{{\^U}}1248{Ã}{{\~A}}1 {ã}{{\~a}}1 {Õ}{{\~O}}1 {õ}{{\~o}}1249{œ}{{\oe}}1 {Œ}{{\OE}}1 {æ}{{\ae}}1 {Æ}{{\AE}}1 {ß}{{\ss}}1250{ű}{{\H{u}}}1 {Ű}{{\H{U}}}1 {ő}{{\H{o}}}1 {Ő}{{\H{O}}}1251{ç}{{\c c}}1 {Ç}{{\c C}}1 {ø}{{\o}}1 {å}{{\r a}}1 {Å}{{\r A}}1252}253\fi254255\lstloadlanguages{% Check dokumentation for further languages...256%[Visual]Basic257%Pascal258%C259%C++260%XML261%HTML262}263264% For easy quotations: \enquote{text}265% This package is very smart when nesting is applied, otherwise textcmds (see below) provides a shorter command266\usepackage[autostyle=true]{csquotes}267268% Enable using "`quote"' - see https://tex.stackexchange.com/a/150954/9075269\defineshorthand{"`}{\openautoquote}270\defineshorthand{"'}{\closeautoquote}271272% Nicer tables (\toprule, \midrule, \bottomrule)273\usepackage{booktabs}274275% Extended enumerate, such as \begin{compactenum}276\usepackage{paralist}277278% Bibliopgraphy enhancements279% - enable \cite[prenote][]{ref}280% - enable \cite{ref1,ref2}281% Alternative: \usepackage{cite}, which enables \cite{ref1, ref2} only (otherwise: Error message: "White space in argument")282283% Doc: http://texdoc.net/natbib284\usepackage[%285square, % for square brackets286comma, % use commas as separators287numbers, % for numerical citations;288%sort % orders multiple citations into the sequence in which they appear in the list of references;289sort&compress % as sort but in addition multiple numerical citations are compressed if possible (as 3-6, 15);290]{natbib}291292% In the bibliography, references have to be formatted as 1., 2., ... not [1], [2], ...293\renewcommand{\bibnumfmt}[1]{#1.}294295% Enable hyperlinked author names in the case of \citet296% Source: https://tex.stackexchange.com/a/76075/9075297\usepackage{etoolbox}298\makeatletter299\patchcmd{\NAT@test}{\else \NAT@nm}{\else \NAT@hyper@{\NAT@nm}}{}{}300\makeatother301302% Prepare more space-saving rendering of the bibliography303% Source: https://tex.stackexchange.com/a/280936/9075304\SetExpansion305[ context = sloppy,306stretch = 30,307shrink = 60,308step = 5 ]309{ encoding = {OT1,T1,TS1} }310{ }311312% Put figures aside a text313% Even though the package is from 1998, it works well314\usepackage[rflt]{floatflt}315316% Farbige Tabellen317% ----------------318% Das Paket colortbl wird inzwischen automatisch durch xcolor geladen319%320% Erweiterte Funktionen innerhalb von Tabellen321% --------------------------------------------322%%% Doc: http://mirror.ctan.org/tex-archive/macros/latex/contrib/multirow/multirow.sty323\usepackage{multirow} % Mehrfachspalten324%325%%% Doc: Documentation inside dtx Package326\usepackage{dcolumn} % Ausrichtung an Komma oder Punkt327328%%% Doc: http://mirror.ctan.org/tex-archive/macros/latex/contrib/supertabular/supertabular.pdf329%\usepackage{supertabular}330331%%% Fussnoten/Endnoten ===================================================332333% EN: Put footnotes below floats334% DE: Fußnoten unter Gleitumgebungen ("floats") platzieren335% Source: https://tex.stackexchange.com/a/32993/9075336\usepackage{stfloats}337\fnbelowfloat338339% EN: Extended support for footnotes340% DE: Fußnoten341%342%\usepackage{dblfnote} %Zweispaltige Fußnoten343%344% Keine hochgestellten Ziffern in der Fußnote (KOMA-Script-spezifisch):345%\deffootnote[1.5em]{0pt}{1em}{\makebox[1.5em][l]{\bfseries\thefootnotemark}}346%347% Abstand zwischen Fußnoten vergrößern:348%\setlength{\footnotesep}{.85\baselineskip}349%350% EN: Following command disables the separting line of the footnote351% DE: Folgendes Kommando deaktiviert die Trennlinie zur Fußnote352%\renewcommand{\footnoterule}{}353%354%\addtolength{\skip\footins}{\baselineskip} % Abstand Text <-> Fußnote355356% DE: Fußnoten immer ganz unten auf einer \raggedbottom-Seite357% DE: fnpos kommt aus dem yafoot package358%\usepackage{fnpos}359%\makeFNbelow360%\makeFNbottom361362% TODO (and comment) configuration363%364% - \todo (from todo, easy-todo, todonotes) / \TODO (from fixmetodonotes) - for "normal" TODOs365% - \todofix - "important" TODOs366%367% - \textcomment - highlights text and has a hover comment368% - \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)369%370% - \missingfigure371%372% - \textmarker373% - \modified374% - \change - adresses a review comment375376% Enable nice comments377\usepackage{pdfcomment}378379\newcommand{\textcomment}[2]{\colorbox{yellow!60}{#1}\pdfcomment[color={0.234 0.867 0.211},hoffset=-6pt,voffset=10pt,opacity=0.5]{#2}}380381% Small PDF comment382% 1. Parameter: Comment383\newcommand{\sidecomment}[1]{\pdfcomment[color={0.045 0.278 0.643},voffset=4pt,icon=Note]{#1}}384% Disabled variant - for the final PDF385%\newcommand{\sidecomment}[1]{}386387\newcommand{\todo}[1]{TODO!\sidecomment{#1}}388389% Änderungen390%391% 1. Parameter: Review-Kommentar392% 2. Parameter: Neuer Text393\newcommand{\change}[2]{{\color{red}#2}\pdfcomment[color={0.234 0.867 0.211},voffset=8pt,opacity=0.5]{#1}}394% Disabled variant - for the final PDF395%\newcommand{\change}[2]{#2}396397% Define default commands398\makeatletter399\@ifundefined{missingfigure}{\newcommand{\missingfigure}{... missing figure ...}}{}400\@ifundefined{textcomment}{\newcommand{\textcomment}[2]{#1 \todo{#2}}}{}401\@ifundefined{sidecomment}{\newcommand{\sidecomment}[1]{\marginpar{#1}}}{}402\@ifundefined{todo}{\newcommand{\todo}[1]{\sidecomment{#1}}}{}403\@ifundefined{TODO}{\newcommand{\TODO}[1]{\todo{#1}}}{}404\@ifundefined{todofix}{\newcommand{\todofix}[1]{\todo{#1}}}{}405\@ifundefined{change}{\newcommand{\change}[2]{#1 $\rightarrow$ #2}}{}406\makeatother407408% Textmarker (Textfarbe rot)409\newcommand{\textmarker}[1]{{\color{red} #1}\xspace}410411% Modified (Text blau)412\newcommand{\modified}[1]{{\color{blue!60!black} #1}\xspace}413414\usepackage[group-minimum-digits=4,per-mode=fraction]{siunitx}415416% 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 document417\usepackage{hyperref}418419% Enable hyperref without colors and without bookmarks420\hypersetup{421hidelinks,422colorlinks=true, % Links erhalten Farben statt Kaeten423raiselinks=true, % calculate real height of the link424allcolors=black,425pdfstartview=Fit,426breaklinks=true, % Links ueberstehen Zeilenumbruch427hypertexnames=false, % Fix jumping to algorithm line - http://tex.stackexchange.com/a/156404/9075428}429430% Enable correct jumping to figures when referencing431\usepackage[all]{hypcap}432433\usepackage[caption=false,font=footnotesize]{subfig}434435% Alternative for making subfigures:436% Part of the caption package. See http://www.ctan.org/pkg/caption437% Ersetzt die Pakete subfigure und subfig - siehe https://tex.stackexchange.com/a/13778/9075438%439% (subfigure is outdated. subfig is maintained, but subcaption is better)440% See: http://tex.stackexchange.com/questions/13625/subcaption-vs-subfig-best-package-for-referencing-a-subfigure441%\usepackage[hypcap=true]{subcaption}442443\usepackage{mindflow}444445% Extensions for references inside the document (\cref{fig:sample}, ...)446% Enable usage \cref{...} and \Cref{...} instead of \ref: Type of reference included in the link447% That means, "Figure 5" is a full link instead of just "5".448\usepackage[capitalise,nameinlink]{cleveref}449450\crefname{section}{Sect.}{Sect.}451\Crefname{section}{Section}{Sections}452\crefname{listing}{List.}{List.}453\crefname{listing}{Listing}{Listings}454\Crefname{listing}{Listing}{Listings}455\crefname{lstlisting}{Listing}{Listings}456\Crefname{lstlisting}{Listing}{Listings}457458\usepackage{lipsum}459460% For demonstration purposes only461% These packages can be removed when all examples have been deleted462\usepackage[math]{blindtext}463\usepackage{mwe}464\usepackage[realmainfile]{currfile}465\usepackage{tcolorbox}466\tcbuselibrary{listings}467468%introduce \powerset - hint by http://matheplanet.com/matheplanet/nuke/html/viewtopic.php?topic=136492&post_id=997377469\DeclareFontFamily{U}{MnSymbolC}{}470\DeclareSymbolFont{MnSyC}{U}{MnSymbolC}{m}{n}471\DeclareFontShape{U}{MnSymbolC}{m}{n}{472<-6> MnSymbolC5473<6-7> MnSymbolC6474<7-8> MnSymbolC7475<8-9> MnSymbolC8476<9-10> MnSymbolC9477<10-12> MnSymbolC10478<12-> MnSymbolC12%479}{}480\DeclareMathSymbol{\powerset}{\mathord}{MnSyC}{180}481482% Allows for defining commands that don't eat spaces.483\usepackage{xspace}484% Adds compatibility to \xspace und \enquote485\makeatletter486\xspaceaddexceptions{\grqq \grq \csq@qclose@i \} }487\makeatother488489\newcommand{\eg}{e.g.,\ }490\newcommand{\ie}{i.e.,\ }491492% Enable hyphenation at other places as the dash.493% Example: applicaiton\hydash specific494\makeatletter495\newcommand{\hydash}{\penalty\@M-\hskip\z@skip}496% Definition of "= taken from http://mirror.ctan.org/macros/latex/contrib/babel-contrib/german/ngermanb.dtx497\makeatother498499% Add manual adapted hyphenation of English words500% See https://ctan.org/pkg/hyphenex and https://tex.stackexchange.com/a/22892/9075 for details501\input{ushyphex}502503% correct bad hyphenation here504\hyphenation{505op-tical net-works semi-conduc-tor506% May not be hypphenated507AROMA TOSCA BPMN OASIS OMG DMTF IT DevOps508}509510\input{commands}511512% Add copyright513%514% This is recommended if you intend to send the version to colleagues515% See https://ctan.org/pkg/llncsconf for details516\iffalse517% state: intended | submitted | llncs518% you can add "crop" if the paper should be cropped to the format Springer is publishing519\usepackage[intended]{llncsconf}520521\conference{name of the conference}522523% in case of "proceedings" (final version!)524% example: \llncs{Anonymous et al. (eds). \emph{Proceedings of the International Conference on \LaTeX-Hacks}, LNCS~42. Some Publisher, 2016.}{0042}525% 0042 denotes an example start page526\llncs{book editors and title}{0042}527\fi528529\ifpdftex530% Enable copy and paste of text from the PDF531% Only required for pdflatex. It "just works" in the case of lualatex.532% Alternative: cmap or mmap package533% mmap enables mathematical symbols, but does not work with the newtx font set534% See: https://tex.stackexchange.com/a/64457/9075535% 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-searchable536% Trouble shooting outlined at https://tex.stackexchange.com/a/100618/9075537%538% According to https://tex.stackexchange.com/q/451235/9075 this is the way to go539\input{glyphtounicode}540\pdfgentounicode=1541\fi542\begin{document}543544\title{Paper Title}545% If Title is too long, use \titlerunning546%\titlerunning{Short Title}547548% Single insitute549\author{Firstname Lastname \and Firstname Lastname}550551% If there are too many authors, use \authorrunning552%\authorrunning{First Author et al.}553554\institute{Institute}555556%% Multiple insitutes - ALTERNATIVE to the above557% \author{%558% Firstname Lastname\inst{1} \and559% Firstname Lastname\inst{2}560% }561%562%If there are too many authors, use \authorrunning563% \authorrunning{First Author et al.}564%565% \institute{566% Insitute 1\\567% \email{...}\and568% Insitute 2\\569% \email{...}570%}571572\maketitle573574\begin{abstract}575\lipsum[1]576577\keywords{First keyword \and Second keyword \and Third keyword}578\end{abstract}579580581\section{Introduction}582\label{sec:introduction}583\lipsum[1-3]\todo{Refine me}584585The remainder of the paper starts with a presentation of related work (\cref{sec:relatedwork}).586It is followed by a presentation of hints on \LaTeX{} (\cref{sec:latexhints}).587Finally, a conclusion is drawn and outlook on future work is made (\cref{sec:outlook}).588589\section{Related Work}590\label{sec:relatedwork}591592Winery~\cite{Winery} is a graphical \textcomment{modeling}{modeling with one ``l'', because of American English} tool.593The whole idea of TOSCA is explained by \citet{Binz2009}.594595\section{LaTeX Hints}596\label{sec:latexhints}597598% Required for proper example rendering in the compiled PDF599\newcount\LTGbeginlineexample600\newcount\LTGendlineexample601\newenvironment{ltgexample}%602{\LTGbeginlineexample=\numexpr\inputlineno+1\relax}%603{\LTGendlineexample=\numexpr\inputlineno-1\relax%604\tcbinputlisting{%605listing only,606listing file=\currfilepath,607colback=green!5!white,608colframe=green!25,609coltitle=black!90,610coltext=black!90,611left=8mm,612title=Corresponding \LaTeX{} code of \texttt{\currfilepath},613listing options={614frame=none,615language={[LaTeX]TeX},616escapeinside={},617firstline=\the\LTGbeginlineexample,618lastline=\the\LTGendlineexample,619firstnumber=\the\LTGbeginlineexample,620basewidth=.5em,621aboveskip=0mm,622belowskip=0mm,623numbers=left,624xleftmargin=0mm,625numberstyle=\tiny,626numbersep=8pt%627}628}629}%630631This section contains hints on writing LaTeX.632It focuses on minimal examples, which can be directly adapted to the content633634\subsection{Handling of paragraphs}635636\begin{ltgexample}637One sentence per line.638This rule is important for the usage of version control systems.639A new line is generated with a blank line.640As you would do in Word:641New paragraphs are generated by pressing enter.642In LaTeX, this does not lead to a new paragraph as LaTeX joins subsequent lines.643In case you want a new paragraph, just press enter twice!644This leads to an empty line.645In word, there is the functionality to press shift and enter.646This leads to a hard line break.647The text starts at the beginning of a new line.648In LaTeX, you can do that by using two backslashes (\textbackslash\textbackslash).649\\650This is rarely used.651652Please do \textit{not} use two backslashes for new paragraphs.653For instance, this sentence belongs to the same paragraph, whereas the last one started a new one.654A long motivation for that is provided at \url{http://loopspace.mathforge.org/HowDidIDoThat/TeX/VCS/#section.3}.655\end{ltgexample}656657\subsection{Notes separated from the text}658659The package mindflow enables writing down notes and annotations in a way so that they are separated from the main text.660661\begin{ltgexample}662\begin{mindflow}663This is a small note.664\end{mindflow}665\end{ltgexample}666667\subsection{Handling TODOs}668669\begin{ltgexample}670\textmarker{Markierter Text.}671\end{ltgexample}672673Bei \verb1\textmarker1 wird nur die Textfarbe geändert, da dies auch bei einigen Worten gut funktioniert.674675\begin{ltgexample}676\textcomment{Markierter Text.}{Kommentar dazu.}677\end{ltgexample}678679\begin{ltgexample}680\modified{Manuelle Markierung für Text, der seit der letzten Version geändert wurde.}681\end{ltgexample}682683\begin{ltgexample}684Das ist ein Text.685\change{FL1: Text angepasst}{Geänderter Text}.686\end{ltgexample}687688\begin{ltgexample}689Hier nur ein Kommentar\sidecomment{Kommentar}.690\end{ltgexample}691692\begin{ltgexample}693\todo{Hier muss noch kräftig Text produziert werden}694\end{ltgexample}695696\subsection{Hyphenation}697698\LaTeX{} automatically hyphenates words.699When using \href{https://ctan.org/pkg/microtype}{microtype}, there should be fewer hyphenations than in other settings.700It might be necessary to tweak the hyphenations nevertheless.701Here are some hints:702703\begin{ltgexample}704In case you write \enquote{application-specific}, then the word will only be hyphenated at the dash.705You can also write \verb1applica\allowbreak{}tion-specific1 (result: applica\allowbreak{}tion-specific), but this is much more effort.706707You can now write words containing hyphens which are hyphenated at other places in the word.708For instance, \verb1application"=specific1 gets application"=specific.709This is enabled by an additional configuration of the babel package.710\end{ltgexample}711712\subsection{Typesetting Units}713714\begin{ltgexample}715Numbers can be written plain text (such as 100), by using the \href{https://ctan.org/pkg/siunitx}{siunitx} package as follows:716\SI{100}{\km\per\hour},717or by using plain \LaTeX{} (and math mode):718$100 \frac{\mathit{km}}{h}$.719\end{ltgexample}720721\begin{ltgexample}722\SI{5}{\percent} of \SI{10}{kg}723\end{ltgexample}724725\begin{ltgexample}726Numbers are automatically grouped: \num{123456}.727\end{ltgexample}728729\subsection{Surrounding Text by Quotes}730731\begin{ltgexample}732Please use the \enquote{enquote command} to quote something.733Quoting with "`quote"' or ``quote'' also works.734735\end{ltgexample}736737\subsection{Cleveref examples}738\label{sec:ex:cref}739740Cleveref demonstration: Cref at beginning of sentence, cref in all other cases.741742\begin{figure}743\centering744\includegraphics[width=.75\linewidth]{example-image-a}745\caption{Example figure for cref demo}746\label{fig:ex:cref}747\end{figure}748749\begin{table}750\centering751\begin{tabular}{ll}752\toprule753Heading1 & Heading2 \\754\midrule755One & Two \\756Thee & Four \\757\bottomrule758\end{tabular}759\caption{Example table for cref demo}760\label{tab:ex:cref}761\end{table}762763\begin{ltgexample}764\Cref{fig:ex:cref} shows a simple fact, although \cref{fig:ex:cref} could also show something else.765766\Cref{tab:ex:cref} shows a simple fact, although \cref{tab:ex:cref} could also show something else.767768\Cref{sec:ex:cref} shows a simple fact, although \cref{sec:ex:cref} could also show something else.769\end{ltgexample}770771\subsection{Figures}772773\begin{ltgexample}774\Cref{fig:label} shows something interesting.775776\begin{figure}777\centering778\includegraphics[width=.8\linewidth]{example-image-golden}779\caption[Simple Figure]{780Simple Figure.781Based on \citet{mwe}.782}783\label{fig:label}784\end{figure}785\end{ltgexample}786787One can also have pictures floating inside text:788\clearpage789790\begin{ltgexample}791\begin{floatingfigure}{.33\linewidth}792\includegraphics[width=.29\linewidth]{example-image-a}793\caption{A floating figure}794\end{floatingfigure}795\lipsum[2]796\end{ltgexample}797798\subsection{Sub Figures}799800An example of two sub figures is shown in \cref{fig:two_sub_figures}.801802\begin{ltgexample}803\begin{figure}[!b]804\centering805\subfloat[Case I]{\includegraphics[width=.4\linewidth]{example-image-a}%806\label{fig:first_case}}807\hfil808\subfloat[Case II]{\includegraphics[width=.4\linewidth]{example-image-b}%809\label{fig:second_case}}810\caption{Example figure with two sub figures.}811\label{fig:two_sub_figures}812\end{figure}813\end{ltgexample}814815\subsection{Tables}816817\begin{ltgexample}818\begin{table}819\caption{Simple Table}820\label{tab:simple}821\centering822\begin{tabular}{ll}823\toprule824Heading1 & Heading2 \\825\midrule826One & Two \\827Thee & Four \\828\bottomrule829\end{tabular}830\end{table}831\end{ltgexample}832833\begin{ltgexample}834% Source: https://tex.stackexchange.com/a/468994/9075835\begin{table}836\caption{Table with diagonal line}837\label{tab:diag}838\begin{center}839\begin{tabular}{|l|c|c|}840\hline841\diagbox[width=10em]{Diag \\Column Head I}{Diag Column\\Head II} & Second & Third \\842\hline843& foo & bar \\844\hline845\end{tabular}846\end{center}847\end{table}848\end{ltgexample}849850851\subsection{Source Code}852853\begin{ltgexample}854\Cref{lst:XML} shows source code written in XML.855\Cref{line:comment} contains a comment.856857\begin{lstlisting}[858language=XML,859caption={Example XML Listing},860label={lst:XML}]861<listing name="example">862<!-- comment --> (* \label{line:comment} *)863<content>not interesting</content>864</listing>865\end{lstlisting}866\end{ltgexample}867868One can also add \verb+float+ as parameter to have the listing floating.869\Cref{lst:flXML} shows the floating listing.870871\begin{ltgexample}872\begin{lstlisting}[873% one can adjust spacing here if required874% aboveskip=2.5\baselineskip,875% belowskip=-.8\baselineskip,876float,877language=XML,878caption={Example XML listing -- placed as floating figure},879label={lst:flXML}]880<listing name="example">881Floating882</listing>883\end{lstlisting}884\end{ltgexample}885886One can also typeset JSON as shown in \cref{lst:json}.887888\begin{ltgexample}889\begin{lstlisting}[890float,891language=json,892caption={Example JSON listing -- placed as floating figure},893label={lst:json}]894{895key: "value"896}897\end{lstlisting}898\end{ltgexample}899900Java is also possible as shown in \cref{lst:java}.901902\begin{ltgexample}903\begin{lstlisting}[904caption={Example Java listing},905label=lst:java,906language=Java,907float]908public class Hello {909public static void main (String[] args) {910System.out.println("Hello World!");911}912}913\end{lstlisting}914\end{ltgexample}915916\subsection{Itemization}917918One can list items as follows:919920\begin{ltgexample}921\begin{itemize}922\item Item One923\item Item Two924\end{itemize}925\end{ltgexample}926927928One can enumerate items as follows:929930\begin{ltgexample}931\begin{enumerate}932\item Item One933\item Item Two934\end{enumerate}935\end{ltgexample}936937938With paralist, one can even have all items typeset after each other and have them clean in the TeX document:939940\begin{ltgexample}941\begin{inparaenum}942\item All these items...943\item ...appear in one line944\item This is enabled by the paralist package.945\end{inparaenum}946\end{ltgexample}947948\subsection{Other Features}949950\begin{ltgexample}951The words \enquote{workflow} and \enquote{dwarflike} can be copied from the PDF and pasted to a text file.952\end{ltgexample}953954\begin{ltgexample}955The symbol for powerset is now correct: $\powerset$ and not a Weierstrass p ($\wp$).956957$\powerset({1,2,3})$958\end{ltgexample}959960\begin{ltgexample}961Brackets work as designed:962<test>963One can also input backticks in verbatim text: \verb|`test`|.964\end{ltgexample}965966967\section{Conclusion and Outlook}968\label{sec:outlook}969\lipsum[1-2]970971\subsubsection*{Acknowledgments}972973Identification of funding sources and other support, and thanks to individuals and groups that assisted in the research and the preparation of the work should be included in an acknowledgment section, which is placed just before the reference section in your document \cite{acmart}.974975%%% ===============================================================================976%%% Bibliography977%%% ===============================================================================978979\renewcommand{\bibsection}{\section*{References}} % requried for natbib to have "References" printed and as section*, not chapter*980% Use natbib compatbile splncs04nat style.981% It does provide all features of splncs04.bst, but is developed in a clean way.982% Source: https://github.com/tpavlic/splncs04nat983\bibliographystyle{splncs04nat}984\begingroup985\microtypecontext{expansion=sloppy}986\small % ensure correct font size for the bibliography987\bibliography{paper}988\endgroup989990% Enfore empty line after bibliography991\ \\992%993\noindent994All links were last followed on October 5, 2020.995996%%% ===============================================================================997%\appendix998%\addcontentsline{toc}{chapter}{APPENDICES}9991000%\listoffigures1001%\listoftables1002%%% ===============================================================================10031004%%% ===============================================================================1005%\section{My first appendix}\label{sec:appendix1}1006%%% ===============================================================================1007\end{document}100810091010