Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
latextemplates
GitHub Repository: latextemplates/LNCS
Path: blob/main/paper-de-newtx.tex
428 views
1
% Dieses Template wurde mit der "LLNCS DOCUMENT CLASS -- version 2.21 (12-Jan-2022)" getestet
2
3
% !TeX spellcheck = de-DE
4
% LTeX: language=de-DE
5
% !TeX encoding = utf8
6
% !TeX program = lualatex
7
% !BIB program = bibtex
8
% -*- coding:utf-8 mod:LaTeX -*-
9
10
% "a4paper" enables:
11
%
12
% - easy print out on DIN A4 paper size
13
%
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" führt zu folgendem:
20
%
21
% - zeigt Author + Titel auf jeder Seite.
22
% - Während des Schreibens und das Review des Papers hilft das, um z.B. auf konkrete Seitenzahlen einfach verweisen zu können.
23
%
24
% This is good for other readers to enable proper archiving among other papers and pointing to
25
% content. Even if the title page states the title, when printed and stored in a folder, when
26
% 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
% Die Option "runningheads" ist nach Aufforderung durch die Herausgeber entfernen.
30
%
31
% To disable outputting page headers and footers, remove "runningheads"
32
\documentclass[runningheads,a4paper,ngerman]{llncs}[2022/01/12]
33
34
\usepackage{iftex}
35
36
% backticks (`) werden als solches in verbatim-Umgebungen dargestellt
37
% Details unter:
38
% - https://tex.stackexchange.com/a/341057/9075
39
% - https://tex.stackexchange.com/a/47451/9075
40
% - https://tex.stackexchange.com/a/166791/9075
41
\usepackage{upquote}
42
43
% Setze Deutsch als Sprache
44
\usepackage[english,main=ngerman]{babel}
45
% Neue deutsche Trennmuster
46
\babelprovide[hyphenrules=ngerman-x-latest]{german}
47
%
48
% Hinweis von http://tex.stackexchange.com/a/321066/9075
49
% Ermögliche die Benutzung von "= als Trennstriche
50
\addto\extrasenglish{\languageshorthands{ngerman}\useshorthands{"}}
51
52
% Links verhalten sich so, wie sie sollen
53
% Zeilenumbrüche bei URLs auch bei Bindestrichen erlauben, auch wenn es verwirrend sein könnte: Gehört der Bindestrich zur URL oder ist es ein Trennstrich?
54
% Siehe https://tex.stackexchange.com/a/3034/9075.
55
\usepackage[hyphens]{url}
56
% \urlstyle{same}
57
%
58
% Hinweis von http://tex.stackexchange.com/a/10419/9075.
59
\makeatletter
60
\g@addto@macro{\UrlBreaks}{\UrlOrds}
61
\makeatother
62
63
%% !!! If you change the font, be sure that words such as "workflow" can
64
%% !!! still be copied from the PDF. If this is not the case, you have
65
%% !!! to use glyphtounicode. See comment at cmap package.
66
%%
67
%% Background: "workflow" contains "fl" which is a ligature, which in turn
68
%% is rendered as one character in the PDF and needs to be split
69
%% whily copying.
70
71
\ifluatex
72
\usepackage[no-math]{fontspec}
73
\usepackage{unicode-math}
74
75
% See https://tug.org/FontCatalogue/texgyretermes/ for more information
76
\setmainfont{texgyretermes}[
77
Extension = .otf,
78
UprightFont = *-regular,
79
BoldFont = *-bold,
80
ItalicFont = *-italic,
81
BoldItalicFont = *-bolditalic,
82
Ligatures=TeX
83
]
84
% See https://tug.org/FontCatalogue/texgyreheros/ for more information
85
\setsansfont[Scale=.9]{TeX Gyre Heros Regular}
86
% newtxtt looks good with times, but no equivalent for lualatex found,
87
% therefore tried to replace with inconsolata.
88
% However, inconsolata does not look good in the context of LNCS ...
89
%\setmonofont[StylisticSet={1,3},Scale=.9]{inconsolata}
90
% ... thus, we use the good old Latin Modern Mono font for source code.
91
\setmonofont{Latin Modern Mono} % "variable=false"
92
93
% Enable proper ligatures
94
% For more information see https://ctan.org/pkg/selnolig
95
% language "english" or "ngerman" is passed to selnolig by the document class
96
\usepackage{selnolig}
97
98
\else
99
\RequirePackage{newtxtext}
100
\RequirePackage{newtxmath}
101
\RequirePackage[zerostyle=b,scaled=.9]{newtxtt}
102
103
% Has to be loaded AFTER any font packages. See https://tex.stackexchange.com/a/2869/9075.
104
\usepackage[T1]{fontenc}
105
\fi
106
107
% Optischer Randausgleich und Grauwertkorrektur. Siehe See http://www.ctan.org/tex-archive/macros/latex/contrib/microtype/
108
109
\usepackage[
110
babel=true,
111
expansion=alltext,
112
protrusion=alltext-nott,
113
final
114
]{microtype}
115
116
% \texttt{test -- test} - diese Einstellung behält "--" bei (und konveriert sie nicht zu einem Bindestrich)
117
\DisableLigatures{encoding = T1, family = tt* }
118
119
% tracking=true muss als Parameter des microtype-packages mitgegeben werden
120
% Deaktiviert, da dies bei Algorithmen seltsam aussieht
121
122
%\DeclareMicrotypeSet*[tracking]{my}{ font = */*/*/sc/* }%
123
124
% Hier wird festgelegt, dass alle Passagen in Kapitälchen automatisch leicht gesperrt werden.
125
% Quelle: http://homepage.ruhr-uni-bochum.de/Georg.Verweyen/pakete.html
126
% Deaktiviert, da sonst "BPEL", "BPMN" usw. wirklich komisch aussehen.
127
% Macht wohl nur bei geisteswissenschaftlichen Arbeiten Sinn.
128
%\SetTracking{ encoding = *, shape = sc }{ 45 }
129
130
\usepackage{graphicx}
131
132
% Diagonal lines in a table - http://tex.stackexchange.com/questions/17745/diagonal-lines-in-table-cell
133
% Slashbox is not available in texlive (due to licensing) and also gives bad results. Thus, we use diagbox
134
\usepackage{diagbox}
135
136
\ifluatex
137
\usepackage{spelling}
138
\spellingoutput{off}
139
\fi
140
141
\usepackage[dvipsnames, table]{xcolor}
142
143
% Code Listings
144
\usepackage{listings}
145
146
\definecolor{eclipseStrings}{RGB}{42,0.0,255}
147
\definecolor{eclipseKeywords}{RGB}{127,0,85}
148
\colorlet{numb}{magenta!60!black}
149
150
% JSON definition
151
% Source: https://tex.stackexchange.com/a/433961/9075
152
153
\lstdefinelanguage{json}{
154
basicstyle=\normalfont\ttfamily,
155
commentstyle=\color{eclipseStrings}, % style of comment
156
stringstyle=\color{eclipseKeywords}, % style of strings
157
numbers=left,
158
numberstyle=\scriptsize,
159
stepnumber=1,
160
numbersep=8pt,
161
showstringspaces=false,
162
breaklines=true,
163
frame=lines,
164
% backgroundcolor=\color{gray}, %only if you like
165
string=[s]{"}{"},
166
comment=[l]{:\ "},
167
morecomment=[l]{:"},
168
literate=
169
*{0}{{{\color{numb}0}}}{1}
170
{1}{{{\color{numb}1}}}{1}
171
{2}{{{\color{numb}2}}}{1}
172
{3}{{{\color{numb}3}}}{1}
173
{4}{{{\color{numb}4}}}{1}
174
{5}{{{\color{numb}5}}}{1}
175
{6}{{{\color{numb}6}}}{1}
176
{7}{{{\color{numb}7}}}{1}
177
{8}{{{\color{numb}8}}}{1}
178
{9}{{{\color{numb}9}}}{1}
179
}
180
181
\lstset{
182
% everything between (* *) is a latex command
183
escapeinside={(*}{*)},
184
%
185
language=json,
186
%
187
showstringspaces=false,
188
%
189
basicstyle=\footnotesize\ttfamily,
190
%
191
commentstyle=\slshape,
192
%
193
% Default: \rmfamily, damit werden die Strings im Quellcode hervorgehoben. Zusaetzlich evtl.: \scshape oder \rmfamily durch \ttfamily ersetzen. Dann sieht's aus, wie bei fancyvrb
194
stringstyle=\ttfamily,
195
%
196
breaklines=true, % Zeilen werden umbrochen
197
%
198
breakatwhitespace=true,
199
%
200
% Alternative: fixed
201
columns=flexible,
202
%
203
tabsize=2, % Groesse von Tabs
204
%
205
numbers=left,
206
%
207
numberstyle=\tiny,
208
%
209
basewidth=.5em,
210
%
211
xleftmargin=.5cm,
212
%
213
% aboveskip=0mm,
214
%
215
% belowskip=0mm,
216
%
217
captionpos=b
218
}
219
220
\ifpdftex
221
% Ermögliche Umlaute falls \lstinputputlisting genutzt wird
222
% Siehe https://stackoverflow.com/a/29260603/873282 und https://tex.stackexchange.com/a/24532/9075 für Details.
223
% listingsutf8 hat im Juni 2020 nicht funktioniert.
224
\lstset{extendedchars=true, literate=
225
{á}{{\'a}}1 {é}{{\'e}}1 {í}{{\'i}}1 {ó}{{\'o}}1 {ú}{{\'u}}1
226
{Á}{{\'A}}1 {É}{{\'E}}1 {Í}{{\'I}}1 {Ó}{{\'O}}1 {Ú}{{\'U}}1
227
{à}{{\`a}}1 {è}{{\`e}}1 {ì}{{\`i}}1 {ò}{{\`o}}1 {ù}{{\`u}}1
228
{À}{{\`A}}1 {È}{{\'E}}1 {Ì}{{\`I}}1 {Ò}{{\`O}}1 {Ù}{{\`U}}1
229
{ä}{{\"a}}1 {ë}{{\"e}}1 {ï}{{\"i}}1 {ö}{{\"o}}1 {ü}{{\"u}}1
230
{Ä}{{\"A}}1 {Ë}{{\"E}}1 {Ï}{{\"I}}1 {Ö}{{\"O}}1 {Ü}{{\"U}}1
231
{â}{{\^a}}1 {ê}{{\^e}}1 {î}{{\^i}}1 {ô}{{\^o}}1 {û}{{\^u}}1
232
{Â}{{\^A}}1 {Ê}{{\^E}}1 {Î}{{\^I}}1 {Ô}{{\^O}}1 {Û}{{\^U}}1
233
{Ã}{{\~A}}1 {ã}{{\~a}}1 {Õ}{{\~O}}1 {õ}{{\~o}}1
234
{œ}{{\oe}}1 {Œ}{{\OE}}1 {æ}{{\ae}}1 {Æ}{{\AE}}1 {ß}{{\ss}}1
235
{ű}{{\H{u}}}1 {Ű}{{\H{U}}}1 {ő}{{\H{o}}}1 {Ő}{{\H{O}}}1
236
{ç}{{\c c}}1 {Ç}{{\c C}}1 {ø}{{\o}}1 {å}{{\r a}}1 {Å}{{\r A}}1
237
}
238
\fi
239
240
\lstloadlanguages{% Check dokumentation for further languages...
241
%[Visual]Basic
242
%Pascal
243
%C
244
%C++
245
%XML
246
%HTML
247
}
248
249
% For easy quotations: \enquote{text}
250
% This package is very smart when nesting is applied, otherwise textcmds (see below) provides a shorter command
251
\usepackage[autostyle=true]{csquotes}
252
253
% Enable using "`quote"' - see https://tex.stackexchange.com/a/150954/9075
254
\defineshorthand{"`}{\openautoquote}
255
\defineshorthand{"'}{\closeautoquote}
256
257
% bessere Abstaende innerhalb der Tabelle (Layout))
258
% -------------------------------------------------
259
% \toprule, \midrule, \bottomrule
260
% Doc: https://texdoc.org/serve/booktabs/0
261
\usepackage{booktabs}
262
263
% Extended enumerate, such as \begin{compactenum}
264
\usepackage{paralist}
265
266
% Bibliopgraphy enhancements
267
% - enable \cite[prenote][]{ref}
268
% - enable \cite{ref1,ref2}
269
% Alternative: \usepackage{cite}, which enables \cite{ref1, ref2} only (otherwise: Error message: "White space in argument")
270
271
% Doc: http://texdoc.net/natbib
272
\usepackage[%
273
square, % for square brackets
274
comma, % use commas as separators
275
numbers, % for numerical citations;
276
%sort % orders multiple citations into the sequence in which they appear in the list of references;
277
sort&compress % as sort but in addition multiple numerical citations are compressed if possible (as 3-6, 15);
278
]{natbib}
279
280
% In the bibliography, references have to be formatted as 1., 2., ... not [1], [2], ...
281
\renewcommand{\bibnumfmt}[1]{#1.}
282
283
% Enable hyperlinked author names in the case of \citet
284
% Source: https://tex.stackexchange.com/a/76075/9075
285
\usepackage{etoolbox}
286
\makeatletter
287
\patchcmd{\NAT@test}{\else \NAT@nm}{\else \NAT@hyper@{\NAT@nm}}{}{}
288
\makeatother
289
290
% Prepare more space-saving rendering of the bibliography
291
% Source: https://tex.stackexchange.com/a/280936/9075
292
\SetExpansion
293
[ context = sloppy,
294
stretch = 30,
295
shrink = 60,
296
step = 5 ]
297
{ encoding = {OT1,T1,TS1} }
298
{ }
299
300
% Put figures aside a text
301
% Even though the package is from 1998, it works well
302
\usepackage[rflt]{floatflt}
303
304
% Farbige Tabellen
305
% ----------------
306
% Das Paket colortbl wird inzwischen automatisch durch xcolor geladen
307
%
308
% Erweiterte Funktionen innerhalb von Tabellen
309
% --------------------------------------------
310
%%% Doc: http://mirror.ctan.org/tex-archive/macros/latex/contrib/multirow/multirow.sty
311
\usepackage{multirow} % Mehrfachspalten
312
%
313
%%% Doc: Documentation inside dtx Package
314
\usepackage{dcolumn} % Ausrichtung an Komma oder Punkt
315
316
%%% Doc: http://mirror.ctan.org/tex-archive/macros/latex/contrib/supertabular/supertabular.pdf
317
%\usepackage{supertabular}
318
319
%%% Fussnoten/Endnoten ===================================================
320
321
% EN: Put footnotes below floats
322
% DE: Fußnoten unter Gleitumgebungen ("floats") platzieren
323
% Source: https://tex.stackexchange.com/a/32993/9075
324
\usepackage{stfloats}
325
\fnbelowfloat
326
327
% EN: Extended support for footnotes
328
% DE: Fußnoten
329
%
330
%\usepackage{dblfnote} %Zweispaltige Fußnoten
331
%
332
% Keine hochgestellten Ziffern in der Fußnote (KOMA-Script-spezifisch):
333
%\deffootnote[1.5em]{0pt}{1em}{\makebox[1.5em][l]{\bfseries\thefootnotemark}}
334
%
335
% Abstand zwischen Fußnoten vergrößern:
336
%\setlength{\footnotesep}{.85\baselineskip}
337
%
338
% EN: Following command disables the separting line of the footnote
339
% DE: Folgendes Kommando deaktiviert die Trennlinie zur Fußnote
340
%\renewcommand{\footnoterule}{}
341
%
342
%\addtolength{\skip\footins}{\baselineskip} % Abstand Text <-> Fußnote
343
344
% DE: Fußnoten immer ganz unten auf einer \raggedbottom-Seite
345
% DE: fnpos kommt aus dem yafoot package
346
%\usepackage{fnpos}
347
%\makeFNbelow
348
%\makeFNbottom
349
350
% TODO (and comment) configuration
351
%
352
% - \todo (from todo, easy-todo, todonotes) / \TODO (from fixmetodonotes) - for "normal" TODOs
353
% - \todofix - "important" TODOs
354
%
355
% - \textcomment - highlights text and has a hover comment
356
% - \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)
357
%
358
% - \missingfigure
359
%
360
% - \textmarker
361
% - \modified
362
% - \change - adresses a review comment
363
364
% Enable nice comments
365
\usepackage{pdfcomment}
366
367
\newcommand{\textcomment}[2]{\colorbox{yellow!60}{#1}\pdfcomment[color={0.234 0.867 0.211},hoffset=-6pt,voffset=10pt,opacity=0.5]{#2}}
368
369
% Small PDF comment
370
% 1. Parameter: Comment
371
\newcommand{\sidecomment}[1]{\pdfcomment[color={0.045 0.278 0.643},voffset=4pt,icon=Note]{#1}}
372
% Disabled variant - for the final PDF
373
%\newcommand{\sidecomment}[1]{}
374
375
\newcommand{\todo}[1]{TODO!\sidecomment{#1}}
376
377
% Änderungen
378
%
379
% 1. Parameter: Review-Kommentar
380
% 2. Parameter: Neuer Text
381
\newcommand{\change}[2]{{\color{red}#2}\pdfcomment[color={0.234 0.867 0.211},voffset=8pt,opacity=0.5]{#1}}
382
% Disabled variant - for the final PDF
383
%\newcommand{\change}[2]{#2}
384
385
% Define default commands
386
\makeatletter
387
\@ifundefined{missingfigure}{\newcommand{\missingfigure}{... missing figure ...}}{}
388
\@ifundefined{textcomment}{\newcommand{\textcomment}[2]{#1 \todo{#2}}}{}
389
\@ifundefined{sidecomment}{\newcommand{\sidecomment}[1]{\marginpar{#1}}}{}
390
\@ifundefined{todo}{\newcommand{\todo}[1]{\sidecomment{#1}}}{}
391
\@ifundefined{TODO}{\newcommand{\TODO}[1]{\todo{#1}}}{}
392
\@ifundefined{todofix}{\newcommand{\todofix}[1]{\todo{#1}}}{}
393
\@ifundefined{change}{\newcommand{\change}[2]{#1 $\rightarrow$ #2}}{}
394
\makeatother
395
396
% Textmarker (Textfarbe rot)
397
\newcommand{\textmarker}[1]{{\color{red} #1}\xspace}
398
399
% Modified (Text blau)
400
\newcommand{\modified}[1]{{\color{blue!60!black} #1}\xspace}
401
402
\usepackage[group-minimum-digits=4,per-mode=fraction]{siunitx}
403
\addto\extrasgerman{\sisetup{locale = DE}}
404
405
% 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 document
406
\usepackage{hyperref}
407
408
% Enable hyperref without colors and without bookmarks
409
\hypersetup{
410
hidelinks,
411
colorlinks=true, % Links erhalten Farben statt Kaeten
412
raiselinks=true, % calculate real height of the link
413
allcolors=black,
414
pdfstartview=Fit,
415
breaklinks=true, % Links ueberstehen Zeilenumbruch
416
hypertexnames=false, % Fix jumping to algorithm line - http://tex.stackexchange.com/a/156404/9075
417
}
418
419
% Enable correct jumping to figures when referencing
420
\usepackage[all]{hypcap}
421
422
% Hint by https://tex.stackexchange.com/a/193370/9075 to suppress strange outputs of the babel package
423
% Example strange output: Package babel Info: Redefining ngerman shorthand "|
424
\usepackage{etoolbox}
425
\makeatletter
426
\patchcmd{\@decl@short}{\bbl@info}{\@gobble}{}{}
427
\makeatother
428
429
\usepackage[caption=false,font=footnotesize]{subfig}
430
431
% Alternative for making subfigures:
432
% Part of the caption package. See http://www.ctan.org/pkg/caption
433
% Ersetzt die Pakete subfigure und subfig - siehe https://tex.stackexchange.com/a/13778/9075
434
%
435
% (subfigure is outdated. subfig is maintained, but subcaption is better)
436
% See: http://tex.stackexchange.com/questions/13625/subcaption-vs-subfig-best-package-for-referencing-a-subfigure
437
%\usepackage[hypcap=true]{subcaption}
438
439
\usepackage{mindflow}
440
441
% cleveref für cref statt autoref, da cleveref auch bei Definitionen funktioniert
442
\usepackage[capitalise,nameinlink]{cleveref}
443
444
\crefname{table}{Tabelle}{Tab.}
445
\Crefname{table}{Tabelle}{Tabellen}
446
\crefname{figure}{Abbildung}{Abbildungen}
447
\Crefname{figure}{Abbildung}{Abbildungen}
448
\crefname{equation}{Gleichung}{Gleichungen}
449
\Crefname{equation}{Gleichung}{Gleichungen}
450
\crefname{theorem}{Theorem}{Theoreme}
451
\Crefname{theorem}{Theorem}{Theoreme}
452
\crefname{listing}{Listing}{Listings}
453
\Crefname{listing}{Listing}{Listings}
454
\crefname{section}{Abschnitt}{Abschnitte}
455
\Crefname{section}{Abschnitt}{Abschnitte}
456
\crefname{paragraph}{Abschnitt}{Abschnitte}
457
\Crefname{paragraph}{Abschnitt}{Abschnitte}
458
\crefname{subparagraph}{Abschnitt}{Abschnitte}
459
\Crefname{subparagraph}{Abschnitt}{Abschnitte}
460
461
\usepackage{lipsum}
462
463
% For demonstration purposes only
464
% These packages can be removed when all examples have been deleted
465
\usepackage[math]{blindtext}
466
\usepackage{mwe}
467
\usepackage[realmainfile]{currfile}
468
\usepackage{tcolorbox}
469
\tcbuselibrary{listings}
470
471
%introduce \powerset - hint by http://matheplanet.com/matheplanet/nuke/html/viewtopic.php?topic=136492&post_id=997377
472
\DeclareFontFamily{U}{MnSymbolC}{}
473
\DeclareSymbolFont{MnSyC}{U}{MnSymbolC}{m}{n}
474
\DeclareFontShape{U}{MnSymbolC}{m}{n}{
475
<-6> MnSymbolC5
476
<6-7> MnSymbolC6
477
<7-8> MnSymbolC7
478
<8-9> MnSymbolC8
479
<9-10> MnSymbolC9
480
<10-12> MnSymbolC10
481
<12-> MnSymbolC12%
482
}{}
483
\DeclareMathSymbol{\powerset}{\mathord}{MnSyC}{180}
484
485
\usepackage{xspace}
486
% Macht \xspace und \enquote kompatibel
487
\makeatletter
488
\xspaceaddexceptions{\grqq \grq \csq@qclose@i \} }
489
\makeatother
490
491
% Enable hyphenation at other places as the dash.
492
% Example: applicaiton\hydash specific
493
\makeatletter
494
\newcommand{\hydash}{\penalty\@M-\hskip\z@skip}
495
% Definition of "= taken from http://mirror.ctan.org/macros/latex/contrib/babel-contrib/german/ngermanb.dtx
496
\makeatother
497
498
\ifluatex
499
% Enable correct rendering of ligatures - provided by https://ctan.org/pkg/autotype
500
% See ADR-0008 for alternatives
501
\usepackage{autotype}
502
\fi
503
504
% correct bad hyphenation here
505
\hyphenation{
506
Spe-zi-fi-ka-tion
507
In-te-gra-tion
508
An-for-de-rung An-for-de-run-gen
509
Be-nut-zer-ober-flä-che
510
Mes-sung-en
511
aus-zu-tau-schen
512
Lauf-zeit-in-for-ma-tionen
513
% May not be hypphenated
514
AROMA TOSCA BPMN OASIS OMG DMTF IT DevOps
515
}
516
517
\input{commands}
518
519
% Add copyright
520
%
521
% This is recommended if you intend to send the version to colleagues
522
% See https://ctan.org/pkg/llncsconf for details
523
\iffalse
524
% state: intended | submitted | llncs
525
% you can add "crop" if the paper should be cropped to the format Springer is publishing
526
\usepackage[intended]{llncsconf}
527
528
\conference{name of the conference}
529
530
% in case of "proceedings" (final version!)
531
% example: \llncs{Anonymous et al. (eds). \emph{Proceedings of the International Conference on \LaTeX-Hacks}, LNCS~42. Some Publisher, 2016.}{0042}
532
% 0042 denotes an example start page
533
\llncs{book editors and title}{0042}
534
\fi
535
536
\ifpdftex
537
% Enable copy and paste of text from the PDF
538
% Only required for pdflatex. It "just works" in the case of lualatex.
539
% Alternative: cmap or mmap package
540
% mmap enables mathematical symbols, but does not work with the newtx font set
541
% See: https://tex.stackexchange.com/a/64457/9075
542
% 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-searchable
543
% Trouble shooting outlined at https://tex.stackexchange.com/a/100618/9075
544
%
545
% According to https://tex.stackexchange.com/q/451235/9075 this is the way to go
546
\input{glyphtounicode}
547
\pdfgentounicode=1
548
\fi
549
\begin{document}
550
\ifluatex
551
% Enable correct rendering of ligatures - provided by https://ctan.org/pkg/autotype
552
% See ADR-0008 for alternatives
553
\autotypelangoptions{ngerman}{ligbreak}
554
\fi
555
556
\title{Paper Title}
557
% If Title is too long, use \titlerunning
558
%\titlerunning{Short Title}
559
560
% Single insitute
561
\author{Firstname Lastname \and Firstname Lastname}
562
563
% If there are too many authors, use \authorrunning
564
%\authorrunning{First Author et al.}
565
566
\institute{Institute}
567
568
%% Multiple insitutes - ALTERNATIVE to the above
569
% \author{%
570
% Firstname Lastname\inst{1} \and
571
% Firstname Lastname\inst{2}
572
% }
573
%
574
%If there are too many authors, use \authorrunning
575
% \authorrunning{First Author et al.}
576
%
577
% \institute{
578
% Insitute 1\\
579
% \email{...}\and
580
% Insitute 2\\
581
% \email{...}
582
%}
583
584
\maketitle
585
586
\begin{abstract}
587
\lipsum[1]
588
589
\keywords{First keyword \and Second keyword \and Third keyword}
590
\end{abstract}
591
592
593
\section{Einleitung}
594
\label{sec:introduction}
595
Hier steht die Einleitung zu dieser Ausarbeitung.
596
Sie soll nur als Beispiel dienen.
597
Nun viel Erfolg bei der Arbeit!
598
599
Die Arbeit ist in folgender Weise gegliedert:
600
Zuerst werden Grundlagen und verwandte Arbeiten vorgestellt (\cref{sec:relatedwork}).
601
It is followed by a presentation of hints on \LaTeX{} (\cref{sec:latexhints}).
602
Schließlich fasst \cref{sec:outlook} die Ergebnisse der Arbeit zusammen und stellt Anknüpfungspunkte vor.
603
604
\section{Verwandte Arbeiten}
605
\label{sec:relatedwork}
606
607
Eine Beschreibung relevanter wissenschaftlicher Arbeiten mit Bezug zur eigenen Arbeit.
608
Der Abschnitt kann je nach Kontext auch an anderer Stelle stehen.
609
610
Winery~\cite{Winery} is a graphical \textcomment{modeling}{modeling with one ``l'', because of American English} tool.
611
The whole idea of TOSCA is explained by \citet{Binz2009}.
612
613
\section{LaTeX Hinweise}
614
\label{sec:latexhints}
615
616
% Benötigt für eine korrekte Darstellung der Hinweise im erzeugten PDF
617
\newcount\LTGbeginlineexample
618
\newcount\LTGendlineexample
619
\newenvironment{ltgexample}%
620
{\LTGbeginlineexample=\numexpr\inputlineno+1\relax}%
621
{\LTGendlineexample=\numexpr\inputlineno-1\relax%
622
\tcbinputlisting{%
623
listing only,
624
listing file=\currfilepath,
625
colback=green!5!white,
626
colframe=green!25,
627
coltitle=black!90,
628
coltext=black!90,
629
left=8mm,
630
title=Zugehöriger \LaTeX{}-Quelltext aus \texttt{\currfilepath},
631
listing options={
632
frame=none,
633
language={[LaTeX]TeX},
634
escapeinside={},
635
firstline=\the\LTGbeginlineexample,
636
lastline=\the\LTGendlineexample,
637
firstnumber=\the\LTGbeginlineexample,
638
basewidth=.5em,
639
aboveskip=0mm,
640
belowskip=0mm,
641
numbers=left,
642
xleftmargin=0mm,
643
numberstyle=\tiny,
644
numbersep=8pt%
645
}
646
}
647
}%
648
649
Hier sollen allgemeine \LaTeX-Hinweise gegeben werden, damit man Minimalbeispiele vorliegen hat, um sofort loszulegen.
650
651
\subsection{Trennung von Absätzen}
652
653
\begin{ltgexample}
654
Pro Satz eine neue Zeile.
655
Das ist wichtig, um sauber versionieren zu können.
656
In LaTeX werden Absätze durch eine Leerzeile getrennt.
657
Analogie zu Word: Bei Word werden neue Absätze durch einmal Eingabetaste herbeigeführt.
658
Dies führt bei LaTeX jedoch nicht zu einem neuen Absatz, da LaTeX direkt aufeinanderfolgende Zeilen zu einer Zeile zusammenfügt.
659
Mächte man nun einen Absatz haben, muss man zweimal die Eingabetaste drücken.
660
Dies führt zu einer leeren Zeile.
661
In Word gibt es die Funktion Großschreibetaste und Eingabetaste gleichzeitig.
662
Wenn man dies drückt, wird einer harter Umbruch erzwungen.
663
Der Text fängt am Anfang der neuen Zeile an.
664
In LaTeX erreicht man dies durch Doppelbackslashes (\textbackslash\textbackslash) erzeugt.
665
\\
666
Dies verwendet man quasi nie.
667
668
Folglich werden neue Abstäze insbesondere \emph{nicht} durch Doppelbackslashes erzeugt.
669
Beispielsweise begann der letzte Satz in einem neuen Absatz.
670
Eine ausführliche Motivation hierfür findet sich in \url{http://loopspace.mathforge.org/HowDidIDoThat/TeX/VCS/#section.3}.
671
\end{ltgexample}
672
673
674
\subsection{Notes separated from the text}
675
676
The package mindflow enables writing down notes and annotations in a way so that they are separated from the main text.
677
678
\begin{ltgexample}
679
\begin{mindflow}
680
This is a small note.
681
\end{mindflow}
682
\end{ltgexample}
683
684
\subsection{Handling TODOs}
685
686
\begin{ltgexample}
687
\textmarker{Markierter Text.}
688
\end{ltgexample}
689
690
Bei \verb1\textmarker1 wird nur die Textfarbe geändert, da dies auch bei einigen Worten gut funktioniert.
691
692
\begin{ltgexample}
693
\textcomment{Markierter Text.}{Kommentar dazu.}
694
\end{ltgexample}
695
696
\begin{ltgexample}
697
\modified{Manuelle Markierung für Text, der seit der letzten Version geändert wurde.}
698
\end{ltgexample}
699
700
\begin{ltgexample}
701
Das ist ein Text.
702
\change{FL1: Text angepasst}{Geänderter Text}.
703
\end{ltgexample}
704
705
\begin{ltgexample}
706
Hier nur ein Kommentar\sidecomment{Kommentar}.
707
\end{ltgexample}
708
709
\begin{ltgexample}
710
\todo{Hier muss noch kräftig Text produziert werden}
711
\end{ltgexample}
712
713
\subsection{Hyphenation}
714
715
\LaTeX{} automatically hyphenates words.
716
When using \href{https://ctan.org/pkg/microtype}{microtype}, there should be fewer hyphenations than in other settings.
717
It might be necessary to tweak the hyphenations nevertheless.
718
Here are some hints:
719
720
\begin{ltgexample}
721
In case you write \enquote{application-specific}, then the word will only be hyphenated at the dash.
722
You can also write \verb1applica\allowbreak{}tion-specific1 (result: applica\allowbreak{}tion-specific), but this is much more effort.
723
724
You can now write words containing hyphens which are hyphenated at other places in the word.
725
For instance, \verb1application"=specific1 gets application"=specific.
726
This is enabled by an additional configuration of the babel package.
727
\end{ltgexample}
728
729
\subsection{Typesetting Units}
730
731
\begin{ltgexample}
732
Numbers can be written plain text (such as 100), by using the \href{https://ctan.org/pkg/siunitx}{siunitx} package as follows:
733
\SI{100}{\km\per\hour},
734
or by using plain \LaTeX{} (and math mode):
735
$100 \frac{\mathit{km}}{h}$.
736
\end{ltgexample}
737
738
\begin{ltgexample}
739
\SI{5}{\percent} of \SI{10}{kg}
740
\end{ltgexample}
741
742
\begin{ltgexample}
743
Numbers are automatically grouped: \num{123456}.
744
\end{ltgexample}
745
746
\subsection{Surrounding Text by Quotes}
747
748
\begin{ltgexample}
749
Please use the \enquote{enquote command} to quote something.
750
Quoting with "`quote"' or ``quote'' also works.
751
752
\end{ltgexample}
753
754
\subsection{Cleveref examples}
755
\label{sec:ex:cref}
756
757
Cleveref demonstration: Cref at beginning of sentence, cref in all other cases.
758
759
\begin{figure}
760
\centering
761
\includegraphics[width=.75\linewidth]{example-image-a}
762
\caption{Example figure for cref demo}
763
\label{fig:ex:cref}
764
\end{figure}
765
766
\begin{table}
767
\centering
768
\begin{tabular}{ll}
769
\toprule
770
Heading1 & Heading2 \\
771
\midrule
772
One & Two \\
773
Thee & Four \\
774
\bottomrule
775
\end{tabular}
776
\caption{Example table for cref demo}
777
\label{tab:ex:cref}
778
\end{table}
779
780
\begin{ltgexample}
781
\Cref{fig:ex:cref} shows a simple fact, although \cref{fig:ex:cref} could also show something else.
782
783
\Cref{tab:ex:cref} shows a simple fact, although \cref{tab:ex:cref} could also show something else.
784
785
\Cref{sec:ex:cref} shows a simple fact, although \cref{sec:ex:cref} could also show something else.
786
\end{ltgexample}
787
788
\subsection{Abbildungen}
789
790
\begin{ltgexample}
791
\Cref{fig:label} zeigt etwas Interessantes
792
793
\begin{figure}
794
\centering
795
Füge deine Abbildung hier ein.
796
\caption{Bildunterschrift.}
797
\label{fig:label}
798
\end{figure}
799
\end{ltgexample}
800
801
One can also have pictures floating inside text:
802
\clearpage
803
804
\begin{ltgexample}
805
\begin{floatingfigure}{.33\linewidth}
806
\includegraphics[width=.29\linewidth]{example-image-a}
807
\caption{A floating figure}
808
\end{floatingfigure}
809
\lipsum[2]
810
\end{ltgexample}
811
812
\subsection{Sub Figures}
813
814
An example of two sub figures is shown in \cref{fig:two_sub_figures}.
815
816
\begin{ltgexample}
817
\begin{figure}[!b]
818
\centering
819
\subfloat[Case I]{\includegraphics[width=.4\linewidth]{example-image-a}%
820
\label{fig:first_case}}
821
\hfil
822
\subfloat[Case II]{\includegraphics[width=.4\linewidth]{example-image-b}%
823
\label{fig:second_case}}
824
\caption{Example figure with two sub figures.}
825
\label{fig:two_sub_figures}
826
\end{figure}
827
\end{ltgexample}
828
829
\subsection{Tables}
830
831
\begin{ltgexample}
832
\begin{table}
833
\caption{Simple Table}
834
\label{tab:simple}
835
\centering
836
\begin{tabular}{ll}
837
\toprule
838
Heading1 & Heading2 \\
839
\midrule
840
One & Two \\
841
Thee & Four \\
842
\bottomrule
843
\end{tabular}
844
\end{table}
845
\end{ltgexample}
846
847
\begin{ltgexample}
848
% Source: https://tex.stackexchange.com/a/468994/9075
849
\begin{table}
850
\caption{Table with diagonal line}
851
\label{tab:diag}
852
\begin{center}
853
\begin{tabular}{|l|c|c|}
854
\hline
855
\diagbox[width=10em]{Diag \\Column Head I}{Diag Column\\Head II} & Second & Third \\
856
\hline
857
& foo & bar \\
858
\hline
859
\end{tabular}
860
\end{center}
861
\end{table}
862
\end{ltgexample}
863
864
865
\subsection{Quellcode}
866
867
\begin{ltgexample}
868
\Cref{lst:XML} zeigt XML-Quelltext.
869
\Cref{line:comment} enthält einen Kommentar.
870
871
\begin{lstlisting}[
872
language=XML,
873
caption={Beispiel-XML-Listing},
874
label={lst:XML}]
875
<listing name="example">
876
<!-- comment --> (* \label{line:comment} *)
877
<content>not interesting</content>
878
</listing>
879
\end{lstlisting}
880
\end{ltgexample}
881
882
Der zusätzliche Paramter \verb+float+ führt dazu, dass das Listing auch floated.
883
\Cref{lst:flXML} zeigt das gleitendede Listing.
884
885
\begin{ltgexample}
886
\begin{lstlisting}[
887
% Es ist möglcih, die Abstände bei Bedarf einzustellen
888
% aboveskip=2.5\baselineskip,
889
% belowskip=-.8\baselineskip,
890
float,
891
language=XML,
892
caption={Beispiel-XML-Listing -- gleitend},
893
label={lst:flXML}]
894
<listing name="example">
895
Floating
896
</listing>
897
\end{lstlisting}
898
\end{ltgexample}
899
900
Es ist möglich auch JSON zu setzen, wie in \cref{lst:json} gezeigt.
901
902
\begin{ltgexample}
903
\begin{lstlisting}[
904
float,
905
language=json,
906
caption={Beispiel-JSON-listing},
907
label={lst:json}]
908
{
909
key: "value"
910
}
911
\end{lstlisting}
912
\end{ltgexample}
913
914
Java ist auch möglich -- \cref{lst:java}.
915
916
\begin{ltgexample}
917
\begin{lstlisting}[
918
caption={Example Java listing},
919
label=lst:java,
920
language=Java,
921
float]
922
public class Hello {
923
public static void main (String[] args) {
924
System.out.println("Hello World!");
925
}
926
}
927
\end{lstlisting}
928
\end{ltgexample}
929
930
\subsection{Itemization}
931
932
One can list items as follows:
933
934
\begin{ltgexample}
935
\begin{itemize}
936
\item Item One
937
\item Item Two
938
\end{itemize}
939
\end{ltgexample}
940
941
942
One can enumerate items as follows:
943
944
\begin{ltgexample}
945
\begin{enumerate}
946
\item Item One
947
\item Item Two
948
\end{enumerate}
949
\end{ltgexample}
950
951
952
With paralist, one can even have all items typeset after each other and have them clean in the TeX document:
953
954
\begin{ltgexample}
955
\begin{inparaenum}
956
\item All these items...
957
\item ...appear in one line
958
\item This is enabled by the paralist package.
959
\end{inparaenum}
960
\end{ltgexample}
961
962
\subsection{Other Features}
963
964
\begin{ltgexample}
965
The words \enquote{workflow} and \enquote{dwarflike} can be copied from the PDF and pasted to a text file.
966
\end{ltgexample}
967
968
\begin{ltgexample}
969
The symbol for powerset is now correct: $\powerset$ and not a Weierstrass p ($\wp$).
970
971
$\powerset({1,2,3})$
972
\end{ltgexample}
973
974
\begin{ltgexample}
975
Brackets work as designed:
976
<test>
977
One can also input backticks in verbatim text: \verb|`test`|.
978
\end{ltgexample}
979
980
981
\section{Zusammenfassung und Ausblick}
982
\label{sec:outlook}
983
Hier bitte einen kurzen Durchgang durch die Arbeit.
984
985
\lipsum[1-2]
986
987
...und anschließend einen Ausblick.
988
989
\subsubsection*{Danksagungen}
990
991
Identification 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}.
992
993
%%% ===============================================================================
994
%%% Bibliography
995
%%% ===============================================================================
996
997
\renewcommand{\bibsection}{\section*{Literatur}} % requried for natbib to have "References" printed and as section*, not chapter*
998
% Use natbib compatbile splncs04nat style.
999
% It does provide all features of splncs03, but is developed in a clean way.
1000
% Source: https://github.com/tpavlic/splncs04nat
1001
\bibliographystyle{splncs04nat}
1002
\begingroup
1003
\microtypecontext{expansion=sloppy}
1004
\small % ensure correct font size for the bibliography
1005
\bibliography{paper}
1006
\endgroup
1007
1008
% Enfore empty line after bibliography
1009
\ \\
1010
%
1011
\noindent
1012
Alle Links wurden zuletzt am 29.03.2021 geprüft.
1013
1014
%%% ===============================================================================
1015
%\appendix
1016
%\addcontentsline{toc}{chapter}{APPENDICES}
1017
1018
%\listoffigures
1019
%\listoftables
1020
%%% ===============================================================================
1021
1022
%%% ===============================================================================
1023
%\section{My first appendix}\label{sec:appendix1}
1024
%%% ===============================================================================
1025
\end{document}
1026
1027