% 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% !TeX TXS-program:compile = txs:///lualatex/[--shell-escape]7% !BIB program = bibtex8% -*- coding:utf-8 mod:LaTeX -*-910% "a4paper" enables:11%12% - easy print out on DIN A4 paper size13%14% One can configure default page size (a4 vs. letter) in the LaTeX installation.15% Thus, it is configuration dependend, what the paper size will be.16% Having "a4paper" option present, the page size is set to A4.17% Note that the current word template offered by Springer is DIN A4.18%19% "runningheads" enables:20%21% - page number on page 2 onwards22% - title/authors on even/odd pages23%24% This is good for other readers to enable proper archiving among other papers and pointing to25% content. Even if the title page states the title, when printed and stored in a folder, when26% blindly opening the folder, one could hit not the title page, but an arbitrary page. Therefore,27% it is good to have title printed on the pages, too.28%29% The optiion "runningheads" neesd to be removed upon request of the publisher.30%31% To disable outputting page headers and footers, remove "runningheads"32\documentclass[runningheads,a4paper,english]{llncs}[2022/01/12]3334\usepackage{iftex}3536% backticks (`) are rendered as such in verbatim environments.37% See following links for details:38% - https://tex.stackexchange.com/a/341057/907539% - https://tex.stackexchange.com/a/47451/907540% - https://tex.stackexchange.com/a/166791/907541\usepackage{upquote}4243% Set English as language and allow to write hyphenated"=words44%45% 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.46% english has to go last to set it as default language47\usepackage[ngerman,main=english]{babel}48%49% Hint by http://tex.stackexchange.com/a/321066/9075 -> enable "= as dashes50\addto\extrasenglish{\languageshorthands{ngerman}\useshorthands{"}}5152% Links behave as they should. Enables "\url{...}" for URL typesettings.53% Allow URL breaks also at a hyphen, even though it might be confusing: Is the "-" part of the address or just a hyphen?54% See https://tex.stackexchange.com/a/3034/9075.55\usepackage[hyphens]{url}5657% When activated, use text font as url font, not the monospaced one.58% For all options see https://tex.stackexchange.com/a/261435/9075.59% \urlstyle{same}6061% Improve wrapping of URLs - hint by http://tex.stackexchange.com/a/10419/907562\makeatletter63\g@addto@macro{\UrlBreaks}{\UrlOrds}64\makeatother6566% nicer // - solution by http://tex.stackexchange.com/a/98470/907567% DO NOT ACTIVATE -> prevents line breaks68%\makeatletter69%\def\Url@twoslashes{\mathchar`\/\@ifnextchar/{\kern-.2em}{}}70%\g@addto@macro\UrlSpecials{\do\/{\Url@twoslashes}}71%\makeatother7273%% !!! If you change the font, be sure that words such as "workflow" can74%% !!! still be copied from the PDF. If this is not the case, you have75%% !!! to use glyphtounicode. See comment at cmap package.76%%77%% Background: "workflow" contains "fl" which is a ligature, which in turn78%% is rendered as one character in the PDF and needs to be split79%% whily copying.8081\ifluatex82\usepackage[no-math]{fontspec}83\usepackage{unicode-math}8485% See https://tug.org/FontCatalogue/texgyretermes/ for more information86\setmainfont{texgyretermes}[87Extension = .otf,88UprightFont = *-regular,89BoldFont = *-bold,90ItalicFont = *-italic,91BoldItalicFont = *-bolditalic,92Ligatures=TeX93]94% See https://tug.org/FontCatalogue/texgyreheros/ for more information95\setsansfont[Scale=.9]{TeX Gyre Heros Regular}96% newtxtt looks good with times, but no equivalent for lualatex found,97% therefore tried to replace with inconsolata.98% However, inconsolata does not look good in the context of LNCS ...99%\setmonofont[StylisticSet={1,3},Scale=.9]{inconsolata}100% ... thus, we use the good old Latin Modern Mono font for source code.101\setmonofont{Latin Modern Mono} % "variable=false"102103% Enable proper ligatures104% For more information see https://ctan.org/pkg/selnolig105% language "english" or "ngerman" is passed to selnolig by the document class106\usepackage{selnolig}107108\else109\RequirePackage{newtxtext}110\RequirePackage{newtxmath}111\RequirePackage[zerostyle=b,scaled=.9]{newtxtt}112113% Has to be loaded AFTER any font packages. See https://tex.stackexchange.com/a/2869/9075.114\usepackage[T1]{fontenc}115\fi116117% Character protrusion and font expansion. See http://www.ctan.org/tex-archive/macros/latex/contrib/microtype/118119\usepackage[120babel=true, % Enable language-specific kerning. Take language-settings from the languge of the current document (see Section 6 of microtype.pdf)121expansion=alltext,122protrusion=alltext-nott, % Ensure that at listings, there is no change at the margin of the listing123% In the standard configuration, this template is always in the final mode, so this option only makes a difference if "pros" use the draft mode124final % Always enable microtype, even if in draft mode. This helps finding bad boxes quickly.125]{microtype}126127% \texttt{test -- test} keeps the "--" as "--" (and does not convert it to an en dash)128\DisableLigatures{encoding = T1, family = tt* }129130%\DeclareMicrotypeSet*[tracking]{my}{ font = */*/*/sc/* }%131%\SetTracking{ encoding = *, shape = sc }{ 45 }132% Source: http://homepage.ruhr-uni-bochum.de/Georg.Verweyen/pakete.html133% Deactiviated, because does not look good134135\usepackage{graphicx}136137% Diagonal lines in a table - http://tex.stackexchange.com/questions/17745/diagonal-lines-in-table-cell138% Slashbox is not available in texlive (due to licensing) and also gives bad results. Thus, we use diagbox139\usepackage{diagbox}140141\ifluatex142\usepackage{spelling}143\spellingoutput{off}144\fi145146\usepackage[dvipsnames, table]{xcolor}147% See https://github.com/gpoore/minted148\usepackage[newfloat]{minted}149150\setminted{151% Line numbers not flowing out of the margin152numbersep=5pt,153xleftmargin=12pt,154%155% Better listing breaking156breakafter=-/\{,157breakbefore=\\158%159% Alternative: Rely on pygment's tokenizer. Does not work well with LaTeX and comments160% breakbytoken=true,161% breakbytokenanywhere=true162}163164%\usemintedstyle{bw} %black and white style165%\usemintedstyle{vs} %visual studio166\usemintedstyle{friendly_grayscale}167%\usemintedstyle{friendly}168%\usemintedstyle{eclipse} %http://www.jevon.org/wiki/Eclipse_Pygments_Style169%\usemintedstyle{autumn}170%\usemintedstyle{rrt}171%\usemintedstyle{borland}172173% We need to load caption to have a bold font on the label174% The other parameters mimic the layout of the LNCS class175\usepackage[labelfont=bf,font=small,skip=4pt]{caption}176\SetupFloatingEnvironment{listing}{name=List.,within=none}177178% When using both minted and listings179% Compatibility of packages minted and listings with respect to the numbering of "List." caption180% Source: https://tex.stackexchange.com/a/269510/9075181% \AtBeginEnvironment{listing}{\setcounter{listing}{\value{lstlisting}}}182% \AtEndEnvironment{listing}{\stepcounter{lstlisting}}183184% Intermediate solution for hyperlinked refs. See https://tex.stackexchange.com/q/132420/9075 for more information.185\newcommand{\labelline}[1]{\label[line]{#1}\hypertarget{#1}{}}186\newcommand{\refline}[1]{\hyperlink{#1}{\FancyVerbLineautorefname~\ref*{#1}}}187188% For easy quotations: \enquote{text}189% This package is very smart when nesting is applied, otherwise textcmds (see below) provides a shorter command190\usepackage[autostyle=true]{csquotes}191192% Enable using "`quote"' - see https://tex.stackexchange.com/a/150954/9075193\defineshorthand{"`}{\openautoquote}194\defineshorthand{"'}{\closeautoquote}195196% Nicer tables (\toprule, \midrule, \bottomrule)197\usepackage{booktabs}198199% Extended enumerate, such as \begin{compactenum}200\usepackage{paralist}201202% Bibliopgraphy enhancements203% - enable \cite[prenote][]{ref}204% - enable \cite{ref1,ref2}205% Alternative: \usepackage{cite}, which enables \cite{ref1, ref2} only (otherwise: Error message: "White space in argument")206207% Doc: http://texdoc.net/natbib208\usepackage[%209square, % for square brackets210comma, % use commas as separators211numbers, % for numerical citations;212%sort % orders multiple citations into the sequence in which they appear in the list of references;213sort&compress % as sort but in addition multiple numerical citations are compressed if possible (as 3-6, 15);214]{natbib}215216% In the bibliography, references have to be formatted as 1., 2., ... not [1], [2], ...217\renewcommand{\bibnumfmt}[1]{#1.}218219% Enable hyperlinked author names in the case of \citet220% Source: https://tex.stackexchange.com/a/76075/9075221\usepackage{etoolbox}222\makeatletter223\patchcmd{\NAT@test}{\else \NAT@nm}{\else \NAT@hyper@{\NAT@nm}}{}{}224\makeatother225226% Prepare more space-saving rendering of the bibliography227% Source: https://tex.stackexchange.com/a/280936/9075228\SetExpansion229[ context = sloppy,230stretch = 30,231shrink = 60,232step = 5 ]233{ encoding = {OT1,T1,TS1} }234{ }235236% Put figures aside a text237% Even though the package is from 1998, it works well238\usepackage[rflt]{floatflt}239240% Farbige Tabellen241% ----------------242% Das Paket colortbl wird inzwischen automatisch durch xcolor geladen243%244% Erweiterte Funktionen innerhalb von Tabellen245% --------------------------------------------246%%% Doc: http://mirror.ctan.org/tex-archive/macros/latex/contrib/multirow/multirow.sty247\usepackage{multirow} % Mehrfachspalten248%249%%% Doc: Documentation inside dtx Package250\usepackage{dcolumn} % Ausrichtung an Komma oder Punkt251252%%% Doc: http://mirror.ctan.org/tex-archive/macros/latex/contrib/supertabular/supertabular.pdf253%\usepackage{supertabular}254255%%% Fussnoten/Endnoten ===================================================256257% EN: Put footnotes below floats258% DE: Fußnoten unter Gleitumgebungen ("floats") platzieren259% Source: https://tex.stackexchange.com/a/32993/9075260\usepackage{stfloats}261\fnbelowfloat262263% EN: Extended support for footnotes264% DE: Fußnoten265%266%\usepackage{dblfnote} %Zweispaltige Fußnoten267%268% Keine hochgestellten Ziffern in der Fußnote (KOMA-Script-spezifisch):269%\deffootnote[1.5em]{0pt}{1em}{\makebox[1.5em][l]{\bfseries\thefootnotemark}}270%271% Abstand zwischen Fußnoten vergrößern:272%\setlength{\footnotesep}{.85\baselineskip}273%274% EN: Following command disables the separting line of the footnote275% DE: Folgendes Kommando deaktiviert die Trennlinie zur Fußnote276%\renewcommand{\footnoterule}{}277%278%\addtolength{\skip\footins}{\baselineskip} % Abstand Text <-> Fußnote279280% DE: Fußnoten immer ganz unten auf einer \raggedbottom-Seite281% DE: fnpos kommt aus dem yafoot package282%\usepackage{fnpos}283%\makeFNbelow284%\makeFNbottom285286% TODO (and comment) configuration287%288% - \todo (from todo, easy-todo, todonotes) / \TODO (from fixmetodonotes) - for "normal" TODOs289% - \todofix - "important" TODOs290%291% - \textcomment - highlights text and has a hover comment292% - \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)293%294% - \missingfigure295%296% - \textmarker297% - \modified298% - \change - adresses a review comment299300% Enable nice comments301\usepackage{pdfcomment}302303\newcommand{\textcomment}[2]{\colorbox{yellow!60}{#1}\pdfcomment[color={0.234 0.867 0.211},hoffset=-6pt,voffset=10pt,opacity=0.5]{#2}}304305% Small PDF comment306% 1. Parameter: Comment307\newcommand{\sidecomment}[1]{\pdfcomment[color={0.045 0.278 0.643},voffset=4pt,icon=Note]{#1}}308% Disabled variant - for the final PDF309%\newcommand{\sidecomment}[1]{}310311\newcommand{\todo}[1]{TODO!\sidecomment{#1}}312313% Änderungen314%315% 1. Parameter: Review-Kommentar316% 2. Parameter: Neuer Text317\newcommand{\change}[2]{{\color{red}#2}\pdfcomment[color={0.234 0.867 0.211},voffset=8pt,opacity=0.5]{#1}}318% Disabled variant - for the final PDF319%\newcommand{\change}[2]{#2}320321% Define default commands322\makeatletter323\@ifundefined{missingfigure}{\newcommand{\missingfigure}{... missing figure ...}}{}324\@ifundefined{textcomment}{\newcommand{\textcomment}[2]{#1 \todo{#2}}}{}325\@ifundefined{sidecomment}{\newcommand{\sidecomment}[1]{\marginpar{#1}}}{}326\@ifundefined{todo}{\newcommand{\todo}[1]{\sidecomment{#1}}}{}327\@ifundefined{TODO}{\newcommand{\TODO}[1]{\todo{#1}}}{}328\@ifundefined{todofix}{\newcommand{\todofix}[1]{\todo{#1}}}{}329\@ifundefined{change}{\newcommand{\change}[2]{#1 $\rightarrow$ #2}}{}330\makeatother331332% Textmarker (Textfarbe rot)333\newcommand{\textmarker}[1]{{\color{red} #1}\xspace}334335% Modified (Text blau)336\newcommand{\modified}[1]{{\color{blue!60!black} #1}\xspace}337338\usepackage[group-minimum-digits=4,per-mode=fraction]{siunitx}339340% 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 document341\usepackage{hyperref}342343% Enable hyperref without colors and without bookmarks344\hypersetup{345hidelinks,346colorlinks=true, % Links erhalten Farben statt Kaeten347raiselinks=true, % calculate real height of the link348allcolors=black,349pdfstartview=Fit,350breaklinks=true, % Links ueberstehen Zeilenumbruch351hypertexnames=false, % Fix jumping to algorithm line - http://tex.stackexchange.com/a/156404/9075352}353354% Enable correct jumping to figures when referencing355\usepackage[all]{hypcap}356357\usepackage[caption=false,font=footnotesize]{subfig}358359% Alternative for making subfigures:360% Part of the caption package. See http://www.ctan.org/pkg/caption361% Ersetzt die Pakete subfigure und subfig - siehe https://tex.stackexchange.com/a/13778/9075362%363% (subfigure is outdated. subfig is maintained, but subcaption is better)364% See: http://tex.stackexchange.com/questions/13625/subcaption-vs-subfig-best-package-for-referencing-a-subfigure365%\usepackage[hypcap=true]{subcaption}366367\usepackage{mindflow}368369% Extensions for references inside the document (\cref{fig:sample}, ...)370% Enable usage \cref{...} and \Cref{...} instead of \ref: Type of reference included in the link371% That means, "Figure 5" is a full link instead of just "5".372\usepackage[capitalise,nameinlink]{cleveref}373374\crefname{section}{Sect.}{Sect.}375\Crefname{section}{Section}{Sections}376\crefname{listing}{List.}{List.}377\crefname{listing}{Listing}{Listings}378\Crefname{listing}{Listing}{Listings}379380% Intermediate solution for hyperlinked refs. See https://tex.stackexchange.com/q/132420/9075 for more information.381\newcommand{\llabel}[1]{\label[line]{#1}\hypertarget{#1}{}}382\newcommand{\lref}[1]{\hyperlink{#1}{\FancyVerbLineautorefname~\ref*{#1}}}383384\usepackage{lipsum}385386% For demonstration purposes only387% These packages can be removed when all examples have been deleted388\usepackage[math]{blindtext}389\usepackage{mwe}390\usepackage[realmainfile]{currfile}391\usepackage{tcolorbox}392\tcbuselibrary{minted}393394%introduce \powerset - hint by http://matheplanet.com/matheplanet/nuke/html/viewtopic.php?topic=136492&post_id=997377395\DeclareFontFamily{U}{MnSymbolC}{}396\DeclareSymbolFont{MnSyC}{U}{MnSymbolC}{m}{n}397\DeclareFontShape{U}{MnSymbolC}{m}{n}{398<-6> MnSymbolC5399<6-7> MnSymbolC6400<7-8> MnSymbolC7401<8-9> MnSymbolC8402<9-10> MnSymbolC9403<10-12> MnSymbolC10404<12-> MnSymbolC12%405}{}406\DeclareMathSymbol{\powerset}{\mathord}{MnSyC}{180}407408% Allows for defining commands that don't eat spaces.409\usepackage{xspace}410% Adds compatibility to \xspace und \enquote411\makeatletter412\xspaceaddexceptions{\grqq \grq \csq@qclose@i \} }413\makeatother414415\newcommand{\eg}{e.g.,\ }416\newcommand{\ie}{i.e.,\ }417418% Enable hyphenation at other places as the dash.419% Example: applicaiton\hydash specific420\makeatletter421\newcommand{\hydash}{\penalty\@M-\hskip\z@skip}422% Definition of "= taken from http://mirror.ctan.org/macros/latex/contrib/babel-contrib/german/ngermanb.dtx423\makeatother424425% Add manual adapted hyphenation of English words426% See https://ctan.org/pkg/hyphenex and https://tex.stackexchange.com/a/22892/9075 for details427\input{ushyphex}428429% correct bad hyphenation here430\hyphenation{431op-tical net-works semi-conduc-tor432% May not be hypphenated433AROMA TOSCA BPMN OASIS OMG DMTF IT DevOps434}435436\input{commands}437438% Add copyright439%440% This is recommended if you intend to send the version to colleagues441% See https://ctan.org/pkg/llncsconf for details442\iffalse443% state: intended | submitted | llncs444% you can add "crop" if the paper should be cropped to the format Springer is publishing445\usepackage[intended]{llncsconf}446447\conference{name of the conference}448449% in case of "proceedings" (final version!)450% example: \llncs{Anonymous et al. (eds). \emph{Proceedings of the International Conference on \LaTeX-Hacks}, LNCS~42. Some Publisher, 2016.}{0042}451% 0042 denotes an example start page452\llncs{book editors and title}{0042}453\fi454455\ifpdftex456% Enable copy and paste of text from the PDF457% Only required for pdflatex. It "just works" in the case of lualatex.458% Alternative: cmap or mmap package459% mmap enables mathematical symbols, but does not work with the newtx font set460% See: https://tex.stackexchange.com/a/64457/9075461% 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-searchable462% Trouble shooting outlined at https://tex.stackexchange.com/a/100618/9075463%464% According to https://tex.stackexchange.com/q/451235/9075 this is the way to go465\input{glyphtounicode}466\pdfgentounicode=1467\fi468\begin{document}469470\title{Paper Title}471% If Title is too long, use \titlerunning472%\titlerunning{Short Title}473474% Single insitute475\author{Firstname Lastname \and Firstname Lastname}476477% If there are too many authors, use \authorrunning478%\authorrunning{First Author et al.}479480\institute{Institute}481482%% Multiple insitutes - ALTERNATIVE to the above483% \author{%484% Firstname Lastname\inst{1} \and485% Firstname Lastname\inst{2}486% }487%488%If there are too many authors, use \authorrunning489% \authorrunning{First Author et al.}490%491% \institute{492% Insitute 1\\493% \email{...}\and494% Insitute 2\\495% \email{...}496%}497498\maketitle499500\begin{abstract}501\lipsum[1]502503\keywords{First keyword \and Second keyword \and Third keyword}504\end{abstract}505506507\section{Introduction}508\label{sec:introduction}509\lipsum[1-3]\todo{Refine me}510511The remainder of the paper starts with a presentation of related work (\cref{sec:relatedwork}).512It is followed by a presentation of hints on \LaTeX{} (\cref{sec:latexhints}).513Finally, a conclusion is drawn and outlook on future work is made (\cref{sec:outlook}).514515\section{Related Work}516\label{sec:relatedwork}517518Winery~\cite{Winery} is a graphical \textcomment{modeling}{modeling with one ``l'', because of American English} tool.519The whole idea of TOSCA is explained by \citet{Binz2009}.520521\section{LaTeX Hints}522\label{sec:latexhints}523524% Required for proper example rendering in the compiled PDF525\newcount\LTGbeginlineexample526\newcount\LTGendlineexample527\newenvironment{ltgexample}%528{\LTGbeginlineexample=\numexpr\inputlineno+1\relax}%529{\LTGendlineexample=\numexpr\inputlineno-1\relax%530\tcbinputlisting{%531listing only,532listing file=\currfilepath,533colback=green!5!white,534colframe=green!25,535coltitle=black!90,536coltext=black!90,537left=8mm,538title=Corresponding \LaTeX{} code of \texttt{\currfilepath},539minted language=TeX,540minted style=vs,541minted options={542fontsize=\footnotesize,543firstline=\the\LTGbeginlineexample,544lastline=\the\LTGendlineexample,545firstnumber=\the\LTGbeginlineexample,546breaklines,547linenos,548numbersep=8pt549}550}551}%552553This section contains hints on writing LaTeX.554It focuses on minimal examples, which can be directly adapted to the content555556\subsection{Handling of paragraphs}557558\begin{ltgexample}559One sentence per line.560This rule is important for the usage of version control systems.561A new line is generated with a blank line.562As you would do in Word:563New paragraphs are generated by pressing enter.564In LaTeX, this does not lead to a new paragraph as LaTeX joins subsequent lines.565In case you want a new paragraph, just press enter twice!566This leads to an empty line.567In word, there is the functionality to press shift and enter.568This leads to a hard line break.569The text starts at the beginning of a new line.570In LaTeX, you can do that by using two backslashes (\textbackslash\textbackslash).571\\572This is rarely used.573574Please do \textit{not} use two backslashes for new paragraphs.575For instance, this sentence belongs to the same paragraph, whereas the last one started a new one.576A long motivation for that is provided at \url{http://loopspace.mathforge.org/HowDidIDoThat/TeX/VCS/#section.3}.577\end{ltgexample}578579\subsection{Notes separated from the text}580581The package mindflow enables writing down notes and annotations in a way so that they are separated from the main text.582583\begin{ltgexample}584\begin{mindflow}585This is a small note.586\end{mindflow}587\end{ltgexample}588589\subsection{Handling TODOs}590591\begin{ltgexample}592\textmarker{Markierter Text.}593\end{ltgexample}594595Bei \verb1\textmarker1 wird nur die Textfarbe geändert, da dies auch bei einigen Worten gut funktioniert.596597\begin{ltgexample}598\textcomment{Markierter Text.}{Kommentar dazu.}599\end{ltgexample}600601\begin{ltgexample}602\modified{Manuelle Markierung für Text, der seit der letzten Version geändert wurde.}603\end{ltgexample}604605\begin{ltgexample}606Das ist ein Text.607\change{FL1: Text angepasst}{Geänderter Text}.608\end{ltgexample}609610\begin{ltgexample}611Hier nur ein Kommentar\sidecomment{Kommentar}.612\end{ltgexample}613614\begin{ltgexample}615\todo{Hier muss noch kräftig Text produziert werden}616\end{ltgexample}617618\subsection{Hyphenation}619620\LaTeX{} automatically hyphenates words.621When using \href{https://ctan.org/pkg/microtype}{microtype}, there should be fewer hyphenations than in other settings.622It might be necessary to tweak the hyphenations nevertheless.623Here are some hints:624625\begin{ltgexample}626In case you write \enquote{application-specific}, then the word will only be hyphenated at the dash.627You can also write \verb1applica\allowbreak{}tion-specific1 (result: applica\allowbreak{}tion-specific), but this is much more effort.628629You can now write words containing hyphens which are hyphenated at other places in the word.630For instance, \verb1application"=specific1 gets application"=specific.631This is enabled by an additional configuration of the babel package.632\end{ltgexample}633634\subsection{Typesetting Units}635636\begin{ltgexample}637Numbers can be written plain text (such as 100), by using the \href{https://ctan.org/pkg/siunitx}{siunitx} package as follows:638\SI{100}{\km\per\hour},639or by using plain \LaTeX{} (and math mode):640$100 \frac{\mathit{km}}{h}$.641\end{ltgexample}642643\begin{ltgexample}644\SI{5}{\percent} of \SI{10}{kg}645\end{ltgexample}646647\begin{ltgexample}648Numbers are automatically grouped: \num{123456}.649\end{ltgexample}650651\subsection{Surrounding Text by Quotes}652653\begin{ltgexample}654Please use the \enquote{enquote command} to quote something.655Quoting with "`quote"' or ``quote'' also works.656657\end{ltgexample}658659\subsection{Cleveref examples}660\label{sec:ex:cref}661662Cleveref demonstration: Cref at beginning of sentence, cref in all other cases.663664\begin{figure}665\centering666\includegraphics[width=.75\linewidth]{example-image-a}667\caption{Example figure for cref demo}668\label{fig:ex:cref}669\end{figure}670671\begin{table}672\centering673\begin{tabular}{ll}674\toprule675Heading1 & Heading2 \\676\midrule677One & Two \\678Thee & Four \\679\bottomrule680\end{tabular}681\caption{Example table for cref demo}682\label{tab:ex:cref}683\end{table}684685\begin{ltgexample}686\Cref{fig:ex:cref} shows a simple fact, although \cref{fig:ex:cref} could also show something else.687688\Cref{tab:ex:cref} shows a simple fact, although \cref{tab:ex:cref} could also show something else.689690\Cref{sec:ex:cref} shows a simple fact, although \cref{sec:ex:cref} could also show something else.691\end{ltgexample}692693\subsection{Figures}694695\begin{ltgexample}696\Cref{fig:label} shows something interesting.697698\begin{figure}699\centering700\includegraphics[width=.8\linewidth]{example-image-golden}701\caption[Simple Figure]{702Simple Figure.703Based on \citet{mwe}.704}705\label{fig:label}706\end{figure}707\end{ltgexample}708709One can also have pictures floating inside text:710\clearpage711712\begin{ltgexample}713\begin{floatingfigure}{.33\linewidth}714\includegraphics[width=.29\linewidth]{example-image-a}715\caption{A floating figure}716\end{floatingfigure}717\lipsum[2]718\end{ltgexample}719720\subsection{Sub Figures}721722An example of two sub figures is shown in \cref{fig:two_sub_figures}.723724\begin{ltgexample}725\begin{figure}[!b]726\centering727\subfloat[Case I]{\includegraphics[width=.4\linewidth]{example-image-a}%728\label{fig:first_case}}729\hfil730\subfloat[Case II]{\includegraphics[width=.4\linewidth]{example-image-b}%731\label{fig:second_case}}732\caption{Example figure with two sub figures.}733\label{fig:two_sub_figures}734\end{figure}735\end{ltgexample}736737\subsection{Tables}738739\begin{ltgexample}740\begin{table}741\caption{Simple Table}742\label{tab:simple}743\centering744\begin{tabular}{ll}745\toprule746Heading1 & Heading2 \\747\midrule748One & Two \\749Thee & Four \\750\bottomrule751\end{tabular}752\end{table}753\end{ltgexample}754755\begin{ltgexample}756% Source: https://tex.stackexchange.com/a/468994/9075757\begin{table}758\caption{Table with diagonal line}759\label{tab:diag}760\begin{center}761\begin{tabular}{|l|c|c|}762\hline763\diagbox[width=10em]{Diag \\Column Head I}{Diag Column\\Head II} & Second & Third \\764\hline765& foo & bar \\766\hline767\end{tabular}768\end{center}769\end{table}770\end{ltgexample}771772773\subsection{Source Code}774775\href{https://github.com/gpoore/minted}{minted} is a sophisticated package to enable properly highlighted listings.776It uses the \href{http://pygments.org/}{pygments} library, which in turn requires Python.777778\begin{ltgexample}779\Cref{lst:XML} shows source code written in XML.780\refline{line:comment} contains a comment.781782\begin{listing}[htbp]783\begin{minted}[linenos=true,escapeinside=||]{xml}784<listing name="example">785<!-- comment --> |\labelline{line:comment}|786<content>not interesting</content>787</listing>788\end{minted}789\caption{Example XML listing using minted}790\label{lst:XML}791\end{listing}792\end{ltgexample}793794One can also typeset JSON as shown in \cref{lst:flJSON}.795796\begin{ltgexample}797\begin{listing}[htbp]798\begin{minted}[linenos=true,escapeinside=||]{json}799{800key: "value"801}802\end{minted}803\caption{Example JSON listing using minted}804\label{lst:flJSON}805\end{listing}806\end{ltgexample}807808Java is also possible as shown in \cref{lst:flJava}.809810\begin{ltgexample}811\begin{listing}[htbp]812\begin{minted}[linenos=true,escapeinside=||]{java}813public class Hello {814public static void main (String[] args) {815System.out.println("Hello World!");816}817}818\end{minted}819\caption{Java code rendered using minted}820\label{lst:flJava}821\end{listing}822\end{ltgexample}823824\subsection{Itemization}825826One can list items as follows:827828\begin{ltgexample}829\begin{itemize}830\item Item One831\item Item Two832\end{itemize}833\end{ltgexample}834835836One can enumerate items as follows:837838\begin{ltgexample}839\begin{enumerate}840\item Item One841\item Item Two842\end{enumerate}843\end{ltgexample}844845846With paralist, one can even have all items typeset after each other and have them clean in the TeX document:847848\begin{ltgexample}849\begin{inparaenum}850\item All these items...851\item ...appear in one line852\item This is enabled by the paralist package.853\end{inparaenum}854\end{ltgexample}855856\subsection{Other Features}857858\begin{ltgexample}859The words \enquote{workflow} and \enquote{dwarflike} can be copied from the PDF and pasted to a text file.860\end{ltgexample}861862\begin{ltgexample}863The symbol for powerset is now correct: $\powerset$ and not a Weierstrass p ($\wp$).864865$\powerset({1,2,3})$866\end{ltgexample}867868\begin{ltgexample}869Brackets work as designed:870<test>871One can also input backticks in verbatim text: \verb|`test`|.872\end{ltgexample}873874875\section{Conclusion and Outlook}876\label{sec:outlook}877\lipsum[1-2]878879\subsubsection*{Acknowledgments}880881Identification 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}.882883%%% ===============================================================================884%%% Bibliography885%%% ===============================================================================886887In the bibliography, use \texttt{\textbackslash textsuperscript} for \enquote{st}, \enquote{nd}, \ldots:888E.g., \enquote{The 2\textsuperscript{nd} conference on examples}.889When you use \href{https://www.jabref.org}{JabRef}, you can use the clean up command to achieve that.890See \url{https://help.jabref.org/en/CleanupEntries} for an overview of the cleanup functionality.891892\renewcommand{\bibsection}{\section*{References}} % requried for natbib to have "References" printed and as section*, not chapter*893% Use natbib compatbile splncs04nat style.894% It does provide all features of splncs04.bst, but is developed in a clean way.895% Source: https://github.com/tpavlic/splncs04nat896\bibliographystyle{splncs04nat}897\begingroup898\microtypecontext{expansion=sloppy}899\small % ensure correct font size for the bibliography900\bibliography{paper}901\endgroup902903% Enfore empty line after bibliography904\ \\905%906\noindent907All links were last followed on October 5, 2020.908909%%% ===============================================================================910%\appendix911%\addcontentsline{toc}{chapter}{APPENDICES}912913%\listoffigures914%\listoftables915%%% ===============================================================================916917%%% ===============================================================================918%\section{My first appendix}\label{sec:appendix1}919%%% ===============================================================================920\end{document}921922923