| 1 |
% \iffalse meta-comment |
| 2 |
%<*internal> |
| 3 |
\iffalse |
| 4 |
%</internal> |
| 5 |
%<*internal> |
| 6 |
\fi |
| 7 |
\def\nameofplainTeX{plain} |
| 8 |
\ifx\fmtname\nameofplainTeX\else |
| 9 |
\expandafter\begingroup |
| 10 |
\fi |
| 11 |
%</internal> |
| 12 |
%<*install> |
| 13 |
\input docstrip.tex |
| 14 |
\keepsilent |
| 15 |
\askforoverwritefalse |
| 16 |
\declarepreamble\classpre |
| 17 |
--------| ----------------------------------------------------------------- |
| 18 |
lni:| A class for submissions to the ``Lecture Notes in Informatics'' |
| 19 |
Author:| Martin Sievers |
| 20 |
Email:| [email protected] |
| 21 |
License:| Released under the LaTeX Project Public License v1.3c or later |
| 22 |
See:| http://www.latex-project.org/lppl.txt |
| 23 |
--------| ----------------------------------------------------------------- |
| 24 |
\endpreamble |
| 25 |
|
| 26 |
\def\templatepre{% |
| 27 |
\perCent\space !TeX encoding = UTF-8^^J% |
| 28 |
\perCent\space !TeX program = pdflatex^^J% |
| 29 |
\perCent\space !BIB program = biber^^J% |
| 30 |
} |
| 31 |
|
| 32 |
\def\templatepreger{% |
| 33 |
\perCent\space !TeX encoding = UTF-8^^J% |
| 34 |
\perCent\space !TeX spellcheck = de_DE^^J% |
| 35 |
\perCent\space !BIB program = biber^^J% |
| 36 |
} |
| 37 |
|
| 38 |
\postamble |
| 39 |
|
| 40 |
Copyright (C) 2016-2025 by Gesellschaft für Informatik e.V. (GI) |
| 41 |
|
| 42 |
This work may be distributed and/or modified under the |
| 43 |
conditions of the LaTeX Project Public License (LPPL), either |
| 44 |
version 1.3c of this license or (at your option) any later |
| 45 |
version. The latest version of this license is in the file: |
| 46 |
|
| 47 |
http://www.latex-project.org/lppl.txt |
| 48 |
|
| 49 |
This work is "maintained" (as per LPPL maintenance status) by |
| 50 |
Martin Sievers. |
| 51 |
|
| 52 |
This work consists of the file lni.dtx |
| 53 |
lni.ins |
| 54 |
README.md |
| 55 |
CHANGELOG.md |
| 56 |
and the derived files lni.pdf |
| 57 |
lni.cls |
| 58 |
lni-author-template.tex |
| 59 |
lni-paper-example-de.bib |
| 60 |
lni-paper-example-de.tex |
| 61 |
\endpostamble |
| 62 |
|
| 63 |
\usedir{tex/latex/lni} |
| 64 |
\AddGenerationDate |
| 65 |
\generate{ |
| 66 |
\usepreamble\classpre |
| 67 |
\file{\jobname.cls}{\from{\jobname.dtx}{class}} |
| 68 |
} |
| 69 |
%</install> |
| 70 |
%<install>\endbatchfile |
| 71 |
%<*internal> |
| 72 |
%%%\usedir{source/latex/lni} |
| 73 |
%%%\generate{ |
| 74 |
%%%% \usepreamble\classpre |
| 75 |
%%% \file{\jobname.ins}{\from{\jobname.dtx}{install}} |
| 76 |
%%%} |
| 77 |
\nopreamble\nopostamble |
| 78 |
\usedir{doc/latex/lni} |
| 79 |
\generate{ |
| 80 |
\usepreamble\templatepre |
| 81 |
\file{lni-author-template.tex}{\from{\jobname.dtx}{template}} |
| 82 |
} |
| 83 |
\generate{ |
| 84 |
\file{lni-paper-example-de.bib}{\from{\jobname.dtx}{exampledebib}} |
| 85 |
} |
| 86 |
\generate{ |
| 87 |
\usepreamble\templatepreger |
| 88 |
\file{lni-paper-example-de.tex}{\from{\jobname.dtx}{exampledetex}} |
| 89 |
} |
| 90 |
\ifx\fmtname\nameofplainTeX |
| 91 |
\expandafter\endbatchfile |
| 92 |
\else |
| 93 |
\expandafter\endgroup |
| 94 |
\fi |
| 95 |
%</internal> |
| 96 |
% \fi |
| 97 |
% |
| 98 |
% \iffalse |
| 99 |
%<*driver> |
| 100 |
\ProvidesFile{lni.dtx} |
| 101 |
%</driver> |
| 102 |
%<class>\NeedsTeXFormat{LaTeX2e}[1999/12/01] |
| 103 |
%<class>\ProvidesClass{lni} |
| 104 |
%<*class> |
| 105 |
[2025/02/05 v2.0 Official class for submissions to the ``Lecture Notes |
| 106 |
in Informatics''] |
| 107 |
%</class> |
| 108 |
%<*driver> |
| 109 |
\documentclass[a4paper]{ltxdoc} |
| 110 |
\usepackage[ngerman,english]{babel} |
| 111 |
\usepackage[utf8]{inputenc} |
| 112 |
\usepackage[T1]{fontenc} |
| 113 |
\usepackage{libertine} |
| 114 |
\usepackage[scaled=0.8]{beramono} |
| 115 |
\usepackage[% |
| 116 |
final,% |
| 117 |
tracking=smallcaps,% |
| 118 |
expansion=alltext,% |
| 119 |
protrusion=alltext-nott]{microtype}% |
| 120 |
\SetTracking{encoding=*,shape=sc}{50}% |
| 121 |
\usepackage{textcomp} |
| 122 |
\usepackage{upquote} |
| 123 |
\usepackage[final]{listings} |
| 124 |
\usepackage{csquotes} |
| 125 |
\usepackage[dvipsnames]{xcolor} |
| 126 |
\usepackage{hologo} |
| 127 |
\usepackage{dtxdescribe} |
| 128 |
\usepackage[% |
| 129 |
pdftitle={lni: Official LaTeX class for submissions to the ``Lecture Notes in |
| 130 |
Informatics'', published by the ``Gesellschaft für Informatik e.\,V.'' (GI)}, |
| 131 |
pdfauthor={Martin Sievers and Oliver Kopp}, |
| 132 |
urlcolor=blue,% |
| 133 |
linktoc=all,% |
| 134 |
colorlinks=true]{hyperref} |
| 135 |
\usepackage[nameinlink,capitalise]{cleveref} |
| 136 |
|
| 137 |
\DeclareFontFamily{U}{MnSymbolC}{} |
| 138 |
\DeclareSymbolFont{MnSyC}{U}{MnSymbolC}{m}{n} |
| 139 |
\DeclareFontShape{U}{MnSymbolC}{m}{n}{ |
| 140 |
<-6> MnSymbolC5 |
| 141 |
<6-7> MnSymbolC6 |
| 142 |
<7-8> MnSymbolC7 |
| 143 |
<8-9> MnSymbolC8 |
| 144 |
<9-10> MnSymbolC9 |
| 145 |
<10-12> MnSymbolC10 |
| 146 |
<12-> MnSymbolC12% |
| 147 |
}{} |
| 148 |
\DeclareMathSymbol{\powerset}{\mathord}{MnSyC}{180} |
| 149 |
|
| 150 |
\newcommand{\lni}{\texttt{lni}} |
| 151 |
\newcommand{\LNI}{\emph{Lecture Notes in Informatics}} |
| 152 |
\lstset{ |
| 153 |
basicstyle = \small\ttfamily, |
| 154 |
gobble = 2, |
| 155 |
keywordstyle = \color{blue}\bfseries, |
| 156 |
language = [LaTeX]{TeX}, |
| 157 |
moretexcs = {, |
| 158 |
addbibresource,authorrunning,% |
| 159 |
email,lnidoi,affil, |
| 160 |
ExecuteBibliographyOptions,includegraphics,printbibliography, |
| 161 |
} |
| 162 |
frame = single, |
| 163 |
backgroundcolor = \color{yellow!60}, |
| 164 |
framesep = 5pt, |
| 165 |
literate={Ö}{{\"O}}1 {Ä}{{\"A}}1 {Ü}{{\"U}}1 {ß}{{\ss}}1 {ü}{{\"u}}1 {ä}{{\"a}}1 {ö}{{\"o}}1 |
| 166 |
}% |
| 167 |
\lstnewenvironment{examplecode}[1][] |
| 168 |
{\lstset{#1}} |
| 169 |
{} |
| 170 |
\providecommand*\env[1]{\texttt{#1}} |
| 171 |
\providecommand*\file[1]{\texttt{#1}} |
| 172 |
\providecommand*\opt[1]{\texttt{#1}} |
| 173 |
\providecommand*\pkg[1]{\textsf{#1}} |
| 174 |
\OnlyDescription %nur Anleitung (ohne Index und History) |
| 175 |
\CodelineIndex %kein Index wenn auskommentiert |
| 176 |
\EnableCrossrefs %kein Index wenn auskommentiert |
| 177 |
\RecordChanges %keine History wenn auskommentiert |
| 178 |
\begin{document} |
| 179 |
\DocInput{\jobname.dtx} |
| 180 |
\end{document} |
| 181 |
%</driver> |
| 182 |
% \fi |
| 183 |
% \CheckSum{0} |
| 184 |
% \CharacterTable |
| 185 |
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z |
| 186 |
% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z |
| 187 |
% Digits \0\1\2\3\4\5\6\7\8\9 |
| 188 |
% Exclamation \! Double quote \" Hash (number) \# |
| 189 |
% Dollar \$ Percent \% Ampersand \& |
| 190 |
% Acute accent \' Left paren \( Right paren \) |
| 191 |
% Asterisk \* Plus \+ Comma \, |
| 192 |
% Minus \- Point \. Solidus \/ |
| 193 |
% Colon \: Semicolon \; Less than \< |
| 194 |
% Equals \= Greater than \> Question mark \? |
| 195 |
% Commercial at \@ Left bracket \[ Backslash \\ |
| 196 |
% Right bracket \] Circumflex \^ Underscore \_ |
| 197 |
% Grave accent \` Left brace \{ Vertical bar \| |
| 198 |
% Right brace \} Tilde \~} |
| 199 |
% |
| 200 |
% \changes{v1.0}{2017/04/07}{Official release of revised version} |
| 201 |
% \changes{v1.1}{2017/04/08}{Added macros \cs{subtitle} and keyword delimiter |
| 202 |
% \cs{add}} |
| 203 |
% \changes{v1.1}{2017/04/08}{Fixed bug with \cs{Crefname}} |
| 204 |
% \changes{v1.1}{2017/04/08}{Updated documentation and bundle structure} |
| 205 |
% \changes{v1.1}{2017/04/12}{Changed spacing for \cs{subtitle}} |
| 206 |
% \changes{v1.1}{2017/04/18}{Added check for ngerman-x-latest patterns} |
| 207 |
% \changes{v1.1}{2017/04/19}{Added option \opt{crop}} |
| 208 |
% \changes{v1.2}{2017/04/26}{Set option \opt{straighquotes} for \pkg{newtxtt} |
| 209 |
% manually to gain compatibility with version prior to v1.05} |
| 210 |
% \changes{v1.2}{2017/04/27}{Added \pkg{iftex} to check for pdflatex} |
| 211 |
% \changes{v1.2}{2017/05/04}{Added (partial) support for XeTeX and LuaTeX} |
| 212 |
% \changes{v1.3}{2017/05/04}{Added option \opt{nofonts} to suppress font |
| 213 |
% loading completely} |
| 214 |
% \changes{v1.3}{2017/05/08}{Changed syntax for \pkg{fontspec}} |
| 215 |
% \changes{v1.4}{2017/05/27}{Added new macros taken from the EMISA class file} |
| 216 |
% \changes{v1.4}{2017/05/27}{Added option \opt{oldfonts} to use a font package |
| 217 |
% available} |
| 218 |
% \changes{v1.4}{2017/07/26}{Added package \pkg{caption} and changed all |
| 219 |
% \cs{fontsize} calls to nativ \LaTeX{} macros} |
| 220 |
% \changes{v1.4}{2017/09/11}{Fixed basewidth for \env{lstlistings}} |
| 221 |
% \changes{v1.4}{2017/09/29}{Fixed font size for \cs{Large}} |
| 222 |
% \changes{v1.4}{2017/11/08}{Added full example for an article in German} |
| 223 |
% \changes{v1.4}{2017/11/08}{Adapting captions of \env{lstlistings}} |
| 224 |
% \changes{v1.4}{2017/11/08}{Fix font size bug regarding the running header |
| 225 |
% and the captions: \cs{small} was redefined, so we need an \cs{oldsmall} here} |
| 226 |
% \changes{v1.5}{2018/09/11}{Postpone loading of \pkg{cleveref}} |
| 227 |
% \changes{v1.5}{2018/09/11}{Load \pkg{textcomp} by default and add option |
| 228 |
% \opt{upquote} to \pkg{listings}} |
| 229 |
% \changes{v1.5}{2019/02/13}{Fix layout for English texts} |
| 230 |
% \changes{v1.5}{2019/02/13}{Changed \cs{refname} for English texts} |
| 231 |
% \changes{v1.5}{2019/02/20}{New option \opt{norunningheads}} |
| 232 |
% \changes{v1.6}{2019/04/18}{\cs{email} now generates a mailto: hyperlink} |
| 233 |
% \changes{v1.6}{2019/04/23}{Global options are passed to article class} |
| 234 |
% \changes{v1.6}{2019/09/14}{New macro \cs{booksubtitle}} |
| 235 |
% \changes{v1.6}{2019/09/14}{Add option `driver=none` to `geometry` for better |
| 236 |
% crop results} |
| 237 |
% \changes{v1.6}{2019/09/14}{\cs{booktitle} now uses an optional argument for |
| 238 |
% shorttitle} |
| 239 |
% \changes{v1.6}{2019/09/14}{New macro \cs{booksubtitle}} |
| 240 |
% \changes{v1.6}{2019/09/14}{\pkg{hypcap} is only loaded if \pkg{hyperref} |
| 241 |
% has been loaded before.} |
| 242 |
% \changes{v1.6}{2019/09/14}{\pkg{hyperref} is loaded without options to make |
| 243 |
% it more compatible with other packages like \pkg{authorarchive}} |
| 244 |
% \changes{v1.6}{2019/10/14}{Fix for BibTeX style} |
| 245 |
% \changes{v1.6}{2019/10/14}{Add support for \pkg{selnolig}} |
| 246 |
% \changes{v1.7}{2020/12/03}{Revert redefinition of \cs{year} after |
| 247 |
% \cs{maketitle}} |
| 248 |
% \changes{v1.7}{2021/03/02}{Fix setting of pdf metadata (#87)} |
| 249 |
% \changes{v1.7}{2021/03/02}{Change loading of latest ngerman hyphenation |
| 250 |
% patterns (#47)} |
| 251 |
% \changes{v1.7}{2021/03/02}{Change \cs{year} to \cs{yearofpublication} to |
| 252 |
% avoid problems (#85)} |
| 253 |
% \changes{v1.8}{2022/06/10}{Improvements for documentation} |
| 254 |
% \changes{v1.8}{2022/06/10}{Fix output error in bst files (#97)} |
| 255 |
% \changes{v1.8}{2022/11/25}{Make class compatable with latest publisher requirements (#121)} |
| 256 |
% \changes{v1.8}{2022/11/25}{Make usage of `hyperref` mandatory (#131)} |
| 257 |
% \changes{v1.9}{2024/07/01}{Support multiple affiliations (#158)} |
| 258 |
% \changes{v1.10}{2024/07/01}{Change font for URLs to text font and change footnote numbers to superscript} |
| 259 |
% \changes{v1.10}{2024/07/23}{Fix support multiple affiliations (#173)} |
| 260 |
% \changes{v1.11BETA}{2024/09/06}{Fix left margin for lists in theorems (#175)} |
| 261 |
% \changes{v2.0}{2025/02/05}{Remove BiBTeX support (#144)} |
| 262 |
% |
| 263 |
% \GetFileInfo{\jobname.dtx} |
| 264 |
% \DoNotIndex{\newcommand,\newenvironment} |
| 265 |
% |
| 266 |
% \title{\textsf{lni} -- Official class for submissions to the\\% |
| 267 |
% ``Lecture Notes in Informatics''\thanks{This file describes version |
| 268 |
% \fileversion, last revised \filedate.}} |
| 269 |
% \author{Martin Sievers\setcounter{footnote}{6}\thanks{Email: |
| 270 |
% [email protected]}} |
| 271 |
% \date{Released \filedate} |
| 272 |
% |
| 273 |
% \maketitle |
| 274 |
% |
| 275 |
% \begin{abstract} |
| 276 |
% \noindent After several years the \lni{} bundle has been updated. The |
| 277 |
% resulting new version fixes some long-standing bugs, solves problems and |
| 278 |
% supports modern packages like \pkg{biblatex} and \pkg{microtype}. It has been |
| 279 |
% put into one DTX file to make maintaining and distributing via CTAN a bit |
| 280 |
% easier. |
| 281 |
% \end{abstract} |
| 282 |
% |
| 283 |
% \section{Introduction} |
| 284 |
% \LaTeX{} templates are often long-lasting. Even if they use meanwhile |
| 285 |
% deprecated packages they are often passed from one generation of authors to |
| 286 |
% the next. |
| 287 |
% |
| 288 |
% The Gesellschaft für Informatik~e.\,V. (GI) thankfully realized, that their |
| 289 |
% bundle should be technologically |
| 290 |
% modernized while the general layout remains the same. |
| 291 |
% |
| 292 |
% Based on the existing class and bib files I set-up a DTX file and started |
| 293 |
% reworking the source code. Editors and authors suggested different additions |
| 294 |
% and changes, which I tried to incorporate without changing the existing |
| 295 |
% mechanisms too much. |
| 296 |
% |
| 297 |
% There is an additional package |
| 298 |
% \href{https://github.com/gi-ev/biblatex-lni}{\pkg{biblatex-lni}} for an easy |
| 299 |
% way of getting a correctly formed bibliography. This package is automatically used with v2.0 onwards. |
| 300 |
% See \cref{sec:bibliography} for |
| 301 |
% more information. |
| 302 |
% |
| 303 |
% \section{Installation} |
| 304 |
% The \lni{} bundle is currently distributed via |
| 305 |
% \href{https://github.com/gi-ev/LNI}{GitHub} and (preferably) \href{https://www.ctan.org/pkg/lni}{CTAN}. |
| 306 |
% The later is the basis for all updates of the two main \TeX{} distributions |
| 307 |
% \MiKTeX{} and \TeX{}~Live. Thus the easiest way to get all files needed to |
| 308 |
% typeset an article for the \LNI{} is to use the package manager of your |
| 309 |
% distribution. |
| 310 |
% |
| 311 |
% For a manual installation please call \texttt{pdflatex lni.dtx} at least |
| 312 |
% twice and |
| 313 |
% copy all resulting files (cls, tex and pdf) to your local TEXMF tree. |
| 314 |
% Don't forget to update your file name database. |
| 315 |
% |
| 316 |
% \section{Usage} |
| 317 |
% To use the predefined layout for a (German) submission to the \LNI{} just |
| 318 |
% load the class file as usual with \cs{documentclass\{lni\}}. |
| 319 |
% |
| 320 |
% The class file loads a bunch of packages which are all part of modern \TeX{} |
| 321 |
% distributions. Therefore, if you are confronted |
| 322 |
% with a missing package, please try to download and install it using your |
| 323 |
% distribution's package manager. Alternatively go to |
| 324 |
% \href{http://www.ctan.org}{CTAN} to download missing packages. |
| 325 |
% |
| 326 |
% The \lni{} class can be used with \hologo{pdfLaTeX} as well as with |
| 327 |
% \hologo{XeLaTeX} and \hologo{LuaLaTeX}. To achieve same results, the |
| 328 |
% Type1-based packages \pkg{newtxtext}, \pkg{newtxmath} and \pkg{newtxtt} |
| 329 |
% are used even for the unicode engines. |
| 330 |
% |
| 331 |
% \subsection{Options}\label{sec:options} |
| 332 |
% Although the class file includes all layout information for a submission to |
| 333 |
% the \LNI{}, there are options to adapt the output one way or another. |
| 334 |
% |
| 335 |
% \DescribeOption{english}A document loading the \lni{} class file uses German |
| 336 |
% language adoptions by default. To switch to English, just load the class with |
| 337 |
% option \opt{english}. |
| 338 |
% |
| 339 |
% The language influences not only the hyphenation patterns and terms used in |
| 340 |
% the text, but also the choice of a corresponding \BibTeX{} file |
| 341 |
% (cf.~\cref{sec:bibliography}). |
| 342 |
% |
| 343 |
% \DescribeOption{utf8 (deprecated in v1.8)}\DescribeOption{latin1 (deprecated in v1.8)}% |
| 344 |
% \DescribeOption{applemac (deprecated in v1.8)}Although |
| 345 |
% nowadays all major plattforms support and widely use UTF-8 encoding for |
| 346 |
% text files, there might be some need to change the input encoding the |
| 347 |
% \LaTeX{} document uses. |
| 348 |
% |
| 349 |
% This can be achieved by giving one of the options \opt{utf8} (which is the |
| 350 |
% default), \opt{latin1} or \opt{applemac} to the document class. Using UTF-8 |
| 351 |
% is strongly recommended. Please note, that currently the bib file is supposed |
| 352 |
% to use the same encoding. |
| 353 |
% |
| 354 |
% \DescribeOption{crop (new in v1.1)}% |
| 355 |
% Option \opt{crop} gives you some crop marks (using the package \pkg{crop}) to |
| 356 |
% better illustrate the final |
| 357 |
% result of your article. |
| 358 |
% |
| 359 |
% \DescribeOption{nocleveref}When referencing figures, one has to type |
| 360 |
% \texttt{Figure\textasciitilde}\cs{ref\marg{label}}. The package \pkg{cleveref} |
| 361 |
% reduces the effort by offering the command \cs{cref\marg{label}}. This can be |
| 362 |
% used with all floating objects. The package is loaded as default. In case it |
| 363 |
% causes issues, one can disable it using with the \opt{nocleveref} option. |
| 364 |
% |
| 365 |
% \DescribeOption{nohyperref (deprecated in v1.8)}\pkg{hyperref} is used for colored hyperlinks |
| 366 |
% within the articles. If you consider problems or just do not want that |
| 367 |
% feature, you can disable it by using the option \opt{nohyperref}. |
| 368 |
% |
| 369 |
% \DescribeOption{nofonts (deprecated in v1.4)}On old systems |
| 370 |
% you might not have installed the New TX fonts. If for whatever reason the |
| 371 |
% \opt{oldfonts} option |
| 372 |
% does not work for you, you can activate option \opt{nofonts}. This allows to |
| 373 |
% suppress font loading completely using the engines standard fonts instead. |
| 374 |
% Usually there should be no need to do so. Please note, that your output will |
| 375 |
% differ from the publishers'. |
| 376 |
% |
| 377 |
% \DescribeOption{oldfonts (deprecated in v1.8)}On older systems you might not |
| 378 |
% have installed the New TX fonts. Therefore option \opt{oldfonts} allows to |
| 379 |
% to load the package \pkg{mathptmx} instead of the New TX fonts. The output |
| 380 |
% will be in accordance to (or at least near) the publisher's requirements. |
| 381 |
% |
| 382 |
% \DescribeOption{norunningheads (deprecated in v1.8)}By default there are no more |
| 383 |
% running headers from your document. |
| 384 |
% |
| 385 |
% \DescribeOption{runningheads (new in v1.8)}Editors can turn on the running headers |
| 386 |
% using option \opt{runningheads}. |
| 387 |
% |
| 388 |
% \DescribeOption{anonymous (new in v1.8)}To easily anonymize a paper for |
| 389 |
% blind review, use this option. Then all author information will be replaced |
| 390 |
% with a placeholder. Additionally, there is a new macro \cs{anon\marg{hide in review}} |
| 391 |
% which will be replaced with ``ANONYMIZED'' if the option is set. |
| 392 |
% Also, \cs{anon\oarg{for review}\marg{for final version}} can be used that outputs ``for review'' |
| 393 |
% if the option is set, and ``for final version'' otherwise. |
| 394 |
% |
| 395 |
% \newpage |
| 396 |
% \section{Setting up a document} |
| 397 |
% You can use the file \file{lni-author-template.tex} as a starting point |
| 398 |
% for setting up a document for submission. The \lni{} class uses the standard |
| 399 |
% ways to build an article. A larger German example can be found in \file{lni-paper-example-de.tex} |
| 400 |
% |
| 401 |
% \subsection{Special meta comments}\label{sec:metadata} |
| 402 |
% There is not just one \enquote{\TeX} and one \enquote{bibliography tool}, but |
| 403 |
% many different ways to transform a .tex file into a PDF. |
| 404 |
% Some \TeX{} editors like \texttt{TeXstudio}, \texttt{TeXmaker} and |
| 405 |
% \texttt{TeXshop} support a special set of meta comments to give some |
| 406 |
% information, how to deal with a concrete document. |
| 407 |
% |
| 408 |
% A typical example looks like: |
| 409 |
% \begin{examplecode} |
| 410 |
% % !TeX program = pdflatex |
| 411 |
% % !BIB program = biber |
| 412 |
% % !TeX encoding = UTF-8 |
| 413 |
% % !TeX spellcheck = en_US |
| 414 |
% \documentclass[english]{lni} |
| 415 |
% \end{examplecode} |
| 416 |
% |
| 417 |
% \subsection{Special macros for editors} |
| 418 |
% \DescribeMacro{\startpage}\DescribeMacro{\editor}% |
| 419 |
% \DescribeMacro{\booktitle\space(changed in v1.6)}% |
| 420 |
% \DescribeMacro{\booksubtitle\space(new in v1.6)}% |
| 421 |
% \DescribeMacro{\yearofpublication\space(new in v1.7)}In addition to the macros stated in |
| 422 |
% \cref{sec:titlepage} for authors, there are special editor macros to |
| 423 |
% influence the layout of the article: |
| 424 |
% \begin{itemize} |
| 425 |
% \item\cs{startpage} determines the starting page of the article. This |
| 426 |
% should always be an odd (right) page. |
| 427 |
% \item\cs{editor} states the name of the editor(s) |
| 428 |
% \item\cs{booktitle} holds the name of a conference (optional argument for |
| 429 |
% a short title used in the running headers) |
| 430 |
% \item\cs{booksubtitle} holds an optional subtitle of a conference |
| 431 |
% \item\cs{yearofpublication} can be used to set the year of publication |
| 432 |
% \end{itemize} |
| 433 |
% |
| 434 |
% \subsection{Title page}\label{sec:titlepage} |
| 435 |
% \DescribeMacro{\title}% |
| 436 |
% \DescribeMacro{\subtitle\space(new in v1.1)}% |
| 437 |
% The title of your work is given using the \cs{title} macro. In addition to |
| 438 |
% the title itself, you can add a short title to be used |
| 439 |
% in the header of a page: |
| 440 |
% \begin{examplecode}[label={lst:title}] |
| 441 |
% \title[Short title]{Title} |
| 442 |
% \end{examplecode} |
| 443 |
% |
| 444 |
% You can also add a subtitle by \cs{subtitle\marg{subtitle}}. |
| 445 |
% |
| 446 |
% \DescribeMacro{\author}\DescribeMacro{\email}\DescribeMacro{\footnote\space(deprecated in v1.8)}% |
| 447 |
% \DescribeMacro{\and\space(deprecated in v1.8)}\DescribeMacro{\affil}% |
| 448 |
% The authors of an article are |
| 449 |
% given using an extended \cs{author} macro, which holds not only the name, but also |
| 450 |
% email adress and ORCID iD. Moreover the affiliation marker (number) is given as an optional |
| 451 |
% argument. Affiliations are added with |
| 452 |
% \cs{affil\oarg{number}\marg{information}} where you can use |
| 453 |
% \texttt{\textbackslash\textbackslash} to split the address. |
| 454 |
% \begin{examplecode}[label={lst:author}] |
| 455 |
% \author[1,2]{Firstname1 Lastname1}{[email protected]}{0000-0000-0000-0000} |
| 456 |
% \author[2]{Firstname2 Lastname2}{[email protected]}{0000-0000-0000-0000} |
| 457 |
% \author[3]{Firstname3 Lastname3}{[email protected]}{0000-0000-0000-0000} |
| 458 |
% \author[1]{Firstname4 Lastname4}{[email protected]}{0000-0000-0000-0000}% |
| 459 |
% \affil[1]{Universität 1\\Abteilung\\Straße\\Postleitzahl Ort\\Land} |
| 460 |
% \affil[2]{University 2 \\Department\\Address\\Country} |
| 461 |
% \affil[3]{University 3\\Department\\Address\\Country} |
| 462 |
% \end{examplecode} |
| 463 |
% |
| 464 |
% Leave the third and/or fourth argument empty if there is no email address and/or ORCID iD. |
| 465 |
% Finally \cs{maketitle} will output the formatted title page. |
| 466 |
% |
| 467 |
% \DescribeMacro{\lnidoi\space(new in v1.2)}% |
| 468 |
% LNI provides a DOI for each paper. In case, the DOI is known, it can be |
| 469 |
% specified using the \cs{lnidoi} macro. |
| 470 |
% \begin{examplecode}[label={lst:lnidoi}] |
| 471 |
% \lnidoi{18.18420/se2016_01} |
| 472 |
% \end{examplecode} |
| 473 |
% |
| 474 |
% Finally \cs{maketitle} will output the formatted title page. |
| 475 |
% |
| 476 |
% \subsection{Abstract and keywords} |
| 477 |
% \DescribeEnv{abstract}\DescribeEnv{keywords}% |
| 478 |
% \DescribeMacro{\and\space(new in v1.1)}% |
| 479 |
% Each article should start with a short (70 to 150 words) abstract and some |
| 480 |
% keywords. Please use the environments \env{abstract} and \env{keywords} for |
| 481 |
% that purpose: |
| 482 |
% \begin{examplecode} |
| 483 |
% \begin{abstract} |
| 484 |
% Tell the reader what your article is about |
| 485 |
% \end{abstract} |
| 486 |
% \begin{keywords} |
| 487 |
% Give some keywords to categorize your article. You can use \and between two |
| 488 |
% keywords to get the correct delimiter (comma plus space) automatically. |
| 489 |
% \end{keywords} |
| 490 |
% \end{examplecode} |
| 491 |
% |
| 492 |
% \subsection{Main text} |
| 493 |
% \subsubsection{Headings} |
| 494 |
% \DescribeMacro{\section}\DescribeMacro{\subsection}% |
| 495 |
% \DescribeMacro{\subsubsection} |
| 496 |
% You can use the standard macros \cs{section}, \cs{subsection}, \dots{} for |
| 497 |
% sectioning your text. |
| 498 |
% |
| 499 |
% \subsubsection{Footnotes} |
| 500 |
% \DescribeMacro{\footnote}% |
| 501 |
% For adding a footnote, just use \cs{footnote\marg{footnote text}} where |
| 502 |
% needed. Please note, that the footnote counter is automatically set to the |
| 503 |
% correct value at the beginning of your text, i.\,e. it respects the number |
| 504 |
% of affiliations given on the title page. |
| 505 |
% |
| 506 |
% \subsubsection{Lists} |
| 507 |
% \DescribeEnv{itemize}\DescribeEnv{enumerate}% |
| 508 |
% The \lni{} class redefines the standard lists environments \env{itemize} and |
| 509 |
% \env{enumerate} to meet the requirements of the \LNI{}. |
| 510 |
% |
| 511 |
% Lists can be filled as usual by adding \cs{item} macros. |
| 512 |
% |
| 513 |
% \subsubsection{Floating objects} |
| 514 |
% \DescribeEnv{figure}\DescribeEnv{table}% |
| 515 |
% The environments \env{figure} and \env{table} can be used the standard way to |
| 516 |
% include graphics or tables resp. |
| 517 |
% |
| 518 |
% However, please note, that the default placement parameters are changed to |
| 519 |
% \opt{htbp} by the class \lni{}. If you need some local adjustment, please use |
| 520 |
% the optional argument of both environments (cf.~Listing~\ref{lst:figure}). |
| 521 |
% |
| 522 |
% \DescribeMacro{\caption}\DescribeMacro{\label} |
| 523 |
% A caption should be added by \cs{caption\marg{caption text}}, followed |
| 524 |
% immediately by a \cs{label\marg{unique label}} entry. |
| 525 |
% \begin{examplecode}[label={lst:figure}] |
| 526 |
% \begin{figure}[tb] |
| 527 |
% \includegraphics{...} |
| 528 |
% \caption{...} |
| 529 |
% \label{...} |
| 530 |
% \end{figure} |
| 531 |
% \end{examplecode} |
| 532 |
% |
| 533 |
% If you want to center floats, please \emph{do not} use the \env{center} |
| 534 |
% environment, but the macro \cs{centering}, which does not add extra white |
| 535 |
% space (cf.~Listing~\ref{lst:table}). |
| 536 |
% \begin{examplecode}[label={lst:table}] |
| 537 |
% \begin{table} |
| 538 |
% \centering |
| 539 |
% \begin{tabular}{lll} |
| 540 |
% ... |
| 541 |
% \end{tabular} |
| 542 |
% \caption{...} |
| 543 |
% \label{...} |
| 544 |
% \end{table} |
| 545 |
% \end{examplecode} |
| 546 |
% |
| 547 |
% \subsubsection{\texorpdfstring{Listings\,/\,Source code}% |
| 548 |
% {Listings/Source code}} |
| 549 |
% The \lni{} bundle loads the \pkg{verbatim} and \pkg{listings} package. While |
| 550 |
% the former is there for compatability, the later is the standard way of |
| 551 |
% integrating source code listings into a \LaTeX{} document. |
| 552 |
% |
| 553 |
% However, there are currently no config files shipped with the \lni{} bundle. |
| 554 |
% Please consult the documentation for help on setting up \pkg{listings} for a |
| 555 |
% specific programming language. |
| 556 |
% |
| 557 |
% \subsubsection{Math} |
| 558 |
% For writing mathematics the package \pkg{amsmath} is already loaded by default. |
| 559 |
% In addtion you can load e.g. \pkg{mathtools} for |
| 560 |
% additional features. The \lni{} class offers by default the command |
| 561 |
% \cs{powerset} to render the powerset symbol correctly as $\powerset$ and not |
| 562 |
% as Weierstrass p ($\wp$). |
| 563 |
% |
| 564 |
% \subsubsection{Abbreviations and initialisms} |
| 565 |
% \DescribeMacro{\eg}\DescribeMacro{\ie}\DescribeMacro{\cf}% |
| 566 |
% \DescribeMacro{\etal}% |
| 567 |
% To achieve consistent typesetting of common abbreviations, macros are |
| 568 |
% predefined by the class. These macros should \emph{consistently} being used |
| 569 |
% instead of writing the plain version. For example use \verb|\eg| rather than |
| 570 |
% {\verb|e.g.,|}. The macros take care of spacing within and after the |
| 571 |
% abbreviations. |
| 572 |
% \begin{itemize} |
| 573 |
% \item \cs{eg} for e.\,g. |
| 574 |
% \item \cs{ie} for i.\,e. |
| 575 |
% \item \cs{cf} for cf. |
| 576 |
% \item \cs{etal} for et~al. |
| 577 |
% \end{itemize} |
| 578 |
% |
| 579 |
% \DescribeMacro{\OMG}\DescribeMacro{\BPM}\DescribeMacro{\BPMN}\DescribeMacro{\UML}% |
| 580 |
% In addition to common abbreviations, further initialisms are provided by the |
| 581 |
% class for convenience and for a consistent visual appearance. Note that the |
| 582 |
% class uses \textsc{smallcaps} for typesetting initialisms. The list of |
| 583 |
% predefined initialisms comprises: |
| 584 |
% |
| 585 |
% \begin{itemize} |
| 586 |
% \item \cs{OMG} for \textsc{omg} (Object Management Group). |
| 587 |
% \item \cs{BPM} for \textsc{bpm} (Business Process Management). |
| 588 |
% \item \cs{BPMN} for \textsc{bpmn} (Business Process Model and Notation). |
| 589 |
% \item \cs{BPEL} for \textsc{bpel} (Business Process Execution Language). |
| 590 |
% \item \cs{UML} for \textsc{uml} (Unified Modelling Language). |
| 591 |
% \end{itemize} |
| 592 |
% |
| 593 |
% \DescribeMacro{\lniinitialism} You can add your own initialisms by stating |
| 594 |
% \cs{lniinitialism\marg{\textbackslash initialism\_macro}\marg{text}} in the |
| 595 |
% preamble. |
| 596 |
% |
| 597 |
% \subsection{Bibliography}\label{sec:bibliography} |
| 598 |
% The \lni{} class uses BibLaTeX for and the |
| 599 |
% \href{https://github.com/gi-ev/biblatex-lni}{\pkg{biblatex-lni}}. |
| 600 |
% However, you have to add information on the bib |
| 601 |
% file(s) in your preamble using \cs{addbibresource\marg{Bib file(s)}} and call |
| 602 |
% \cs{printbibliography} where you want the bibliography to appear. |
| 603 |
% |
| 604 |
% Please note, that the \lni{} class sets |
| 605 |
% \texttt{biber} as the default bibliography tool. \texttt{biber} is part of |
| 606 |
% both major \TeX{} distributions and can easily be used within most \TeX{} |
| 607 |
% editors, e.\,g. by using special meta data as described in |
| 608 |
% \cref{sec:metadata}. |
| 609 |
% |
| 610 |
% If you want to pass settings to \pkg{biblatex} you can use a config |
| 611 |
% file \texttt{biblatex.cfg}, for additional options please use the macro |
| 612 |
% \cs{ExecuteBibliographyOptions}. Please consult the |
| 613 |
% \href{http://texdoc.net/pkg/biblatex}{package's documentation} for |
| 614 |
% more information. |
| 615 |
% \begin{examplecode} |
| 616 |
% % !TeX program = pdflatex |
| 617 |
% % !BIB program = biber |
| 618 |
% \documentclass{lni} |
| 619 |
% ... |
| 620 |
% \ExecuteBibliographyOptions{...} |
| 621 |
% \addbibresource{FILENAME.bib} |
| 622 |
% ... |
| 623 |
% \begin{document} |
| 624 |
% ... |
| 625 |
% \printbibliography |
| 626 |
% ... |
| 627 |
% \end{document} |
| 628 |
% \end{examplecode} |
| 629 |
% |
| 630 |
% \section{Trouble shooting} |
| 631 |
% This section lists the most common issues when using this template. For more |
| 632 |
% help, please head to |
| 633 |
% \href{https://github.com/egeerardyn/awesome-LaTeX/blob/master/README.md}% |
| 634 |
% {the awesome \LaTeX{} list}. |
| 635 |
% |
| 636 |
% \begin{itemize} |
| 637 |
% \item If the compiler error is\\ |
| 638 |
% \texttt{!pdfTeX error (font expansion): auto |
| 639 |
% expansion is only possible with scalable fonts.},\\% |
| 640 |
% then you have to install the |
| 641 |
% \pkg{cm-super} package. Afterwards, run \texttt{initexmf --mkmaps} on the |
| 642 |
% command line. A longer discussion is available at |
| 643 |
% \url{http://tex.stackexchange.com/a/324972/9075}. |
| 644 |
% \item If the compiler error is\\ |
| 645 |
% \texttt{!LaTeX Error: Command \textbackslash |
| 646 |
% openbox already defined.},\\ |
| 647 |
% insert\\ |
| 648 |
% \cs{let}\cs{openbox}\cs{relax} before \cs{usepackage\{amsthm\}}. |
| 649 |
% \item If the compiler error is\\ |
| 650 |
% \texttt{!Undefined control sequence. l.84 |
| 651 |
% \textbackslash ulp@afterend},\\ |
| 652 |
% just clean up (remove \texttt{paper.aux}) and recompile. |
| 653 |
% \end{itemize} |
| 654 |
% |
| 655 |
% \section{Bugs and feature request} |
| 656 |
% If you find a bug or have a feature request, please open an ``issue'' at the |
| 657 |
% \href{https://github.com/gi-ev/LNI/issues}{GitHub website}. |
| 658 |
% |
| 659 |
% \StopEventually{^^A |
| 660 |
% \PrintChanges |
| 661 |
% \PrintIndex |
| 662 |
% } |
| 663 |
% |
| 664 |
% \section{Implementation} |
| 665 |
% |
| 666 |
% \begin{macrocode} |
| 667 |
%<*class> |
| 668 |
% \end{macrocode} |
| 669 |
% We have to make sure, that pdf is always written (arXiv's requirements) |
| 670 |
% \begin{macrocode} |
| 671 |
\RequirePackage{iftex}\ifluatex\else\pdfoutput=1\fi% |
| 672 |
% \end{macrocode} |
| 673 |
% \begin{macrocode} |
| 674 |
\def\@clearglobaloption#1{% |
| 675 |
\def\@tempa{#1}% |
| 676 |
\def\@tempb{\@gobble}% |
| 677 |
\@for\next:=\@classoptionslist\do |
| 678 |
{\ifx\next\@tempa |
| 679 |
\message{Cleared option \next\space from global list}% |
| 680 |
\else |
| 681 |
\edef\@tempb{\@tempb,\next}% |
| 682 |
\fi}% |
| 683 |
\let\@classoptionslist\@tempb |
| 684 |
\expandafter\ifx\@tempb\@gobble |
| 685 |
\let\@classoptionslist\@empty |
| 686 |
\fi} |
| 687 |
% |
| 688 |
\DeclareOption{latin1}{% |
| 689 |
\PassOptionsToPackage{latin1}{inputenc} |
| 690 |
\ClassNoteNoLine{lni}{The option `latin1` will be removed from the class with the next major release}} |
| 691 |
\DeclareOption{utf8}{% |
| 692 |
\PassOptionsToPackage{utf8}{inputenc} |
| 693 |
\ClassNoteNoLine{lni}{The option `utf8` will be removed from the class with the next major release as it is the only valid value}} |
| 694 |
\DeclareOption{ansinew}{% |
| 695 |
\PassOptionsToPackage{ansinew}{inputenc} |
| 696 |
\ClassNoteNoLine{lni}{The option `ansinew` will be removed from the class with the next major release}} |
| 697 |
\newif\iflnienglish |
| 698 |
\lnienglishfalse |
| 699 |
\DeclareOption{english}{\lnienglishtrue\@clearglobaloption{english}} |
| 700 |
\newif\ifusehyperref |
| 701 |
\usehyperreftrue |
| 702 |
\DeclareOption{nohyperref}{% |
| 703 |
\ClassWarningNoLine{lni}{The option `nohyperref` has been deactivated and will be removed from the class with the next major release}} |
| 704 |
\newif\ifusecleveref |
| 705 |
\useclevereftrue |
| 706 |
\DeclareOption{nocleveref}{\useclevereffalse} |
| 707 |
\newif\ifcrop |
| 708 |
\cropfalse |
| 709 |
\DeclareOption{crop}{\croptrue} |
| 710 |
\newif\ifnofonts |
| 711 |
\nofontsfalse |
| 712 |
\DeclareOption{nofonts}{% |
| 713 |
\nofontstrue\autofontsfalse |
| 714 |
\ClassNoteNoLine{lni}{The option `nofonts` will be removed from the class with the next major release}} |
| 715 |
\newif\ifoldfonts |
| 716 |
\oldfontsfalse |
| 717 |
\DeclareOption{oldfonts}{% |
| 718 |
\oldfontstrue\autofontsfalse |
| 719 |
\ClassNoteNoLine{lni}{The option `oldfonts` will be removed from the class with the next major release}} |
| 720 |
\newif\ifautofonts |
| 721 |
\autofontstrue |
| 722 |
\newif\ifnorunningheads |
| 723 |
\DeclareOption{norunningheads}{% |
| 724 |
\norunningheadstrue |
| 725 |
\ClassNoteNoLine{lni}{The option `norunningheads` will be removed from the class with the next major release}} |
| 726 |
\newif\ifrunningheads |
| 727 |
\DeclareOption{runningheads}{\norunningheadsfalse} |
| 728 |
\newif\ifanonymous |
| 729 |
\anonymousfalse |
| 730 |
\DeclareOption{anonymous}{\anonymoustrue} |
| 731 |
\newcommand{\anon}[2][\iflnienglish ANONYMIZED\else ANONYMISIERT\fi]{% |
| 732 |
\ifanonymous% |
| 733 |
{\color{orange}#1}% |
| 734 |
\else% |
| 735 |
#2% |
| 736 |
\fi} |
| 737 |
\ExecuteOptions{utf8,norunningheads} |
| 738 |
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} |
| 739 |
\ProcessOptions\relax |
| 740 |
% \end{macrocode} |
| 741 |
% \changes{v1.8}{2023/11/06}{Fix option handling for \opt{fleqn}} |
| 742 |
% \begin{macrocode} |
| 743 |
\PassOptionsToPackage{fleqn}{amsmath} |
| 744 |
\LoadClass[10pt,twoside,a4paper]{article} |
| 745 |
\ifPDFTeX |
| 746 |
\RequirePackage{cmap} |
| 747 |
\RequirePackage{inputenc} |
| 748 |
\RequirePackage[T1]{fontenc} |
| 749 |
\RequirePackage[full]{textcomp} |
| 750 |
\fi% |
| 751 |
% |
| 752 |
\iflnienglish |
| 753 |
\RequirePackage[ngerman,english]{babel} |
| 754 |
\else |
| 755 |
\RequirePackage[english,ngerman]{babel} |
| 756 |
\babelprovide[hyphenrules=ngerman-x-latest]{ngerman} |
| 757 |
\ClassInfo{lni}{Using latest German hyphenation patterns}% |
| 758 |
\fi% |
| 759 |
% Hint by http://tex.stackexchange.com/a/321067/9075 -> enable "= as dashes |
| 760 |
\useshorthands*{"} |
| 761 |
\addto\extrasenglish{\languageshorthands{ngerman}} |
| 762 |
% \end{macrocode} |
| 763 |
% Define a modern variant of Times as the main font |
| 764 |
% \begin{macrocode} |
| 765 |
\ifautofonts |
| 766 |
\ClassInfo{lni}{*******************************************************} |
| 767 |
\MessageBreak |
| 768 |
\ClassInfo{lni}{Checking for fonts ...} |
| 769 |
\ClassInfo{lni}{*******************************************************} |
| 770 |
\ifPDFTeX |
| 771 |
\IfFileExists{newtxtext.sty} |
| 772 |
{% |
| 773 |
\RequirePackage[defaultsups]{newtxtext} |
| 774 |
\RequirePackage{newtxmath} |
| 775 |
\RequirePackage[zerostyle=b,scaled=.9]{newtxtt} |
| 776 |
% \end{macrocode} |
| 777 |
% For compatibility with version of \pkg{newtxtt} prior to v1.05 we set the |
| 778 |
% option \opt{straightquotes} manually for recent versions |
| 779 |
% \begin{macrocode} |
| 780 |
\@ifpackagelater{newtxtt}{2014/11/18}% |
| 781 |
{\txtt@upqtrue}% |
| 782 |
{\ClassWarning{lni}{You are using an old version of |
| 783 |
`newtxtt'.\MessageBreak |
| 784 |
Option `straightquotes' will not be used!}}% |
| 785 |
% \end{macrocode} |
| 786 |
% \begin{macrocode} |
| 787 |
}% |
| 788 |
{\IfFileExists{mathptmx.sty} |
| 789 |
{\oldfontstrue}% |
| 790 |
{\nofontstrue}% |
| 791 |
}% |
| 792 |
% \end{macrocode} |
| 793 |
% for \hologo{XeTeX} or \hologo{LuaTeX} we use \pkg{fontspec} |
| 794 |
% \begin{macrocode} |
| 795 |
\else% |
| 796 |
\IfFileExists{newtxmath.sty} |
| 797 |
{\RequirePackage{newtxmath}}% |
| 798 |
{}% |
| 799 |
\RequirePackage[no-math]{fontspec} |
| 800 |
\IfFontExistsTF{texgyretermes-regular.otf} |
| 801 |
{% |
| 802 |
\setmainfont{texgyretermes}[ |
| 803 |
Extension = .otf, |
| 804 |
UprightFont = *-regular, |
| 805 |
BoldFont = *-bold, |
| 806 |
ItalicFont = *-italic, |
| 807 |
BoldItalicFont = *-bolditalic, |
| 808 |
Ligatures=TeX |
| 809 |
] |
| 810 |
}% |
| 811 |
{\IfFileExists{mathptmx.sty} |
| 812 |
{\oldfontstrue}% |
| 813 |
{\nofontstrue}% |
| 814 |
}% |
| 815 |
\fi% |
| 816 |
\fi% |
| 817 |
\ifoldfonts |
| 818 |
\RequirePackage{mathptmx} |
| 819 |
\else% |
| 820 |
\ifnofonts % nofonts activated |
| 821 |
\ClassWarning{lni}{Option `nofonts' set! I will use standard fonts |
| 822 |
\MessageBreak |
| 823 |
instead of the New TX fonts. Your document will NOT look like the |
| 824 |
\MessageBreak |
| 825 |
final result for publication. This should only be used if you have |
| 826 |
\MessageBreak |
| 827 |
no possibility to install fonts or upgrade your TeX installation!}% |
| 828 |
\fi% |
| 829 |
\fi% |
| 830 |
% \begin{macrocode} |
| 831 |
\ifPDFTeX |
| 832 |
\RequirePackage[% |
| 833 |
final,% |
| 834 |
tracking=smallcaps,% |
| 835 |
expansion=alltext,% |
| 836 |
protrusion=alltext-nott]{microtype}% |
| 837 |
\else |
| 838 |
\RequirePackage[% |
| 839 |
final,% |
| 840 |
protrusion=alltext-nott]{microtype}% |
| 841 |
% \end{macrocode} |
| 842 |
% When using \hologo{LuaLaTeX} we can activate \pkg{selnolig} |
| 843 |
% \begin{macrocode} |
| 844 |
\ifluatex |
| 845 |
\iflnienglish |
| 846 |
\RequirePackage[english]{selnolig}% |
| 847 |
\else |
| 848 |
\RequirePackage[ngerman]{selnolig}% |
| 849 |
\fi% |
| 850 |
\fi% |
| 851 |
\fi% |
| 852 |
\SetTracking{encoding=*,shape=sc}{50}% |
| 853 |
% \end{macrocode} |
| 854 |
% Introduce \cs{powerset} - hint by \url{http://matheplanet.com/matheplanet/nuke/html/viewtopic.php?topic=136492&post_id=997377} |
| 855 |
% \begin{macrocode} |
| 856 |
\DeclareFontFamily{U}{MnSymbolC}{} |
| 857 |
\DeclareSymbolFont{MnSyC}{U}{MnSymbolC}{m}{n} |
| 858 |
\DeclareFontShape{U}{MnSymbolC}{m}{n}{ |
| 859 |
<-6> MnSymbolC5 |
| 860 |
<6-7> MnSymbolC6 |
| 861 |
<7-8> MnSymbolC7 |
| 862 |
<8-9> MnSymbolC8 |
| 863 |
<9-10> MnSymbolC9 |
| 864 |
<10-12> MnSymbolC10 |
| 865 |
<12-> MnSymbolC12% |
| 866 |
}{} |
| 867 |
\DeclareMathSymbol{\powerset}{\mathord}{MnSyC}{180} |
| 868 |
% \end{macrocode} |
| 869 |
% \changes{v1.8}{2023/11/06}{Remove support for ccicons} |
| 870 |
% \begin{macrocode} |
| 871 |
% Support for \cs{ifdefempty} |
| 872 |
\RequirePackage{etoolbox} |
| 873 |
% \end{macrocode} |
| 874 |
% \begin{macrocode} |
| 875 |
\newlength{\doihoffset} |
| 876 |
\newlength{\doivoffset} |
| 877 |
\ifcrop |
| 878 |
\RequirePackage[ |
| 879 |
paperheight=23.5cm,paperwidth=15.5cm, |
| 880 |
total={12.6cm,19.2cm}, |
| 881 |
includehead, |
| 882 |
headheight=20.39pt, |
| 883 |
headsep=.31cm, |
| 884 |
centering, |
| 885 |
driver=none] |
| 886 |
{geometry} |
| 887 |
\RequirePackage[a4,center,cam,info]{crop} |
| 888 |
\renewcommand*\CROP@@info{{% |
| 889 |
\global\advance\CROP@index\@ne |
| 890 |
\def\x{\discretionary{}{}{\hbox{\kern.5em---\kern.5em}}}% |
| 891 |
\advance\paperwidth-20\p@ |
| 892 |
\dimen@4pt |
| 893 |
\ifx\CROP@pagecolor\@empty |
| 894 |
\else |
| 895 |
\advance\dimen@\CROP@overlap |
| 896 |
\fi |
| 897 |
\hb@xt@\z@{% |
| 898 |
\hss |
| 899 |
\vbox to\z@{% |
| 900 |
\centering |
| 901 |
\hsize\paperwidth |
| 902 |
\vss |
| 903 |
\normalfont |
| 904 |
\normalsize |
| 905 |
\expandafter\csname\CROP@font\endcsname{% |
| 906 |
``\jobname''\x |
| 907 |
\the\year/\the\month/\the\day\x |
| 908 |
\CROP@time\x |
| 909 |
page\kern.5em\thepage\x |
| 910 |
\#\the\CROP@index |
| 911 |
\strut |
| 912 |
}% |
| 913 |
\vskip\dimen@ |
| 914 |
}% |
| 915 |
\hss |
| 916 |
}% |
| 917 |
}}% |
| 918 |
\setlength{\doihoffset}{1.45cm} |
| 919 |
\setlength{\doivoffset}{1.2cm} |
| 920 |
\else |
| 921 |
\RequirePackage[ |
| 922 |
total={12.6cm,19.2cm}, |
| 923 |
includehead, |
| 924 |
headheight=20.39pt, |
| 925 |
headsep=.31cm, |
| 926 |
centering] |
| 927 |
{geometry} |
| 928 |
\setlength{\doihoffset}{4.2cm} |
| 929 |
\setlength{\doivoffset}{4.3cm} |
| 930 |
\fi% |
| 931 |
% \end{macrocode} |
| 932 |
% We change \cs{small} and \cs{Large} to get the correct baseline skips and add |
| 933 |
% an \cs{oldsmall} |
| 934 |
% \begin{macrocode} |
| 935 |
\let\oldsmall\small% |
| 936 |
\renewcommand\small{% |
| 937 |
\@setfontsize\small\@ixpt{10}% |
| 938 |
\abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@ |
| 939 |
\abovedisplayshortskip \z@ \@plus2\p@ |
| 940 |
\belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@ |
| 941 |
\def\@listi{\leftmargin\leftmargini |
| 942 |
\topsep 4\p@ \@plus2\p@ \@minus2\p@ |
| 943 |
\parsep 2\p@ \@plus\p@ \@minus\p@ |
| 944 |
\itemsep \parsep}% |
| 945 |
\belowdisplayskip \abovedisplayskip |
| 946 |
} |
| 947 |
\renewcommand\Large{\@setfontsize\Large{14}{17}} |
| 948 |
% \end{macrocode} |
| 949 |
% \begin{macrocode} |
| 950 |
\RequirePackage[autostyle]{csquotes} |
| 951 |
\RequirePackage[% |
| 952 |
backend=biber,% UTF-8 support |
| 953 |
date=year, |
| 954 |
style=LNI, % The GI style - see https://www.ctan.org/pkg/biblatex-lni |
| 955 |
natbib=true % Required for \Citet |
| 956 |
]{biblatex}[2016-09-15]% at least version 3.6 of biblatex is required. |
| 957 |
% \end{macrocode} |
| 958 |
% \begin{macro}{\citeauthor} |
| 959 |
% \begin{macrocode} |
| 960 |
% Enable hyperlinked authors when using \citeauthor |
| 961 |
% Source: http://tex.stackexchange.com/a/75916/9075 |
| 962 |
\DeclareCiteCommand{\citeauthor}% |
| 963 |
{\boolfalse{citetracker}% |
| 964 |
\boolfalse{pagetracker}% |
| 965 |
\usebibmacro{prenote}}% |
| 966 |
{\ifciteindex% |
| 967 |
{\indexnames{labelname}}% |
| 968 |
{}% |
| 969 |
\printtext[bibhyperref]{\printnames{labelname}}}% |
| 970 |
{\multicitedelim}% |
| 971 |
{\usebibmacro{postnote}}% |
| 972 |
% \end{macrocode} |
| 973 |
% \end{macro} |
| 974 |
% \changes{v1.8}{2023/11/06}{Load \pkg{amsmath} explicitly by default (was implicitly done before)} |
| 975 |
% \begin{macrocode} |
| 976 |
\RequirePackage{amsmath} |
| 977 |
\RequirePackage{etoolbox} |
| 978 |
\RequirePackage{graphicx} |
| 979 |
\RequirePackage{eso-pic} |
| 980 |
\RequirePackage{grffile} |
| 981 |
\RequirePackage{fancyhdr} |
| 982 |
\RequirePackage{listings} |
| 983 |
\RequirePackage{enumitem} |
| 984 |
\RequirePackage[hang]{footmisc} |
| 985 |
\setlength{\footnotemargin}{1em} |
| 986 |
\long\def\@makefntext#1{% |
| 987 |
\def\@makefnmark{\rlap{\normalfont\textsuperscript{\@thefnmark}}}% |
| 988 |
\ifFN@hangfoot |
| 989 |
\bgroup |
| 990 |
\setbox\@tempboxa\hbox{% |
| 991 |
\ifdim\footnotemargin>0pt |
| 992 |
\hb@xt@\footnotemargin{\@makefnmark\hss}% |
| 993 |
\else |
| 994 |
\@makefnmark |
| 995 |
\fi |
| 996 |
}% |
| 997 |
\leftmargin\wd\@tempboxa |
| 998 |
\rightmargin\z@ |
| 999 |
\linewidth \columnwidth |
| 1000 |
\advance \linewidth -\leftmargin |
| 1001 |
\parshape \@ne \leftmargin \linewidth |
| 1002 |
\@totalleftmargin \leftmargin |
| 1003 |
\footnotesize |
| 1004 |
\@setpar{{\@@par}}% |
| 1005 |
\leavevmode |
| 1006 |
\llap{\box\@tempboxa}% |
| 1007 |
\parskip\hangfootparskip\relax |
| 1008 |
\parindent\hangfootparindent\relax |
| 1009 |
\else |
| 1010 |
\parindent1em |
| 1011 |
\noindent |
| 1012 |
\ifdim\footnotemargin>\z@ |
| 1013 |
\hb@xt@ \footnotemargin{\hss\@makefnmark}% |
| 1014 |
\else |
| 1015 |
\ifdim\footnotemargin=\z@ |
| 1016 |
\llap{\@makefnmark}% |
| 1017 |
\else |
| 1018 |
\llap{\hb@xt@ -\footnotemargin{\@makefnmark\hss}}% |
| 1019 |
\fi |
| 1020 |
\fi |
| 1021 |
\fi |
| 1022 |
\footnotelayout#1% |
| 1023 |
\ifFN@hangfoot |
| 1024 |
\par\egroup |
| 1025 |
\fi |
| 1026 |
} |
| 1027 |
% \end{macrocode} |
| 1028 |
% We fix the basewidth for lstlistings: |
| 1029 |
% The default setting of listings with ``fixed columns'' has a space 0.6em |
| 1030 |
% wide, while the characters in TX Typewriter (as in Computer Modern |
| 1031 |
% Typewriter) are 0.5em wide. |
| 1032 |
% Source: https://tex.stackexchange.com/a/179072/9075 |
| 1033 |
% \begin{macrocode} |
| 1034 |
\lstset{% |
| 1035 |
basicstyle=\ttfamily,% |
| 1036 |
columns=fixed,% |
| 1037 |
basewidth=.5em,% |
| 1038 |
xleftmargin=0.5cm,% |
| 1039 |
captionpos=b,% |
| 1040 |
upquote}% |
| 1041 |
% \end{macrocode} |
| 1042 |
% Ragged bottom -- verhindert die Ausdehnung der Seite = Veränderung der |
| 1043 |
% Abstände |
| 1044 |
% \begin{macrocode} |
| 1045 |
\def\thisbottomragged{\def\@textbottom{\vskip\z@ plus.0001fil |
| 1046 |
\global\let\@textbottom\relax}} |
| 1047 |
% \end{macrocode} |
| 1048 |
% Seitenzahlen -- Größe der Box |
| 1049 |
% \begin{macrocode} |
| 1050 |
\renewcommand\@pnumwidth{3em} |
| 1051 |
\renewcommand\@tocrmarg{3.5em} |
| 1052 |
\def\@dottedtocline#1#2#3#4#5{% |
| 1053 |
\ifnum #1>\c@tocdepth \else |
| 1054 |
\vskip \z@ \@plus.2\p@ |
| 1055 |
{\leftskip #2\relax \rightskip \@tocrmarg \advance\rightskip by 0pt plus 2cm |
| 1056 |
\parfillskip -\rightskip \pretolerance=10000 |
| 1057 |
\parindent #2\relax\@afterindenttrue |
| 1058 |
\interlinepenalty\@M |
| 1059 |
\leavevmode |
| 1060 |
\@tempdima #3\relax |
| 1061 |
\advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip |
| 1062 |
{#4}\nobreak |
| 1063 |
\leaders\hbox{$\m@th |
| 1064 |
\mkern \@dotsep mu\hbox{.}\mkern \@dotsep |
| 1065 |
mu$}\hfill |
| 1066 |
\nobreak |
| 1067 |
\hb@xt@\@pnumwidth{\hfil\normalfont \normalcolor #5}% |
| 1068 |
\par}% |
| 1069 |
\fi} |
| 1070 |
% \end{macrocode} |
| 1071 |
% \begin{macro}{\title} |
| 1072 |
% \begin{macrocode} |
| 1073 |
\renewcommand{\title}{\@dblarg\@@title} |
| 1074 |
\def\@@title[#1]#2{% |
| 1075 |
\gdef\@shorttitle{#1}\gdef\@title{#2}} |
| 1076 |
% \end{macrocode} |
| 1077 |
% \end{macro} |
| 1078 |
% \begin{macro}{\subtitle} |
| 1079 |
% \begin{macrocode} |
| 1080 |
\newcommand{\subtitle}[1]{\gdef\@subtitle{#1}} |
| 1081 |
% \end{macrocode} |
| 1082 |
% \end{macro} |
| 1083 |
% \begin{macro}{\author} |
| 1084 |
% \begin{macrocode} |
| 1085 |
\RequirePackage{authblk} |
| 1086 |
\newcommand{\@authlisthead}{} |
| 1087 |
\newtoks\@temptokenb |
| 1088 |
\newtoks\@temptokenc |
| 1089 |
\renewcommand\Authsep{, } |
| 1090 |
\renewcommand\Authands{\iflanguage{ngerman}{ und }{, and }} |
| 1091 |
\renewcommand\Authand{\iflanguage{ngerman}{ und }{ and }} |
| 1092 |
\NewDocumentCommand{\multiaffil}{ >{\SplitList{,}} m m m}{% |
| 1093 |
\gdef\@currEmail{#2} |
| 1094 |
\gdef\@currOrcid{#3} |
| 1095 |
\ProcessList{#1}{\@multiaffil} |
| 1096 |
} |
| 1097 |
|
| 1098 |
\newcommand{\@multiaffil}[1]{% |
| 1099 |
\ifcsundef{@emailsandorcids#1}{\csgdef{@emailsandorcids#1}{}}{}% |
| 1100 |
\ifcsempty{@emailsandorcids#1}% |
| 1101 |
{\protected@csxappto{@emailsandorcids#1}{% |
| 1102 |
\if\relax\@currEmail\relax\else\email{\@currEmail}\fi\if\relax\@currOrcid\relax\else,\ \orcid{\@currOrcid}\fi}}% |
| 1103 |
{\protected@csxappto{@emailsandorcids#1}{% |
| 1104 |
\if\relax\@currEmail\relax\else;\ \email{\@currEmail}\fi\if\relax\@currOrcid\relax\else,\ \orcid{\@currOrcid}\fi}}% |
| 1105 |
} |
| 1106 |
|
| 1107 |
\renewcommand\author[4][]{% |
| 1108 |
\ifnewaffil\addtocounter{affil}{1}% |
| 1109 |
\edef\AB@thenote{\arabic{affil}}% |
| 1110 |
\fi% |
| 1111 |
\if\relax#1\relax\def\AB@note{\AB@thenote}\else\def\AB@note{#1}% |
| 1112 |
\setcounter{Maxaffil}{0}\fi |
| 1113 |
\ifnum\value{authors}=0\def\@firstauthor{#2}\fi |
| 1114 |
\ifnum\value{authors}>1\relax |
| 1115 |
\@namedef{@sep\number\c@authors}{\Authsep}\fi |
| 1116 |
\addtocounter{authors}{1}% |
| 1117 |
\begingroup |
| 1118 |
\let\protect\@unexpandable@protect \let\and\AB@pand |
| 1119 |
\def\thanks{\protect\thanks}\def\footnote{\protect\footnote}% |
| 1120 |
\@temptokena=\expandafter{\AB@authors}% |
| 1121 |
\@temptokenb=\expandafter{\AB@authors}% |
| 1122 |
{\def\\{\protect\\[\@affilsep]\protect\Affilfont |
| 1123 |
\protect\AB@resetsep}% |
| 1124 |
\xdef\AB@author{\AB@blk@and#2}% |
| 1125 |
\ifnewaffil\gdef\AB@las{}\gdef\AB@lasx{\protect\Authand}\gdef\AB@as{}% |
| 1126 |
\xdef\AB@authors{\the\@temptokena\AB@blk@and}% |
| 1127 |
\else |
| 1128 |
\xdef\AB@authors{\the\@temptokena\AB@as\AB@au@str}% |
| 1129 |
\global\let\AB@las\AB@lasx\gdef\AB@lasx{\protect\Authands}% |
| 1130 |
\gdef\AB@as{\Authsep}% |
| 1131 |
\fi |
| 1132 |
\gdef\AB@au@str{#2}}% |
| 1133 |
\@temptokena=\expandafter{\AB@authlist}% |
| 1134 |
\@temptokenb=\expandafter{\@authlisthead}% |
| 1135 |
\let\\=\authorcr |
| 1136 |
\xdef\AB@authlist{\the\@temptokena |
| 1137 |
\protect\@nameuse{@sep\number\c@authors}% |
| 1138 |
\protect\Authfont#2\if\relax#4\relax\else\,\orcidlink{#4}\fi\AB@authnote{\AB@note}}% |
| 1139 |
\xdef\@authlisthead{\the\@temptokenb |
| 1140 |
\protect\@nameuse{@sep\number\c@authors}% |
| 1141 |
\protect\Authfont#2}% |
| 1142 |
\endgroup |
| 1143 |
\ifnum\value{authors}>2\relax |
| 1144 |
\@namedef{@sep\number\c@authors}{\Authands}\fi |
| 1145 |
\ifcsundef{@emailsandorcids\AB@note}{\csgdef{@emailsandorcids\AB@note}{}}{}% |
| 1146 |
\sbox\z@{\@tempcnta=0#1\relax}% |
| 1147 |
\expandafter\ifdim\wd\z@>\z@\relax |
| 1148 |
\multiaffil{#1}{#3}{#4} |
| 1149 |
\else |
| 1150 |
\ifcsundef{@emailsandorcids\AB@note}{\csgdef{@emailsandorcids\AB@note}{}}{}% |
| 1151 |
\ifcsempty{@emailsandorcids\AB@note}% |
| 1152 |
{\csgappto{@emailsandorcids\AB@note}{% |
| 1153 |
\if\relax#3\relax\else\email{#3}\fi\if\relax#4\relax\else,\ \orcid{#4}\fi}}% |
| 1154 |
{\csgappto{@emailsandorcids\AB@note}{% |
| 1155 |
\if\relax#3\relax\else;\ \email{#3}\fi\if\relax#4\relax\else,\ \orcid{#4}\fi}}% |
| 1156 |
\fi% |
| 1157 |
\newaffilfalse |
| 1158 |
} |
| 1159 |
\renewcommand\@author{% |
| 1160 |
\ifx\AB@affillist\AB@empty\AB@author\else |
| 1161 |
\ifnum\value{affil}>\value{Maxaffil}\def\rlap##1{##1}% |
| 1162 |
\AB@authlist\AB@affillist |
| 1163 |
\else\AB@authors% |
| 1164 |
\fi% |
| 1165 |
\fi% |
| 1166 |
} |
| 1167 |
\renewcommand\affil[2][]{% |
| 1168 |
\newaffiltrue\let\AB@blk@and\AB@pand |
| 1169 |
\if\relax#1\relax\def\AB@note{\AB@thenote}\else\def\AB@note{#1}% |
| 1170 |
\setcounter{Maxaffil}{0}\fi% |
| 1171 |
\begingroup |
| 1172 |
\let\protect\@unexpandable@protect |
| 1173 |
\def\thanks{\protect\thanks}\def\footnotetext{\protect\footnotetext}% |
| 1174 |
\@temptokena=\expandafter{\AB@authors}% |
| 1175 |
{\def\\{\protect\\\protect\Affilfont}\xdef\AB@temp{#2}}% |
| 1176 |
\xdef\AB@authors{\the\@temptokena\AB@las\AB@au@str |
| 1177 |
\protect\\[\affilsep]\protect\Affilfont\AB@temp}% |
| 1178 |
\gdef\AB@las{}\gdef\AB@au@str{}% |
| 1179 |
{\def\\{, \ignorespaces}\xdef\AB@temp{#2}}% |
| 1180 |
\@temptokena=\expandafter{\AB@affillist}% |
| 1181 |
\xdef\AB@affillist{\the\@temptokena |
| 1182 |
\footnotetext[\AB@note]{% |
| 1183 |
\raggedright\AB@temp\ifcsempty{@emailsandorcids\AB@note}{}{, \csuse{@emailsandorcids\AB@note}}}% |
| 1184 |
} |
| 1185 |
\endgroup |
| 1186 |
\setcounter{footnote}{#1} |
| 1187 |
} |
| 1188 |
% \end{macrocode} |
| 1189 |
% \end{macro} |
| 1190 |
% \begin{macro}{\authorrunning} |
| 1191 |
% \begin{macrocode} |
| 1192 |
\newcommand{\authorrunning}[1]{% |
| 1193 |
\fancyhead[LE]{\hspace{0.05cm}\oldsmall\thepage\hspace{5pt}\ifanonymous\iflnienglish Anonymized for review\else Anonymisiert für Review\fi\else#1\fi}} |
| 1194 |
% \end{macrocode} |
| 1195 |
% \end{macro} |
| 1196 |
% \begin{macro}{\email} |
| 1197 |
% \begin{macrocode} |
| 1198 |
\newcommand*{\email}[1]{\href{mailto:#1}{\urlstyle{same}\protect\nolinkurl{#1}}} |
| 1199 |
% \end{macrocode} |
| 1200 |
% \end{macro} |
| 1201 |
% \begin{macro}{\orcid} |
| 1202 |
% \begin{macrocode} |
| 1203 |
\newcommand*{\orcid}[1]{% |
| 1204 |
\unskip~\orcidlink{#1}\,\href{https://orcid.org/#1}{https://orcid.org/#1}}% |
| 1205 |
% \end{macrocode} |
| 1206 |
% \end{macro} |
| 1207 |
% \begin{macro}{\lnidoi} |
| 1208 |
% \begin{macrocode} |
| 1209 |
\newcommand{\@lnidoi}{} |
| 1210 |
\newcommand{\lnidoi}{% |
| 1211 |
\begingroup\catcode`\_12 \lnidoi@i} |
| 1212 |
\newcommand{\lnidoi@i}[1]{% |
| 1213 |
\gdef\@lnidoi{#1}\endgroup} |
| 1214 |
% \end{macrocode} |
| 1215 |
% \end{macro} |
| 1216 |
% \begin{macrocode} |
| 1217 |
\renewcommand\maketitle{\par% |
| 1218 |
\begingroup |
| 1219 |
\renewcommand\thefootnote{\@arabic\c@footnote}% |
| 1220 |
\if@twocolumn |
| 1221 |
\ifnum \col@number=\@ne |
| 1222 |
\@maketitle |
| 1223 |
\else |
| 1224 |
\twocolumn[\@maketitle]% |
| 1225 |
\fi% |
| 1226 |
\else |
| 1227 |
\newpage |
| 1228 |
\global\@topnum\z@% Prevents figures from going at top of page. |
| 1229 |
\@maketitle |
| 1230 |
\fi% |
| 1231 |
\ifnorunningheads |
| 1232 |
\thispagestyle{empty} |
| 1233 |
\else |
| 1234 |
\thispagestyle{plain} |
| 1235 |
\fi% |
| 1236 |
\@thanks |
| 1237 |
\endgroup |
| 1238 |
\HyXeTeX@CheckUnicode |
| 1239 |
\HyPsd@PrerenderUnicode{\@authlisthead}% |
| 1240 |
\ifanonymous\else\pdfstringdef\@pdfauthor{\@authlisthead}\fi% |
| 1241 |
\HyXeTeX@CheckUnicode |
| 1242 |
\HyPsd@PrerenderUnicode{\@title}% |
| 1243 |
\pdfstringdef\@pdftitle{\@title}% |
| 1244 |
\global\let\thanks\relax |
| 1245 |
\global\let\maketitle\relax |
| 1246 |
\global\let\@maketitle\relax |
| 1247 |
\global\let\@thanks\@empty |
| 1248 |
\global\let\@author\@empty |
| 1249 |
\global\let\@date\@empty |
| 1250 |
\global\let\@title\@empty |
| 1251 |
\global\let\@subtitle\@empty |
| 1252 |
\global\let\title\relax |
| 1253 |
\global\let\author\relax |
| 1254 |
\global\let\date\relax |
| 1255 |
\global\let\and\relax |
| 1256 |
} |
| 1257 |
% \end{macrocode} |
| 1258 |
% \begin{macrocode} |
| 1259 |
\def\@maketitle{% |
| 1260 |
\newpage |
| 1261 |
\null |
| 1262 |
\begin{center}% |
| 1263 |
\vskip -27pt% Abstand vor dem Titel |
| 1264 |
\raggedright% Linksbündig |
| 1265 |
\let\footnote\thanks |
| 1266 |
{\Large\bfseries\@title\par}% |
| 1267 |
\ifx\@subtitle\empty\vskip 9pt\else % Abstand nach dem Titel |
| 1268 |
\ifx\@subtitle\undefined\vskip 9pt\else |
| 1269 |
\vskip 9pt |
| 1270 |
{\normalsize\bfseries\@subtitle}% |
| 1271 |
\vskip 15pt% Abstand nach dem Titel |
| 1272 |
\fi% |
| 1273 |
\fi% |
| 1274 |
{\normalsize% |
| 1275 |
\lineskip .5em% |
| 1276 |
\ifanonymous |
| 1277 |
\iflnienglish |
| 1278 |
Anonymized for review\footnote{placeholder for contact information} |
| 1279 |
\else |
| 1280 |
Anonymisiert für Review\footnote{Platzhalter für Kontaktinformationen} |
| 1281 |
\fi% |
| 1282 |
\else |
| 1283 |
\@author |
| 1284 |
\fi% |
| 1285 |
\par}% |
| 1286 |
\vskip 21pt% Abstand vor dem Abstract |
| 1287 |
\end{center}% |
| 1288 |
% output DOI (if it exists) |
| 1289 |
\AddToShipoutPictureBG*{\AtPageLowerLeft{% |
| 1290 |
\put(\LenToUnit{\the\doihoffset},\LenToUnit{\the\doivoffset}){% |
| 1291 |
\ifanonymous |
| 1292 |
\else |
| 1293 |
\ifdefempty{\@lnidoi}% |
| 1294 |
{}% |
| 1295 |
{\footnotesize\href{https://doi.org/\@lnidoi}{doi:\@lnidoi}} |
| 1296 |
\fi% |
| 1297 |
}% |
| 1298 |
}}% |
| 1299 |
\par |
| 1300 |
}% |
| 1301 |
% \end{macrocode} |
| 1302 |
% \begin{environment}{abstract} |
| 1303 |
% \begin{macrocode} |
| 1304 |
\renewenvironment*{abstract}{% |
| 1305 |
\renewcommand{\abstractname}{Abstract}% |
| 1306 |
\small\noindent\ignorespaces{\bfseries\abstractname:\ }% |
| 1307 |
}{\endquotation} |
| 1308 |
% \end{macrocode} |
| 1309 |
% \end{environment} |
| 1310 |
% \changes{v1.8}{2023/11/06}{Change delimiter to comma} |
| 1311 |
% \begin{environment}{keywords} |
| 1312 |
% \begin{macrocode} |
| 1313 |
\newif\ifkeywords |
| 1314 |
\newenvironment{keywords}% |
| 1315 |
{\global\keywordstrue\small% |
| 1316 |
\def\and{\unskip,\space}% |
| 1317 |
\vskip -2pt\noindent\ignorespaces{\bfseries Keywords:\ }}% |
| 1318 |
{\global\keywordsfalse} |
| 1319 |
\let\@RIGsection\section |
| 1320 |
\pretocmd\@startsection{% |
| 1321 |
\ifkeywords\ClassError{lni}% |
| 1322 |
{keywords is an environment, not a macro}% |
| 1323 |
{Please change \string\keywords\space to an environment}% |
| 1324 |
\keywordsfalse% |
| 1325 |
\fi% |
| 1326 |
}{}{} |
| 1327 |
% \end{macrocode} |
| 1328 |
% \end{environment} |
| 1329 |
% Section headings |
| 1330 |
% \begin{macrocode} |
| 1331 |
\renewcommand{\section}{\@startsection{section}{1}{\z@}% |
| 1332 |
{-16\p@ \@plus -4\p@ \@minus -4\p@}{5\p@ \@plus 4\p@ \@minus |
| 1333 |
4\p@}{\large\bfseries}} |
| 1334 |
\renewcommand{\subsection}{\@startsection{subsection}{2}{\z@}% |
| 1335 |
{-16\p@ \@plus -4\p@ \@minus -4\p@}{8\p@ \@plus 4\p@ \@minus |
| 1336 |
4\p@}{\normalsize\bfseries}} |
| 1337 |
% \end{macrocode} |
| 1338 |
% Bildunterschriften |
| 1339 |
% \begin{macrocode} |
| 1340 |
\RequirePackage{caption} |
| 1341 |
\DeclareCaptionFont{oldsmall}{\oldsmall} |
| 1342 |
\captionsetup[figure]{style=base,skip=4pt,font=oldsmall} |
| 1343 |
\captionsetup[table]{style=base,skip=6pt,font=oldsmall} |
| 1344 |
\captionsetup[lstlisting]{style=base,skip=6pt,font=small} |
| 1345 |
\setlength{\intextsep}{6pt}%Abstand nach der Grafik |
| 1346 |
% \end{macrocode} |
| 1347 |
% Take care of floats |
| 1348 |
% \begin{macrocode} |
| 1349 |
\def\fps@figure{htbp} |
| 1350 |
\def\fnum@figure{\figurename~\thefigure} |
| 1351 |
\def\@floatboxreset{% |
| 1352 |
\reset@font |
| 1353 |
\small |
| 1354 |
\@setnobreak |
| 1355 |
\@setminipage |
| 1356 |
}% |
| 1357 |
\setcounter{topnumber}{10}% maximale Anzahl gleitender Objekte am Seitenanfang |
| 1358 |
\setcounter{bottomnumber}{10}% maximale Anzahl gleitender Objekte am Seitenende |
| 1359 |
\renewcommand{\topfraction}{1.0}% Anteil den gleitende Objekte am Seitenanfang einnehmen dürfen |
| 1360 |
\renewcommand{\bottomfraction}{1.0}% Anteil den gleitende Objekte am Seitenende einnehmen dürfen |
| 1361 |
% \end{macrocode} |
| 1362 |
% Tables |
| 1363 |
% \begin{macrocode} |
| 1364 |
\def\fps@table{htbp} |
| 1365 |
\def\fnum@table{\tablename~\thetable} |
| 1366 |
\renewcommand{\arraystretch}{1.1} |
| 1367 |
% \end{macrocode} |
| 1368 |
% Indention for equations with fleqn option |
| 1369 |
% \begin{macrocode} |
| 1370 |
\setlength{\mathindent}{0.5cm} |
| 1371 |
% \end{macrocode} |
| 1372 |
% Indention for verbatim listings |
| 1373 |
% \begin{macrocode} |
| 1374 |
\RequirePackage{verbatim} |
| 1375 |
\def\verbatim@processline{\hskip0.5cm\the\verbatim@line\par} |
| 1376 |
% \end{macrocode} |
| 1377 |
% \begin{macrocode} |
| 1378 |
\robustify{\footnote} |
| 1379 |
% \end{macrocode} |
| 1380 |
% Set rule width und correct size |
| 1381 |
% \begin{macrocode} |
| 1382 |
\renewcommand\footnoterule{% |
| 1383 |
\vfill\kern-3\p@ |
| 1384 |
\hrule\@width 5cm |
| 1385 |
\kern2.6\p@} |
| 1386 |
% \end{macrocode} |
| 1387 |
% \begin{macrocode} |
| 1388 |
\setlength{\parindent}{0pt} |
| 1389 |
\setlength{\parskip}{8pt} |
| 1390 |
% \end{macrocode} |
| 1391 |
% Set symbols and spacings for itemize |
| 1392 |
% \begin{macrocode} |
| 1393 |
\setlist{topsep=0pt,itemsep=7pt,parsep=-2pt,leftmargin=*} |
| 1394 |
\setlist[itemize]{labelsep=0.70cm}%Abstand zur Aufzählungsnummer |
| 1395 |
\setlist[itemize,1]{label=$\bullet$} |
| 1396 |
\setlist[itemize,2]{topsep=9pt} |
| 1397 |
% \end{macrocode} |
| 1398 |
% and numbered lists |
| 1399 |
% \begin{macrocode} |
| 1400 |
\setlist[enumerate]{labelsep=0.60cm}%Einrückung des Aufzählungszeichens |
| 1401 |
\setlist[enumerate,2]{label=\alph*),topsep=9pt} |
| 1402 |
% \end{macrocode} |
| 1403 |
% \begin{macro}{\andname} |
| 1404 |
% \begin{macrocode} |
| 1405 |
\newcommand{\andname}{} |
| 1406 |
% \end{macrocode} |
| 1407 |
% \end{macro} |
| 1408 |
% \begin{macrocode} |
| 1409 |
\addto\captionsngerman{% |
| 1410 |
\renewcommand{\andname}{und}% |
| 1411 |
\renewcommand{\figurename}{Abb.}% |
| 1412 |
\renewcommand{\tablename}{Tab.}% |
| 1413 |
\renewcommand{\lstlistingname}{List.}% |
| 1414 |
\renewcommand{\refname}{Literaturverzeichnis}% |
| 1415 |
}% |
| 1416 |
% \end{macrocode} |
| 1417 |
% \begin{macrocode} |
| 1418 |
\addto\captionsenglish{% |
| 1419 |
\renewcommand{\andname}{and}% |
| 1420 |
\renewcommand{\figurename}{Fig.}% |
| 1421 |
\renewcommand{\tablename}{Tab.}% |
| 1422 |
\renewcommand{\lstlistingname}{List.}% |
| 1423 |
\renewcommand{\refname}{Bibliography}% |
| 1424 |
}% |
| 1425 |
% \end{macrocode} |
| 1426 |
% \begin{macro}{\startpage} |
| 1427 |
% \begin{macrocode} |
| 1428 |
\newcommand*{\startpage}[1]{\setcounter{page}{#1}} |
| 1429 |
% \end{macrocode} |
| 1430 |
% \end{macro} |
| 1431 |
% \begin{macro}{\booktitle} |
| 1432 |
% \begin{macrocode} |
| 1433 |
\def\@bookshorttitle{} |
| 1434 |
\newcommand{\booktitle}{\@dblarg\@@booktitle} |
| 1435 |
\def\@@booktitle[#1]#2{\gdef\@bookshorttitle{#1}\gdef\@booktitle{#2}} |
| 1436 |
% \end{macrocode} |
| 1437 |
% \end{macro} |
| 1438 |
% \begin{macro}{\booksubtitle} |
| 1439 |
\newcommand{\booksubtitle}[1]{\gdef\@booksubtitle{#1}} |
| 1440 |
% \end{macro} |
| 1441 |
% \begin{macro}{\editor} |
| 1442 |
% \begin{macrocode} |
| 1443 |
\newcommand*{\@editor}{} |
| 1444 |
\newcommand*{\editor}[1]{\renewcommand{\@editor}{#1}} |
| 1445 |
% \end{macrocode} |
| 1446 |
% \end{macro} |
| 1447 |
% \begin{macrocode} |
| 1448 |
\newcommand*{\@yearofpublication}{\the\year} |
| 1449 |
\newcommand*{\yearofpublication}[1]{\renewcommand*{\@yearofpublication}{#1}} |
| 1450 |
% \end{macrocode} |
| 1451 |
% set-up for header and footer |
| 1452 |
% \begin{macrocode} |
| 1453 |
\fancypagestyle{plain}{% |
| 1454 |
\fancyhead{} % Löscht alle Kopfzeileneinstellungen |
| 1455 |
\fancyhead[RO]{% |
| 1456 |
\small\@editor~(Hrsg.):\ |
| 1457 |
\ifdefempty{\@bookshorttitle}% |
| 1458 |
{}% |
| 1459 |
{\@bookshorttitle,\hspace{1sp}}% |
| 1460 |
\null\linebreak% |
| 1461 |
Lecture Notes in Informatics (LNI), Gesellschaft für Informatik, |
| 1462 |
Bonn~\@yearofpublication% |
| 1463 |
\hspace{5pt}\thepage\hspace{0.05cm}% |
| 1464 |
}% |
| 1465 |
\fancyhead[LE]{% |
| 1466 |
\small\@editor~(Hrsg.):\ |
| 1467 |
\ifdefempty{\@bookshorttitle}% |
| 1468 |
{}% |
| 1469 |
{\@bookshorttitle,\hspace{1sp}}% |
| 1470 |
\linebreak\hspace{0.05cm}\thepage\hspace{5pt} Lecture Notes |
| 1471 |
in Informatics (LNI), Gesellschaft für Informatik, |
| 1472 |
Bonn~\@yearofpublication% |
| 1473 |
}% |
| 1474 |
\fancyfoot{}% Löscht alle Fußzeileneinstellungen |
| 1475 |
\renewcommand{\headrulewidth}{0.4pt}% Linie unter Kopfzeile |
| 1476 |
}% |
| 1477 |
\ifnorunningheads |
| 1478 |
\pagestyle{empty} |
| 1479 |
\else |
| 1480 |
\pagestyle{fancy} |
| 1481 |
\fancyhead{}% Löscht alle Kopfzeileneinstellungen |
| 1482 |
\fancyhead[RO]{\small\@shorttitle\hspace{5pt}\thepage\hspace{0.05cm}} |
| 1483 |
\fancyhead[LE]{\hspace{0.05cm}\small\thepage\hspace{5pt}\ifanonymous\iflnienglish Anonymized for review\else Anonymisiert für Review\fi\else\@authlisthead\fi} |
| 1484 |
\fancyfoot{}% Löscht alle Fußzeileneinstellungen |
| 1485 |
\renewcommand{\headrulewidth}{0.4pt} %Linie unter Kopfzeile |
| 1486 |
\fi% |
| 1487 |
% \end{macrocode} |
| 1488 |
% \begin{macrocode} |
| 1489 |
\RequirePackage{url} |
| 1490 |
\urlstyle{same} |
| 1491 |
% \end{macrocode} |
| 1492 |
% improve wrapping of URLs - hint by http://tex.stackexchange.com/a/10419/9075 |
| 1493 |
% \begin{macrocode} |
| 1494 |
\g@addto@macro{\UrlBreaks}{\UrlOrds} |
| 1495 |
% \end{macrocode} |
| 1496 |
% \begin{macrocode} |
| 1497 |
\RequirePackage{xspace} |
| 1498 |
% \end{macrocode} |
| 1499 |
% \begin{macrocode} |
| 1500 |
\AddToHook{env/document/begin}[lni/loadhyperref]{% |
| 1501 |
\RequirePackage[bookmarks=false]{hyperref} |
| 1502 |
\hypersetup{% |
| 1503 |
pdfdisplaydoctitle,% |
| 1504 |
colorlinks=true,% |
| 1505 |
allcolors=black,% |
| 1506 |
pdfstartview=Fit,% |
| 1507 |
}% |
| 1508 |
\pdfstringdefDisableCommands{% |
| 1509 |
\def\footnote#1{}% |
| 1510 |
} |
| 1511 |
\RequirePackage{orcidlink}% |
| 1512 |
% \end{macrocode} |
| 1513 |
% enables correct jumping to figures when referencing |
| 1514 |
% \begin{macrocode} |
| 1515 |
\RequirePackage[all]{hypcap}% |
| 1516 |
}% |
| 1517 |
\DeclareHookRule{env/document/begin}{lni/loadhyperref}{before}{biblatex} |
| 1518 |
% \end{macrocode} |
| 1519 |
% \begin{macrocode} |
| 1520 |
\ifusecleveref% |
| 1521 |
\AtEndPreamble{% |
| 1522 |
\iflnienglish |
| 1523 |
\RequirePackage[capitalise,nameinlink]{cleveref} |
| 1524 |
\crefname{section}{Sect.}{Sect.} |
| 1525 |
\Crefname{section}{Sect.}{Sect.} |
| 1526 |
\else |
| 1527 |
\RequirePackage[ngerman,nameinlink]{cleveref} |
| 1528 |
\fi% |
| 1529 |
\crefname{figure}{\figurename}{\figurename} |
| 1530 |
\Crefname{figure}{\figurename}{\figurename} |
| 1531 |
\crefname{listing}{\lstlistingname}{\lstlistingname} |
| 1532 |
\Crefname{listing}{\lstlistingname}{\lstlistingname} |
| 1533 |
\crefname{table}{\tablename}{\tablename} |
| 1534 |
\Crefname{table}{\tablename}{\tablename} |
| 1535 |
}% |
| 1536 |
\fi% |
| 1537 |
% \end{macrocode} |
| 1538 |
% \begin{macrocode} |
| 1539 |
\def\and{\texorpdfstring{\unskip\hspace{-0.42em},\hspace{.6em}}{, }}% |
| 1540 |
% \end{macrocode} |
| 1541 |
% \begin{macrocode} |
| 1542 |
\newcommand*{\lni@abbrv}[1]{#1\@\xspace} |
| 1543 |
\newcommand*{\lniabbrv}[2]{\gdef#1{\lni@abbrv{#2}}} |
| 1544 |
\newcommand*{\lni@initialism}[1]{\textsc{#1}\xspace} |
| 1545 |
\newcommand*{\lniinitialism}[2]{\gdef#1{\lni@initialism{#2}}} |
| 1546 |
\newcommand*{\ie}{\lni@abbrv{i.\,e.}} |
| 1547 |
\newcommand*{\eg}{\lni@abbrv{e.\,g.}} |
| 1548 |
\newcommand*{\cf}{\lni@abbrv{cf.}} |
| 1549 |
\newcommand*{\etal}{\lni@abbrv{et~al.}} |
| 1550 |
\newcommand*{\OMG}{\lni@initialism{omg}} |
| 1551 |
\newcommand*{\BPM}{\lni@initialism{bpm}} |
| 1552 |
\newcommand*{\BPMN}{\lni@initialism{bpmn}} |
| 1553 |
\newcommand*{\BPEL}{\lni@initialism{bpel}} |
| 1554 |
\newcommand*{\UML}{\lni@initialism{uml}} |
| 1555 |
% \end{macrocode} |
| 1556 |
% bibliography |
| 1557 |
% \begin{macrocode} |
| 1558 |
\renewenvironment{thebibliography}[1] |
| 1559 |
{\iflnienglish\selectlanguage{english}\else\selectlanguage{ngerman}\fi |
| 1560 |
\section*{\refname}% |
| 1561 |
\bgroup\small% |
| 1562 |
\list{\@biblabel{\@arabic\c@enumiv}}% |
| 1563 |
{\settowidth\labelwidth{\@biblabel{#1}}% |
| 1564 |
\leftmargin\labelwidth |
| 1565 |
\advance\leftmargin\labelsep |
| 1566 |
\@openbib@code |
| 1567 |
\usecounter{enumiv}% |
| 1568 |
\let\p@enumiv\@empty |
| 1569 |
\renewcommand\theenumiv{\@arabic\c@enumiv}}% |
| 1570 |
\sloppy |
| 1571 |
\clubpenalty4000 |
| 1572 |
\@clubpenalty \clubpenalty |
| 1573 |
\widowpenalty4000% |
| 1574 |
\sfcode`\.\@m} |
| 1575 |
{\def\@noitemerr |
| 1576 |
{\@latex@warning{Empty `thebibliography' environment}}% |
| 1577 |
\endlist\egroup} |
| 1578 |
% \end{macrocode} |
| 1579 |
% \begin{macrocode} |
| 1580 |
\frenchspacing |
| 1581 |
\tolerance 1414 |
| 1582 |
\hbadness 1414 |
| 1583 |
\emergencystretch 1.5em |
| 1584 |
\hfuzz 0.3pt |
| 1585 |
\widowpenalty=10000 |
| 1586 |
\displaywidowpenalty=10000 |
| 1587 |
\clubpenalty=9999 |
| 1588 |
\interfootnotelinepenalty=9999 |
| 1589 |
\brokenpenalty=2000 |
| 1590 |
\vfuzz \hfuzz |
| 1591 |
\raggedbottom |
| 1592 |
% \end{macrocode} |
| 1593 |
% \begin{macrocode} |
| 1594 |
%</class> |
| 1595 |
% \end{macrocode} |
| 1596 |
%\Finale |
| 1597 |
% |
| 1598 |
%\iffalse |
| 1599 |
%<*template> |
| 1600 |
% % !TeX program = pdflatex |
| 1601 |
% % !BIB program = biber |
| 1602 |
% % !TeX spellcheck = de-DE |
| 1603 |
%%% To write an article in English, please use the option ``english'' in order |
| 1604 |
%%% to get the correct hyphenation patterns and terms. |
| 1605 |
%%% \documentclass[english]{class} |
| 1606 |
%%% for anonymizing an article you can use the ``anonymous'' option. |
| 1607 |
%%% |
| 1608 |
%%% Um einen Artikel auf deutsch zu schreiben, genügt es die Klasse ohne |
| 1609 |
%%% Parameter zu laden. |
| 1610 |
%%% Zur Anonymisierung kann die ``anonymous'' Option genutzt werden. |
| 1611 |
\documentclass[]{lni} |
| 1612 |
%% |
| 1613 |
\begin{document} |
| 1614 |
%%% Mehrere Autoren werden durch \and voneinander getrennt. |
| 1615 |
%%% Die Fußnote enthält die Adresse sowie eine E-Mail-Adresse. |
| 1616 |
%%% Das optionale Argument (sofern angegeben) wird für die Kopfzeile verwendet. |
| 1617 |
\title[Ein Kurztitel]{Ein sehr langer Titel über mehrere Zeilen mit sehr vielen |
| 1618 |
Worten und noch mehr Buchstaben} |
| 1619 |
%% \subtitle{Untertitel / Subtitle} % if needed |
| 1620 |
\author[1,2]{Firstname1 Lastname1}{[email protected]}{0000-0000-0000-0000} |
| 1621 |
\author[2]{Firstname2 Lastname2}{[email protected]}{0000-0000-0000-0000} |
| 1622 |
\author[3]{Firstname3 Lastname3}{[email protected]}{0000-0000-0000-0000} |
| 1623 |
\author[1]{Firstname4 Lastname4}{[email protected]}{0000-0000-0000-0000}% |
| 1624 |
\affil[1]{Universität 1\\Abteilung\\Straße\\Postleitzahl Ort\\Land} |
| 1625 |
\affil[2]{University 2 \\Department\\Address\\Country} |
| 1626 |
\affil[3]{University 3\\Department\\Address\\Country} |
| 1627 |
\maketitle |
| 1628 |
|
| 1629 |
\begin{abstract} |
| 1630 |
Dies ist eine kurze Übersicht über das Dokument mit einer Länge von |
| 1631 |
70 bis 150 Wörtern. Es sollte ein Absatz sein, der die relevantesten |
| 1632 |
Aspekte enthält. |
| 1633 |
\end{abstract} |
| 1634 |
\begin{keywords} |
| 1635 |
Schlagwort1 \and Schlagwort2 %Keyword1 \and Keyword2 |
| 1636 |
\end{keywords} |
| 1637 |
%%% Beginn des Artikeltexts |
| 1638 |
\section{Überschrift/Heading} |
| 1639 |
|
| 1640 |
%% \printbibliography |
| 1641 |
\end{document} |
| 1642 |
%</template> |
| 1643 |
%<*exampledebib> |
| 1644 |
% Encoding: UTF-8 |
| 1645 |
|
| 1646 |
@InProceedings{ABC01, |
| 1647 |
author = {Abraham, N. and Bibel, U. and Corleone, P.}, |
| 1648 |
title = {Formatting Contributions for Proceedings}, |
| 1649 |
pages = {46-53}, |
| 1650 |
crossref = {Gl01}, |
| 1651 |
} |
| 1652 |
|
| 1653 |
@InBook{Az09, |
| 1654 |
pages = {135-162}, |
| 1655 |
title = {Die Fußnote in LNI-Bänden}, |
| 1656 |
author = {Azubi, L. and others}, |
| 1657 |
crossref = {Gl09}, |
| 1658 |
} |
| 1659 |
|
| 1660 |
@Book{AB00, |
| 1661 |
title = {Formatierungsrichtlinien für Tagungsbände}, |
| 1662 |
publisher = {Format-Verlag}, |
| 1663 |
year = {2000}, |
| 1664 |
author = {Abel, K. and Bibel, U.}, |
| 1665 |
address = {Bonn}, |
| 1666 |
} |
| 1667 |
|
| 1668 |
@Book{Ez10, |
| 1669 |
title = {The Magic Format -- Your Way to Pretty Books}, |
| 1670 |
publisher = {Noah \& Sons}, |
| 1671 |
year = {2010}, |
| 1672 |
author = {Ezgarani, O.}, |
| 1673 |
} |
| 1674 |
|
| 1675 |
@Article{Gl06, |
| 1676 |
author = {Glück, H. I.}, |
| 1677 |
title = {Formatierung leicht gemacht}, |
| 1678 |
journal = {Formatierungsjournal}, |
| 1679 |
volume = {11}, |
| 1680 |
number = {09}, |
| 1681 |
year = {2009}, |
| 1682 |
pages = {23-27}, |
| 1683 |
} |
| 1684 |
|
| 1685 |
@Book{Wa14, |
| 1686 |
title = {Essenzen der Informatik}, |
| 1687 |
publisher = {Verlag Formvoll}, |
| 1688 |
year = {2014}, |
| 1689 |
author = {Wasser, K. and Feuer, H. and Erde, R. and Licht, H.}, |
| 1690 |
} |
| 1691 |
|
| 1692 |
@Book{Wa14b, |
| 1693 |
title = {Ganz neue Essenzen der Informatik im selben Jahr}, |
| 1694 |
publisher = {Format-Verlag}, |
| 1695 |
year = {2014}, |
| 1696 |
author = {Wasser, K. and Feuer, H. and Erde, R. and Licht, H.}, |
| 1697 |
} |
| 1698 |
|
| 1699 |
@Proceedings{Gl01, |
| 1700 |
title = {Proc. 7th Int. Conf. on Formatting of Workshop-Proceedings}, |
| 1701 |
year = {2001}, |
| 1702 |
editor = {Glück, H. I.}, |
| 1703 |
address = {San Francisco}, |
| 1704 |
publisher = {Noah \& Sons}, |
| 1705 |
booktitle = {Proc. 7th Int. Conf. on Formatting of Workshop-Proceedings}, |
| 1706 |
} |
| 1707 |
|
| 1708 |
@Book{Gl09, |
| 1709 |
title = {Formatierung 2009}, |
| 1710 |
publisher = {Format-Verlag}, |
| 1711 |
year = {2009}, |
| 1712 |
editor = {Glück, H. I.}, |
| 1713 |
number = {999}, |
| 1714 |
series = {LNI}, |
| 1715 |
address = {Bonn}, |
| 1716 |
booktitle = {Formatierung 2009}, |
| 1717 |
} |
| 1718 |
|
| 1719 |
@Misc{XX14, |
| 1720 |
title = {Anteil an Frauen in der Informatik}, |
| 1721 |
label = {An}, |
| 1722 |
howpublished = {Statistics Worldwide}, |
| 1723 |
year = {2014}, |
| 1724 |
} |
| 1725 |
|
| 1726 |
@Online{GI19, |
| 1727 |
author = {{Gesellschaft für Informatik e.\,V.}}, |
| 1728 |
label = {GI}, |
| 1729 |
year = {2019}, |
| 1730 |
url = {http://www.gi.de}, |
| 1731 |
urldate = {2019-03-21} |
| 1732 |
} |
| 1733 |
|
| 1734 |
@Comment{jabref-meta: databaseType:biblatex;} |
| 1735 |
%</exampledebib> |
| 1736 |
%<*exampledetex> |
| 1737 |
% % !TeX program = pdflatex |
| 1738 |
% % !BIB program = biber |
| 1739 |
% % !TeX spellcheck = de-DE |
| 1740 |
\documentclass{lni} |
| 1741 |
\addbibresource{lni-paper-example-de.bib} |
| 1742 |
|
| 1743 |
%% Schöne Tabellen mittels \toprule, \midrule, \bottomrule |
| 1744 |
\usepackage{booktabs} |
| 1745 |
|
| 1746 |
%% Zu Demonstrationszwecken |
| 1747 |
\usepackage[]{blindtext} |
| 1748 |
|
| 1749 |
\begin{document} |
| 1750 |
%%% Mehrere Autoren werden durch \and voneinander getrennt. |
| 1751 |
%%% Die Fußnote enthält die Adresse sowie eine E-Mail-Adresse. |
| 1752 |
%%% Das optionale Argument (sofern angegeben) wird für die Kopfzeile verwendet. |
| 1753 |
\title[Ein Kurztitel]{Ein sehr langer Titel über mehrere Zeilen mit sehr vielen Worten und noch mehr Buchstaben} |
| 1754 |
%%%\subtitle{Untertitel / Subtitle} % falls benötigt |
| 1755 |
\author[1]{Vorname1 Nachname1}{[email protected]}{0000-0000-0000-0000} |
| 1756 |
\author[2]{Vorname2 Nachname2}{[email protected]}{0000-0000-0000-0000} |
| 1757 |
\author[1]{Vorname3 Nachname3}{[email protected]}{0000-0000-0000-0000} |
| 1758 |
\author[1]{Vorname4 Nachname4}{[email protected]}{0000-0000-0000-0000}% |
| 1759 |
\affil[1]{Universität\\Abteilung\\Straße\\Postleitzahl Ort\\Land} |
| 1760 |
\affil[2]{University\\Department\\Address\\Country} |
| 1761 |
\maketitle |
| 1762 |
|
| 1763 |
\begin{abstract} |
| 1764 |
Die \LaTeX-Klasse \texttt{lni} setzt die Layout-Vorgaben für Beiträge in LNI Konferenzbänden um. |
| 1765 |
Dieses Dokument beschreibt ihre Verwendung und ist ein Beispiel für die entsprechende Darstellung. |
| 1766 |
Der Abstract ist ein kurzer Überblick über die Arbeit der zwischen 70 und 150 Wörtern lang sein und das Wichtigste enthalten sollte. |
| 1767 |
Die Formatierung erfolgt automatisch innerhalb des abstract-Bereichs. |
| 1768 |
\end{abstract} |
| 1769 |
|
| 1770 |
\begin{keywords} |
| 1771 |
LNI Guidelines \and \LaTeX\ Vorlage |
| 1772 |
\end{keywords} |
| 1773 |
|
| 1774 |
\section{Verwendung} |
| 1775 |
Die GI gibt unter \url{http://www.gi-ev.de/LNI} Vorgaben für die Formatierung von Dokumenten in der LNI Reihe. |
| 1776 |
Für \LaTeX-Dokumente werden diese durch die Dokumentenklasse \texttt{lni} realisiert. |
| 1777 |
|
| 1778 |
Dieses Dokument basiert auf der offiziellen Dokumentation, simplifiziert und setzt grundlegendes LaTeX-Wissen voraus. |
| 1779 |
Es werden generische Platzhalter an die entsprechenden Stellen (wie beispielsweise die Autoren-Angaben) gesetzt und nicht weiter an anderer Stelle dokumentiert. |
| 1780 |
|
| 1781 |
Dieses Template ist wie folgt gegliedert: |
| 1782 |
\Cref{sec:demos} zeigt Demonstrationen der LNI-Verlage. |
| 1783 |
\Cref{sec:lniconformance} zeigt die Einhaltung der Richtlinien durch einfachen Text. |
| 1784 |
|
| 1785 |
\section{Demonstrationen} |
| 1786 |
\label{sec:demos} |
| 1787 |
Das Symbol für Potenzmengen ($\powerset$) wird korrekt angezeigt. |
| 1788 |
Es ist kein Weierstraß-p ($\wp$) mehr. |
| 1789 |
|
| 1790 |
Spitze Klammen können direkt eingegeben werden: <test /> |
| 1791 |
|
| 1792 |
Anonymisierungen können mittels anonymous-Option in der documentclass automatisch vorgenommen werden. Dafür gibt es das \texttt{anon}-Makro, z.\,B. \anon{Geheim für Review} und \anon[nur für Review]{nur für finale Version}. |
| 1793 |
|
| 1794 |
Hier eine kleine Demonstration von \href{https://www.ctan.org/pkg/microtype}{microtype}: |
| 1795 |
\blindtext |
| 1796 |
|
| 1797 |
\section{Demonstration der Einhaltung der Richtlinien} |
| 1798 |
\label{sec:lniconformance} |
| 1799 |
|
| 1800 |
\subsection{Literaturverzeichnis} |
| 1801 |
Der letzte Abschnitt zeigt ein beispielhaftes Literaturverzeichnis für Bücher mit einem Autor \cite{Ez10} und zwei AutorInnen \cite{AB00}, einem Beitrag in Proceedings mit drei AutorInnen \cite{ABC01}, einem Beitrag in einem LNI Band mit mehr als drei AutorInnen \cite{Az09}, zwei Bücher mit den jeweils selben vier AutorInnen im selben Erscheinungsjahr \cite{Wa14} und \cite{Wa14b}, ein Journal \cite{Gl06}, eine Website \cite{GI19} bzw.\ anderweitige Literatur ohne konkrete AutorInnenschaft \cite{XX14}. |
| 1802 |
Es wird biblatex verwendet, da es UTF8 sauber unterstützt und viele Erweiterungen mit bringt. |
| 1803 |
|
| 1804 |
Referenzen sollten nicht direkt als Subjekt eingebunden werden, sondern immer nur durch Authorenanganben: |
| 1805 |
Beispiel: \Citet{AB00} geben ein Beispiel, aber auch \citet{Az09}. |
| 1806 |
Hinweis: Großes C bei \texttt{Citet}, wenn es am Satzanfang steht. Dies ist analog zu \texttt{Cref}. |
| 1807 |
|
| 1808 |
Formatierung und Abkürzungen werden für die Referenzen \texttt{book}, \texttt{inbook}, \texttt{proceedings}, \texttt{inproceedings}, \texttt{article}, \texttt{online} und \texttt{misc} automatisch vorgenommen. |
| 1809 |
Mögliche Felder für Referenzen können der Beispieldatei \texttt{lni-paper-example-de.bib} entnommen werden. |
| 1810 |
Andere Referenzen sowie Felder müssen allenfalls nachträglich angepasst werden. |
| 1811 |
|
| 1812 |
\subsection{Abbildungen} |
| 1813 |
\Cref{fig:demo} zeigt eine Abbildung. |
| 1814 |
|
| 1815 |
\begin{figure} |
| 1816 |
\centering |
| 1817 |
\includegraphics[width=.8\textwidth]{example-image} |
| 1818 |
\caption{Demographik} |
| 1819 |
\label{fig:demo} |
| 1820 |
\end{figure} |
| 1821 |
|
| 1822 |
\subsection{Tabellen} |
| 1823 |
\Cref{tab:demo} zeigt eine Tabelle. |
| 1824 |
|
| 1825 |
\begin{table} |
| 1826 |
\centering |
| 1827 |
\begin{tabular}{lll} |
| 1828 |
\toprule |
| 1829 |
Überschriftsebenen & Beispiel & Schriftgröße und -art \\ |
| 1830 |
\midrule |
| 1831 |
Titel (linksbündig) & Der Titel \ldots & 14 pt, Fett\\ |
| 1832 |
Überschrift 1 & 1 Einleitung & 12 pt, Fett\\ |
| 1833 |
Überschrift 2 & 2.1 Titel & 10 pt, Fett\\ |
| 1834 |
\bottomrule |
| 1835 |
\end{tabular} |
| 1836 |
\caption{Die Überschriftsarten} |
| 1837 |
\label{tab:demo} |
| 1838 |
\end{table} |
| 1839 |
|
| 1840 |
\subsection{Programmcode} |
| 1841 |
Die LNI-Formatvorlage verlangt die Einrückung von Listings vom linken Rand. |
| 1842 |
In der \texttt{lni}-Dokumentenklasse ist dies für die \texttt{verbatim}-Umgebung realisiert. |
| 1843 |
|
| 1844 |
\begin{verbatim} |
| 1845 |
public class Hello { |
| 1846 |
public static void main (String[] args) { |
| 1847 |
System.out.println("Hello World!"); |
| 1848 |
} |
| 1849 |
} |
| 1850 |
\end{verbatim} |
| 1851 |
|
| 1852 |
Alternativ kann auch die \texttt{lstlisting}-Umgebung verwendet werden. |
| 1853 |
|
| 1854 |
\Cref{java-hello-world} zeigt uns ein Beispiel, das mit Hilfe der \texttt{lstlisting}-Umgebung realisiert ist. Ein anderes Beispiel ist \cref{python-hello-world}. |
| 1855 |
|
| 1856 |
\begin{lstlisting}[caption={Ein Java-Programm}, label=java-hello-world, language=Java] |
| 1857 |
public class Hello { |
| 1858 |
public static void main (String[] args) { |
| 1859 |
System.out.println("Hello World!"); |
| 1860 |
} |
| 1861 |
} |
| 1862 |
\end{lstlisting} |
| 1863 |
|
| 1864 |
\begin{lstlisting}[caption={Ein Python-Programm}, label=python-hello-world, language=Python] |
| 1865 |
# This program prints Hello, world! |
| 1866 |
|
| 1867 |
print('Hello, world!') |
| 1868 |
\end{lstlisting} |
| 1869 |
|
| 1870 |
\subsection{Formeln und Gleichungen} |
| 1871 |
|
| 1872 |
Die korrekte Einrückung und Nummerierung für Formeln ist bei den Umgebungen |
| 1873 |
\texttt{equation} und \texttt{align} gewährleistet. |
| 1874 |
|
| 1875 |
\begin{equation} |
| 1876 |
1=4-3 |
| 1877 |
\end{equation} |
| 1878 |
und |
| 1879 |
\begin{align} |
| 1880 |
2&=7-5\\ |
| 1881 |
3&=2-1 |
| 1882 |
\end{align} |
| 1883 |
|
| 1884 |
%% Starten Sie "biber lni-paper-example-de", um eine Bibliographie zu erzeugen. |
| 1885 |
\printbibliography |
| 1886 |
|
| 1887 |
\end{document} |
| 1888 |
%</exampledetex> |
| 1889 |
% \end{macrocode} |
| 1890 |
%\fi |