% 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%204extendedchars=true,205%206basicstyle=\footnotesize\ttfamily,207%208commentstyle=\slshape,209%210% default: \rmfamily211stringstyle=\ttfamily,212%213breaklines=true, % Zeilen werden umbrochen214%215breakatwhitespace=true,216%217% alternative: fixed218columns=flexible,219%220tabsize=2, % Groesse von Tabs221%222numbers=left,223%224numberstyle=\tiny,225%226basewidth=.5em,227%228xleftmargin=.5cm,229%230% aboveskip=0mm,231%232% belowskip=0mm,233%234captionpos=b235}236\ifpdftex237238% Enable Umlauts when using \lstinputputlisting.239% See https://stackoverflow.com/a/29260603/873282 für details.240% listingsutf8 did not work in June 2020.241\lstset{literate=242{á}{{\'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 {ê}{{\^e}}1 {î}{{\^i}}1 {ô}{{\^o}}1 {û}{{\^u}}1249{Â}{{\^A}}1 {Ê}{{\^E}}1 {Î}{{\^I}}1 {Ô}{{\^O}}1 {Û}{{\^U}}1250{Ã}{{\~A}}1 {ã}{{\~a}}1 {Õ}{{\~O}}1 {õ}{{\~o}}1251{œ}{{\oe}}1 {Œ}{{\OE}}1 {æ}{{\ae}}1 {Æ}{{\AE}}1 {ß}{{\ss}}1252{ű}{{\H{u}}}1 {Ű}{{\H{U}}}1 {ő}{{\H{o}}}1 {Ő}{{\H{O}}}1253{ç}{{\c c}}1 {Ç}{{\c C}}1 {ø}{{\o}}1 {å}{{\r a}}1 {Å}{{\r A}}1254}255\fi256257\lstloadlanguages{% Check dokumentation for further languages...258%[Visual]Basic259%Pascal260%C261%C++262%XML263%HTML264}265266% For easy quotations: \enquote{text}267% This package is very smart when nesting is applied, otherwise textcmds (see below) provides a shorter command268\usepackage[autostyle=true]{csquotes}269270% Enable using "`quote"' - see https://tex.stackexchange.com/a/150954/9075271\defineshorthand{"`}{\openautoquote}272\defineshorthand{"'}{\closeautoquote}273274% Nicer tables (\toprule, \midrule, \bottomrule)275\usepackage{booktabs}276277% Extended enumerate, such as \begin{compactenum}278\usepackage{paralist}279280% Bibliopgraphy enhancements281% - enable \cite[prenote][]{ref}282% - enable \cite{ref1,ref2}283% Alternative: \usepackage{cite}, which enables \cite{ref1, ref2} only (otherwise: Error message: "White space in argument")284285% Doc: http://texdoc.net/natbib286\usepackage[%287square, % for square brackets288comma, % use commas as separators289numbers, % for numerical citations;290%sort % orders multiple citations into the sequence in which they appear in the list of references;291sort&compress % as sort but in addition multiple numerical citations are compressed if possible (as 3-6, 15);292]{natbib}293294% In the bibliography, references have to be formatted as 1., 2., ... not [1], [2], ...295\renewcommand{\bibnumfmt}[1]{#1.}296297% Enable hyperlinked author names in the case of \citet298% Source: https://tex.stackexchange.com/a/76075/9075299\usepackage{etoolbox}300\makeatletter301\patchcmd{\NAT@test}{\else \NAT@nm}{\else \NAT@hyper@{\NAT@nm}}{}{}302\makeatother303304% Prepare more space-saving rendering of the bibliography305% Source: https://tex.stackexchange.com/a/280936/9075306\SetExpansion307[ context = sloppy,308stretch = 30,309shrink = 60,310step = 5 ]311{ encoding = {OT1,T1,TS1} }312{ }313314% Put figures aside a text315% Even though the package is from 1998, it works well316\usepackage[rflt]{floatflt}317318% Farbige Tabellen319% ----------------320% Das Paket colortbl wird inzwischen automatisch durch xcolor geladen321%322% Erweiterte Funktionen innerhalb von Tabellen323% --------------------------------------------324%%% Doc: http://mirror.ctan.org/tex-archive/macros/latex/contrib/multirow/multirow.sty325\usepackage{multirow} % Mehrfachspalten326%327%%% Doc: Documentation inside dtx Package328\usepackage{dcolumn} % Ausrichtung an Komma oder Punkt329330%%% Doc: http://mirror.ctan.org/tex-archive/macros/latex/contrib/supertabular/supertabular.pdf331%\usepackage{supertabular}332333%%% Fussnoten/Endnoten ===================================================334335% EN: Put footnotes below floats336% DE: Fußnoten unter Gleitumgebungen ("floats") platzieren337% Source: https://tex.stackexchange.com/a/32993/9075338\usepackage{stfloats}339\fnbelowfloat340341% EN: Extended support for footnotes342% DE: Fußnoten343%344%\usepackage{dblfnote} %Zweispaltige Fußnoten345%346% Keine hochgestellten Ziffern in der Fußnote (KOMA-Script-spezifisch):347%\deffootnote[1.5em]{0pt}{1em}{\makebox[1.5em][l]{\bfseries\thefootnotemark}}348%349% Abstand zwischen Fußnoten vergrößern:350%\setlength{\footnotesep}{.85\baselineskip}351%352% EN: Following command disables the separting line of the footnote353% DE: Folgendes Kommando deaktiviert die Trennlinie zur Fußnote354%\renewcommand{\footnoterule}{}355%356%\addtolength{\skip\footins}{\baselineskip} % Abstand Text <-> Fußnote357358% DE: Fußnoten immer ganz unten auf einer \raggedbottom-Seite359% DE: fnpos kommt aus dem yafoot package360%\usepackage{fnpos}361%\makeFNbelow362%\makeFNbottom363364% TODO (and comment) configuration365%366% - \todo (from todo, easy-todo, todonotes) / \TODO (from fixmetodonotes) - for "normal" TODOs367% - \todofix - "important" TODOs368%369% - \textcomment - highlights text and has a hover comment370% - \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)371%372% - \missingfigure373%374% - \textmarker375% - \modified376% - \change - adresses a review comment377378% Enable nice comments379\usepackage{pdfcomment}380381\newcommand{\textcomment}[2]{\colorbox{yellow!60}{#1}\pdfcomment[color={0.234 0.867 0.211},hoffset=-6pt,voffset=10pt,opacity=0.5]{#2}}382383% Small PDF comment384% 1. Parameter: Comment385\newcommand{\sidecomment}[1]{\pdfcomment[color={0.045 0.278 0.643},voffset=4pt,icon=Note]{#1}}386% Disabled variant - for the final PDF387%\newcommand{\sidecomment}[1]{}388389\newcommand{\todo}[1]{TODO!\sidecomment{#1}}390391% Änderungen392%393% 1. Parameter: Review-Kommentar394% 2. Parameter: Neuer Text395\newcommand{\change}[2]{{\color{red}#2}\pdfcomment[color={0.234 0.867 0.211},voffset=8pt,opacity=0.5]{#1}}396% Disabled variant - for the final PDF397%\newcommand{\change}[2]{#2}398399% Define default commands400\makeatletter401\@ifundefined{missingfigure}{\newcommand{\missingfigure}{... missing figure ...}}{}402\@ifundefined{textcomment}{\newcommand{\textcomment}[2]{#1 \todo{#2}}}{}403\@ifundefined{sidecomment}{\newcommand{\sidecomment}[1]{\marginpar{#1}}}{}404\@ifundefined{todo}{\newcommand{\todo}[1]{\sidecomment{#1}}}{}405\@ifundefined{TODO}{\newcommand{\TODO}[1]{\todo{#1}}}{}406\@ifundefined{todofix}{\newcommand{\todofix}[1]{\todo{#1}}}{}407\@ifundefined{change}{\newcommand{\change}[2]{#1 $\rightarrow$ #2}}{}408\makeatother409410% Textmarker (Textfarbe rot)411\newcommand{\textmarker}[1]{{\color{red} #1}\xspace}412413% Modified (Text blau)414\newcommand{\modified}[1]{{\color{blue!60!black} #1}\xspace}415416\usepackage[group-minimum-digits=4,per-mode=fraction]{siunitx}417418% 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 document419\usepackage{hyperref}420421% Enable hyperref without colors and without bookmarks422\hypersetup{423hidelinks,424colorlinks=true, % Links erhalten Farben statt Kaeten425raiselinks=true, % calculate real height of the link426allcolors=black,427pdfstartview=Fit,428breaklinks=true, % Links ueberstehen Zeilenumbruch429hypertexnames=false, % Fix jumping to algorithm line - http://tex.stackexchange.com/a/156404/9075430}431432% Enable correct jumping to figures when referencing433\usepackage[all]{hypcap}434435\usepackage[caption=false,font=footnotesize]{subfig}436437% Alternative for making subfigures:438% Part of the caption package. See http://www.ctan.org/pkg/caption439% Ersetzt die Pakete subfigure und subfig - siehe https://tex.stackexchange.com/a/13778/9075440%441% (subfigure is outdated. subfig is maintained, but subcaption is better)442% See: http://tex.stackexchange.com/questions/13625/subcaption-vs-subfig-best-package-for-referencing-a-subfigure443%\usepackage[hypcap=true]{subcaption}444445\usepackage{mindflow}446447% Extensions for references inside the document (\cref{fig:sample}, ...)448% Enable usage \cref{...} and \Cref{...} instead of \ref: Type of reference included in the link449% That means, "Figure 5" is a full link instead of just "5".450\usepackage[capitalise,nameinlink]{cleveref}451452\crefname{section}{Sect.}{Sect.}453\Crefname{section}{Section}{Sections}454\crefname{listing}{List.}{List.}455\crefname{listing}{Listing}{Listings}456\Crefname{listing}{Listing}{Listings}457\crefname{lstlisting}{Listing}{Listings}458\Crefname{lstlisting}{Listing}{Listings}459460\usepackage{lipsum}461462% For demonstration purposes only463% These packages can be removed when all examples have been deleted464\usepackage[math]{blindtext}465\usepackage{mwe}466\usepackage[realmainfile]{currfile}467\usepackage{tcolorbox}468\tcbuselibrary{listings}469470%introduce \powerset - hint by http://matheplanet.com/matheplanet/nuke/html/viewtopic.php?topic=136492&post_id=997377471\DeclareFontFamily{U}{MnSymbolC}{}472\DeclareSymbolFont{MnSyC}{U}{MnSymbolC}{m}{n}473\DeclareFontShape{U}{MnSymbolC}{m}{n}{474<-6> MnSymbolC5475<6-7> MnSymbolC6476<7-8> MnSymbolC7477<8-9> MnSymbolC8478<9-10> MnSymbolC9479<10-12> MnSymbolC10480<12-> MnSymbolC12%481}{}482\DeclareMathSymbol{\powerset}{\mathord}{MnSyC}{180}483484% Allows for defining commands that don't eat spaces.485\usepackage{xspace}486% Adds compatibility to \xspace und \enquote487\makeatletter488\xspaceaddexceptions{\grqq \grq \csq@qclose@i \} }489\makeatother490491\newcommand{\eg}{e.g.,\ }492\newcommand{\ie}{i.e.,\ }493494% Enable hyphenation at other places as the dash.495% Example: applicaiton\hydash specific496\makeatletter497\newcommand{\hydash}{\penalty\@M-\hskip\z@skip}498% Definition of "= taken from http://mirror.ctan.org/macros/latex/contrib/babel-contrib/german/ngermanb.dtx499\makeatother500501% Add manual adapted hyphenation of English words502% See https://ctan.org/pkg/hyphenex and https://tex.stackexchange.com/a/22892/9075 for details503\input{ushyphex}504505% correct bad hyphenation here506\hyphenation{507op-tical net-works semi-conduc-tor508% May not be hypphenated509AROMA TOSCA BPMN OASIS OMG DMTF IT DevOps510}511512\input{commands}513514% Add copyright515%516% This is recommended if you intend to send the version to colleagues517% See https://ctan.org/pkg/llncsconf for details518\iffalse519% state: intended | submitted | llncs520% you can add "crop" if the paper should be cropped to the format Springer is publishing521\usepackage[intended]{llncsconf}522523\conference{name of the conference}524525% in case of "proceedings" (final version!)526% example: \llncs{Anonymous et al. (eds). \emph{Proceedings of the International Conference on \LaTeX-Hacks}, LNCS~42. Some Publisher, 2016.}{0042}527% 0042 denotes an example start page528\llncs{book editors and title}{0042}529\fi530531\ifpdftex532% Enable copy and paste of text from the PDF533% Only required for pdflatex. It "just works" in the case of lualatex.534% Alternative: cmap or mmap package535% mmap enables mathematical symbols, but does not work with the newtx font set536% See: https://tex.stackexchange.com/a/64457/9075537% 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-searchable538% Trouble shooting outlined at https://tex.stackexchange.com/a/100618/9075539%540% According to https://tex.stackexchange.com/q/451235/9075 this is the way to go541\input{glyphtounicode}542\pdfgentounicode=1543\fi544\begin{document}545546\title{Paper Title}547% If Title is too long, use \titlerunning548%\titlerunning{Short Title}549550% Single insitute551\author{Firstname Lastname \and Firstname Lastname}552553% If there are too many authors, use \authorrunning554%\authorrunning{First Author et al.}555556\institute{Institute}557558%% Multiple insitutes - ALTERNATIVE to the above559% \author{%560% Firstname Lastname\inst{1} \and561% Firstname Lastname\inst{2}562% }563%564%If there are too many authors, use \authorrunning565% \authorrunning{First Author et al.}566%567% \institute{568% Insitute 1\\569% \email{...}\and570% Insitute 2\\571% \email{...}572%}573574\maketitle575576\begin{abstract}577\lipsum[1]578579\keywords{First keyword \and Second keyword \and Third keyword}580\end{abstract}581582583\section{Introduction}584\label{sec:introduction}585\lipsum[1-3]\todo{Refine me}586587The remainder of the paper starts with a presentation of related work (\cref{sec:relatedwork}).588It is followed by a presentation of hints on \LaTeX{} (\cref{sec:latexhints}).589Finally, a conclusion is drawn and outlook on future work is made (\cref{sec:outlook}).590591\section{Related Work}592\label{sec:relatedwork}593594Winery~\cite{Winery} is a graphical \textcomment{modeling}{modeling with one ``l'', because of American English} tool.595The whole idea of TOSCA is explained by \citet{Binz2009}.596597\section{LaTeX Hints}598\label{sec:latexhints}599600% Required for proper example rendering in the compiled PDF601\newcount\LTGbeginlineexample602\newcount\LTGendlineexample603\newenvironment{ltgexample}%604{\LTGbeginlineexample=\numexpr\inputlineno+1\relax}%605{\LTGendlineexample=\numexpr\inputlineno-1\relax%606\tcbinputlisting{%607listing only,608listing file=\currfilepath,609colback=green!5!white,610colframe=green!25,611coltitle=black!90,612coltext=black!90,613left=8mm,614title=Corresponding \LaTeX{} code of \texttt{\currfilepath},615listing options={616frame=none,617language={[LaTeX]TeX},618escapeinside={},619firstline=\the\LTGbeginlineexample,620lastline=\the\LTGendlineexample,621firstnumber=\the\LTGbeginlineexample,622basewidth=.5em,623aboveskip=0mm,624belowskip=0mm,625numbers=left,626xleftmargin=0mm,627numberstyle=\tiny,628numbersep=8pt%629}630}631}%632633This section contains hints on writing LaTeX.634It focuses on minimal examples, which can be directly adapted to the content635636\subsection{Handling of paragraphs}637638\begin{ltgexample}639One sentence per line.640This rule is important for the usage of version control systems.641A new line is generated with a blank line.642As you would do in Word:643New paragraphs are generated by pressing enter.644In LaTeX, this does not lead to a new paragraph as LaTeX joins subsequent lines.645In case you want a new paragraph, just press enter twice!646This leads to an empty line.647In word, there is the functionality to press shift and enter.648This leads to a hard line break.649The text starts at the beginning of a new line.650In LaTeX, you can do that by using two backslashes (\textbackslash\textbackslash).651\\652This is rarely used.653654Please do \textit{not} use two backslashes for new paragraphs.655For instance, this sentence belongs to the same paragraph, whereas the last one started a new one.656A long motivation for that is provided at \url{http://loopspace.mathforge.org/HowDidIDoThat/TeX/VCS/#section.3}.657\end{ltgexample}658659\subsection{Notes separated from the text}660661The package mindflow enables writing down notes and annotations in a way so that they are separated from the main text.662663\begin{ltgexample}664\begin{mindflow}665This is a small note.666\end{mindflow}667\end{ltgexample}668669\subsection{Handling TODOs}670671\begin{ltgexample}672\textmarker{Markierter Text.}673\end{ltgexample}674675Bei \verb1\textmarker1 wird nur die Textfarbe geändert, da dies auch bei einigen Worten gut funktioniert.676677\begin{ltgexample}678\textcomment{Markierter Text.}{Kommentar dazu.}679\end{ltgexample}680681\begin{ltgexample}682\modified{Manuelle Markierung für Text, der seit der letzten Version geändert wurde.}683\end{ltgexample}684685\begin{ltgexample}686Das ist ein Text.687\change{FL1: Text angepasst}{Geänderter Text}.688\end{ltgexample}689690\begin{ltgexample}691Hier nur ein Kommentar\sidecomment{Kommentar}.692\end{ltgexample}693694\begin{ltgexample}695\todo{Hier muss noch kräftig Text produziert werden}696\end{ltgexample}697698\subsection{Hyphenation}699700\LaTeX{} automatically hyphenates words.701When using \href{https://ctan.org/pkg/microtype}{microtype}, there should be fewer hyphenations than in other settings.702It might be necessary to tweak the hyphenations nevertheless.703Here are some hints:704705\begin{ltgexample}706In case you write \enquote{application-specific}, then the word will only be hyphenated at the dash.707You can also write \verb1applica\allowbreak{}tion-specific1 (result: applica\allowbreak{}tion-specific), but this is much more effort.708709You can now write words containing hyphens which are hyphenated at other places in the word.710For instance, \verb1application"=specific1 gets application"=specific.711This is enabled by an additional configuration of the babel package.712\end{ltgexample}713714\subsection{Typesetting Units}715716\begin{ltgexample}717Numbers can be written plain text (such as 100), by using the \href{https://ctan.org/pkg/siunitx}{siunitx} package as follows:718\SI{100}{\km\per\hour},719or by using plain \LaTeX{} (and math mode):720$100 \frac{\mathit{km}}{h}$.721\end{ltgexample}722723\begin{ltgexample}724\SI{5}{\percent} of \SI{10}{kg}725\end{ltgexample}726727\begin{ltgexample}728Numbers are automatically grouped: \num{123456}.729\end{ltgexample}730731\subsection{Surrounding Text by Quotes}732733\begin{ltgexample}734Please use the \enquote{enquote command} to quote something.735Quoting with "`quote"' or ``quote'' also works.736737\end{ltgexample}738739\subsection{Cleveref examples}740\label{sec:ex:cref}741742Cleveref demonstration: Cref at beginning of sentence, cref in all other cases.743744\begin{figure}745\centering746\includegraphics[width=.75\linewidth]{example-image-a}747\caption{Example figure for cref demo}748\label{fig:ex:cref}749\end{figure}750751\begin{table}752\centering753\begin{tabular}{ll}754\toprule755Heading1 & Heading2 \\756\midrule757One & Two \\758Thee & Four \\759\bottomrule760\end{tabular}761\caption{Example table for cref demo}762\label{tab:ex:cref}763\end{table}764765\begin{ltgexample}766\Cref{fig:ex:cref} shows a simple fact, although \cref{fig:ex:cref} could also show something else.767768\Cref{tab:ex:cref} shows a simple fact, although \cref{tab:ex:cref} could also show something else.769770\Cref{sec:ex:cref} shows a simple fact, although \cref{sec:ex:cref} could also show something else.771\end{ltgexample}772773\subsection{Figures}774775\begin{ltgexample}776\Cref{fig:label} shows something interesting.777778\begin{figure}779\centering780\includegraphics[width=.8\linewidth]{example-image-golden}781\caption[Simple Figure]{782Simple Figure.783Based on \citet{mwe}.784}785\label{fig:label}786\end{figure}787\end{ltgexample}788789One can also have pictures floating inside text:790\clearpage791792\begin{ltgexample}793\begin{floatingfigure}{.33\linewidth}794\includegraphics[width=.29\linewidth]{example-image-a}795\caption{A floating figure}796\end{floatingfigure}797\lipsum[2]798\end{ltgexample}799800\subsection{Sub Figures}801802An example of two sub figures is shown in \cref{fig:two_sub_figures}.803804\begin{ltgexample}805\begin{figure}[!b]806\centering807\subfloat[Case I]{\includegraphics[width=.4\linewidth]{example-image-a}%808\label{fig:first_case}}809\hfil810\subfloat[Case II]{\includegraphics[width=.4\linewidth]{example-image-b}%811\label{fig:second_case}}812\caption{Example figure with two sub figures.}813\label{fig:two_sub_figures}814\end{figure}815\end{ltgexample}816817\subsection{Tables}818819\begin{ltgexample}820\begin{table}821\caption{Simple Table}822\label{tab:simple}823\centering824\begin{tabular}{ll}825\toprule826Heading1 & Heading2 \\827\midrule828One & Two \\829Thee & Four \\830\bottomrule831\end{tabular}832\end{table}833\end{ltgexample}834835\begin{ltgexample}836% Source: https://tex.stackexchange.com/a/468994/9075837\begin{table}838\caption{Table with diagonal line}839\label{tab:diag}840\begin{center}841\begin{tabular}{|l|c|c|}842\hline843\diagbox[width=10em]{Diag \\Column Head I}{Diag Column\\Head II} & Second & Third \\844\hline845& foo & bar \\846\hline847\end{tabular}848\end{center}849\end{table}850\end{ltgexample}851852853\subsection{Source Code}854855\begin{ltgexample}856\Cref{lst:XML} shows source code written in XML.857\Cref{line:comment} contains a comment.858859\begin{lstlisting}[860language=XML,861caption={Example XML Listing},862label={lst:XML}]863<listing name="example">864<!-- comment --> (* \label{line:comment} *)865<content>not interesting</content>866</listing>867\end{lstlisting}868\end{ltgexample}869870One can also add \verb+float+ as parameter to have the listing floating.871\Cref{lst:flXML} shows the floating listing.872873\begin{ltgexample}874\begin{lstlisting}[875% one can adjust spacing here if required876% aboveskip=2.5\baselineskip,877% belowskip=-.8\baselineskip,878float,879language=XML,880caption={Example XML listing -- placed as floating figure},881label={lst:flXML}]882<listing name="example">883Floating884</listing>885\end{lstlisting}886\end{ltgexample}887888One can also typeset JSON as shown in \cref{lst:json}.889890\begin{ltgexample}891\begin{lstlisting}[892float,893language=json,894caption={Example JSON listing -- placed as floating figure},895label={lst:json}]896{897key: "value"898}899\end{lstlisting}900\end{ltgexample}901902Java is also possible as shown in \cref{lst:java}.903904\begin{ltgexample}905\begin{lstlisting}[906caption={Example Java listing},907label=lst:java,908language=Java,909float]910public class Hello {911public static void main (String[] args) {912System.out.println("Hello World!");913}914}915\end{lstlisting}916\end{ltgexample}917918\subsection{Itemization}919920One can list items as follows:921922\begin{ltgexample}923\begin{itemize}924\item Item One925\item Item Two926\end{itemize}927\end{ltgexample}928929930One can enumerate items as follows:931932\begin{ltgexample}933\begin{enumerate}934\item Item One935\item Item Two936\end{enumerate}937\end{ltgexample}938939940With paralist, one can even have all items typeset after each other and have them clean in the TeX document:941942\begin{ltgexample}943\begin{inparaenum}944\item All these items...945\item ...appear in one line946\item This is enabled by the paralist package.947\end{inparaenum}948\end{ltgexample}949950\subsection{Other Features}951952\begin{ltgexample}953The words \enquote{workflow} and \enquote{dwarflike} can be copied from the PDF and pasted to a text file.954\end{ltgexample}955956\begin{ltgexample}957The symbol for powerset is now correct: $\powerset$ and not a Weierstrass p ($\wp$).958959$\powerset({1,2,3})$960\end{ltgexample}961962\begin{ltgexample}963Brackets work as designed:964<test>965One can also input backticks in verbatim text: \verb|`test`|.966\end{ltgexample}967968969\section{Conclusion and Outlook}970\label{sec:outlook}971\lipsum[1-2]972973\subsubsection*{Acknowledgments}974975Identification 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}.976977%%% ===============================================================================978%%% Bibliography979%%% ===============================================================================980981In the bibliography, use \texttt{\textbackslash textsuperscript} for \enquote{st}, \enquote{nd}, \ldots:982E.g., \enquote{The 2\textsuperscript{nd} conference on examples}.983When you use \href{https://www.jabref.org}{JabRef}, you can use the clean up command to achieve that.984See \url{https://help.jabref.org/en/CleanupEntries} for an overview of the cleanup functionality.985986\renewcommand{\bibsection}{\section*{References}} % requried for natbib to have "References" printed and as section*, not chapter*987% Use natbib compatbile splncs04nat style.988% It does provide all features of splncs04.bst, but is developed in a clean way.989% Source: https://github.com/tpavlic/splncs04nat990\bibliographystyle{splncs04nat}991\begingroup992\microtypecontext{expansion=sloppy}993\small % ensure correct font size for the bibliography994\bibliography{paper}995\endgroup996997% Enfore empty line after bibliography998\ \\999%1000\noindent1001All links were last followed on October 5, 2020.10021003%%% ===============================================================================1004%\appendix1005%\addcontentsline{toc}{chapter}{APPENDICES}10061007%\listoffigures1008%\listoftables1009%%% ===============================================================================10101011%%% ===============================================================================1012%\section{My first appendix}\label{sec:appendix1}1013%%% ===============================================================================1014\end{document}101510161017