Debian Codegraph @

texmf-dist/source/latex/cidarticle/cidarticle.dtx

raw
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 cidarticle:| A class for submissions to the ``Commentarii informaticae didacticae (CID)''
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 \perCent\space !TeX spellcheck = en_US^^J%
31 }
32
33 \def\templatepreger{%
34 \perCent\space !TeX encoding = UTF-8^^J%
35 \perCent\space !TeX program = pdflatex^^J%
36 \perCent\space !BIB program = biber^^J%
37 \perCent\space !TeX spellcheck = de_DE^^J%
38 }
39
40 \postamble
41
42 Copyright (C) 2023 by Universitätsverlag Potsdam
43
44 This work may be distributed and/or modified under the
45 conditions of the LaTeX Project Public License (LPPL), either
46 version 1.3c of this license or (at your option) any later
47 version. The latest version of this license is in the file:
48
49 http://www.latex-project.org/lppl.txt
50
51 This work is "maintained" (as per LPPL maintenance status) by
52 Martin Sievers.
53
54 This work consists of the file cidarticle.dtx
55 cidarticle.ins
56 README.md
57 CHANGELOG.md
58 and the derived files cidarticle.pdf
59 cidarticle.cls
60 cidarticle-author-template.tex
61 cidarticle-example.bib
62 \endpostamble
63
64 \usedir{tex/latex/cidarticle}
65 \AddGenerationDate
66 \generate{
67 \usepreamble\classpre
68 \file{\jobname.cls}{\from{\jobname.dtx}{class}}
69 }
70 %</install>
71 %<install>\endbatchfile
72 %<*internal>
73 \usedir{source/latex/cidarticle}
74 \generate{
75 \usepreamble\classpre
76 \file{\jobname.ins}{\from{\jobname.dtx}{install}}
77 }
78 \nopreamble\nopostamble
79 \usedir{doc/latex/cidarticle}
80 \generate{
81 \usepreamble\templatepreger
82 \file{\jobname-author-template.tex}{\from{\jobname.dtx}{template}}
83 }
84 \generate{
85 \file{\jobname-example.bib}{\from{\jobname.dtx}{examplebib}}
86 }
87 \ifx\fmtname\nameofplainTeX
88 \expandafter\endbatchfile
89 \else
90 \expandafter\endgroup
91 \fi
92 %</internal>
93 % \fi
94 %
95 % \iffalse
96 %<*driver>
97 \ProvidesFile{cidarticle.dtx}
98 %</driver>
99 %<class>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
100 %<class>\ProvidesClass{cid}
101 %<*class>
102 [2023/11/25 v1.1 Official class for submissions to the ``Commentarii informaticae didacticae (CID)'']
103 %</class>
104 %<*driver>
105 \documentclass[a4paper]{ltxdoc}
106 \usepackage[ngerman,english]{babel}
107 \usepackage[utf8]{inputenc}
108 \usepackage[T1]{fontenc}
109 \usepackage{libertinus}
110 \usepackage[scaled=0.8]{beramono}
111 \usepackage[%
112 final,%
113 tracking=smallcaps,%
114 expansion=alltext,%
115 protrusion=alltext-nott]{microtype}%
116 \SetTracking{encoding=*,shape=sc}{50}%
117 \usepackage{textcomp}
118 \usepackage{upquote}
119 \usepackage[final]{listings}
120 \usepackage{csquotes}
121 \usepackage[dvipsnames]{xcolor}
122 %\usepackage{hologo}
123 \usepackage{dtxdescribe}
124 \usepackage[%
125 pdftitle={cidarticle: Official LaTeX class for submissions to the ``Commentarii informaticae didacticae (CID)''},
126 pdfauthor={Martin Sievers},
127 urlcolor=blue,%
128 linktoc=both,%
129 colorlinks=true]{hyperref}
130 \usepackage[nameinlink,capitalise]{cleveref}
131
132 \DeclareFontFamily{U}{MnSymbolC}{}
133 \DeclareSymbolFont{MnSyC}{U}{MnSymbolC}{m}{n}
134 \DeclareFontShape{U}{MnSymbolC}{m}{n}{
135 <-6> MnSymbolC5
136 <6-7> MnSymbolC6
137 <7-8> MnSymbolC7
138 <8-9> MnSymbolC8
139 <9-10> MnSymbolC9
140 <10-12> MnSymbolC10
141 <12-> MnSymbolC12%
142 }{}
143 \DeclareMathSymbol{\powerset}{\mathord}{MnSyC}{180}
144
145 \newcommand{\cid}{\texttt{cidarticle}}
146 \newcommand{\CID}{\emph{Commentarii informaticae didacticae}}
147 \lstset{
148 basicstyle = \small\ttfamily,
149 gobble = 2,
150 keywordstyle = \color{blue}\bfseries,
151 breaklines,
152 prebreak = {\mbox{\quad$\hookleftarrow$}},
153 language = [LaTeX]{TeX},
154 moretexcs = {,
155 addbibresource,authorrunning,%
156 doi,affil,
157 ExecuteBibliographyOptions,includegraphics,printbibliography,
158 }
159 frame = single,
160 backgroundcolor = \color{yellow!60},
161 framesep = 5pt,
162 literate={Ö}{{\"O}}1 {Ä}{{\"A}}1 {Ü}{{\"U}}1 {ß}{{\ss}}1 {ü}{{\"u}}1 {ä}{{\"a}}1 {ö}{{\"o}}1
163 }%
164 \lstnewenvironment{examplecode}[1][]
165 {\lstset{#1}}
166 {}
167 \providecommand*\env[1]{\texttt{#1}}
168 \providecommand*\file[1]{\texttt{#1}}
169 \providecommand*\opt[1]{\texttt{#1}}
170 \providecommand*\pkg[1]{\textsf{#1}}
171 \OnlyDescription %nur Anleitung (ohne Index und History)
172 \CodelineIndex %kein Index wenn auskommentiert
173 \EnableCrossrefs %kein Index wenn auskommentiert
174 \RecordChanges %keine History wenn auskommentiert
175 \begin{document}
176 \DocInput{\jobname.dtx}
177 \end{document}
178 %</driver>
179 % \fi
180 % \CheckSum{0}
181 % \CharacterTable
182 % {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
183 % 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
184 % Digits \0\1\2\3\4\5\6\7\8\9
185 % Exclamation \! Double quote \" Hash (number) \#
186 % Dollar \$ Percent \% Ampersand \&
187 % Acute accent \' Left paren \( Right paren \)
188 % Asterisk \* Plus \+ Comma \,
189 % Minus \- Point \. Solidus \/
190 % Colon \: Semicolon \; Less than \<
191 % Equals \= Greater than \> Question mark \?
192 % Commercial at \@ Left bracket \[ Backslash \\
193 % Right bracket \] Circumflex \^ Underscore \_
194 % Grave accent \` Left brace \{ Vertical bar \|
195 % Right brace \} Tilde \~}
196 %
197 % \changes{v1.0}{2023/10/27}{Official release of first version used for CID 13}
198 %
199 % \GetFileInfo{\jobname.dtx}
200 % \DoNotIndex{\newcommand,\newenvironment}
201 %
202 % \title{\textsf{cidarticle} -- Official class for submissions to the\\%
203 % ``Commentarii informaticae didacticae''\thanks{This file describes version
204 % \fileversion, last revised \filedate.}}
205 % \author{Martin Sievers\setcounter{footnote}{6}\thanks{Email:
206 % [email protected]}}
207 % \date{Released \filedate}
208 %
209 % \maketitle
210 %
211 % \begin{abstract}
212 % \noindent The \cid{} bundle is used for writing articles to be published in
213 % the ``Commentarii informaticae didacticae (CID)''.
214 % It is based on the class used for the ``Lecture
215 % Notes in Informatics (LNI)''.
216 % \end{abstract}
217 %
218 % \section{Introduction}
219 % The \LaTeX\ class for the ``Commentarii informaticae didacticae (CID)''
220 % is based on the established work for the ``Lecture Notes in Informatics'',
221 % maintained mainly by Oliver Kopp and Martin Sievers (cf. \url{https://github.com/gi-ev/LNI)}
222 %
223 % This is the first public release. I would like to thank
224 % the ``Universitätsverlag Potsdam'' (especially Felix Will and Marco Winkler)
225 % and the editors of CID 13 (especially Simone Opel)
226 % for their suggestions and testing.
227 %
228 % All development is done on GitHub (\url{https://github.com/sieversMartin/CID/}).
229 % You are very welcome to contribute by raising issues or pull requests.
230 %
231 % \section{Installation}
232 % This version of the \cid{} bundle is distributed via
233 % GitHub and (preferably) CTAN.
234 %
235 % The later is the basis for all updates of the two main \TeX{} distributions
236 % \MiKTeX{} and \TeX{}~Live. Thus the easiest way to get all files needed to
237 % typeset an article for the \CID{} is to use the package manager of your
238 % distribution.
239 %
240 % There is also a template on Overleaf (\url{https://www.overleaf.com/latex/templates/cid-commentarii-informaticae-didacticae/xgzphtgbbffb}).
241 %
242 % For a manual installation please call \texttt{pdflatex cidarticle.dtx} at least
243 % twice and copy all resulting files (cls, tex, pdf) to your local TEXMF tree.
244 % Don't forget to update your file name database.
245 %
246 % \section{Usage}
247 % To use the predefined layout for a (German) submission to the \CID{} just
248 % load the class file as usual with \cs{documentclass\{cid\}}.
249 %
250 % The class file loads a bunch of packages which are all part of modern \TeX{}
251 % distributions. Therefore, if you are confronted
252 % with a missing package, please try to download and install it using your
253 % distribution's package manager. Alternatively go to
254 % \href{http://www.ctan.org}{CTAN} to download missing packages.
255 %
256 % The \cid{} class can be used with \pdfLaTeX{} as well as with
257 % \XeLaTeX{} and \LuaLaTeX{}.
258 %
259 % \subsection{Options}\label{sec:options}
260 % Although the class file includes all layout information for a submission to
261 % the \CID{}, there are options to adapt the output one way or another.
262 %
263 % \DescribeOption{english}A document loading the \CID{} class file uses German
264 % language adoptions by default. To switch to English, just load the class with
265 % option \opt{english}. The language influences the hyphenation patterns and
266 % terms used in the text.
267 %
268 % \DescribeOption{crop}%
269 % Option \opt{crop} gives you some crop marks (using the package \pkg{crop}) to
270 % better illustrate the final
271 % result of your article.
272 %
273 % \DescribeOption{nocleveref}When referencing figures, one has to type
274 % \texttt{Figure\textasciitilde}\cs{ref\marg{label}}. The package \pkg{cleveref}
275 % reduces the effort by offering the command \cs{cref\marg{label}}. This can be
276 % used with all floating objects. The package is loaded by default. In case it
277 % causes issues, one can disable it using with the \opt{nocleveref} option.
278 %
279 % \DescribeOption{nohyperref}\pkg{hyperref} is used for colored hyperlinks
280 % within the articles. If you consider problems or just do not want that
281 % feature, you can disable it by using the option \opt{nohyperref}.
282 %
283 % \DescribeOption{norunningheads}To easily remove all running
284 % headers from your document, you can use the option \opt{norunningheads}.
285 %
286 % \section{Setting up a document}
287 % You can use the file \texttt{cidarticle-author-template.tex} as a starting point
288 % for setting up a document for submission. The \cid{} class uses the standard
289 % ways to build an article.
290 %
291 % \subsection{Special meta comments}\label{sec:metadata}
292 % There is not just one \enquote{\TeX} and one \enquote{bibliography tool}, but
293 % many different ways to transform a .tex file into a PDF.
294 % Some \TeX{} editors like \texttt{TeXstudio}, \texttt{TeXmaker} and
295 % \texttt{TeXshop} support a special set of meta comments to give some
296 % information, how to deal with a concrete document.
297 %
298 % A typical example looks like:
299 % \begin{examplecode}
300 % % !TeX program = pdflatex
301 % % !BIB program = biber
302 % % !TeX encoding = UTF-8
303 % % !TeX spellcheck = en_US
304 % \documentclass[english]{cidarticle}
305 % \end{examplecode}
306 %
307 % \subsection{Title page}\label{sec:titlepage}
308 % \DescribeMacro{\title}%
309 % \DescribeMacro{\subtitle}%
310 % The title of your work is given using the \cs{title} macro. In addition to
311 % the title itself, you can add a short title to be used
312 % in the header of a page:
313 % \begin{examplecode}[label={lst:title}]
314 % \title[Short title]{Title}
315 % \end{examplecode}
316 %
317 % You can also add a subtitle by \cs{subtitle\marg{subtitle}}.
318 %
319 % \DescribeMacro{\author}\DescribeMacro{\affil}%
320 % The authors of an article are
321 % given using an extended \cs{author} macro, which holds not only the name, but also
322 % email adress and ORCID iD. Moreover the affiliation marker (number) is given as an optional
323 % argument. Affiliations are added with
324 % \cs{affil\oarg{number}\marg{information}} where you can use
325 % \texttt{\textbackslash\textbackslash} to split the address.
326 % \begin{examplecode}[label={lst:author}]
327 % \author[1]{Vorname1 Nachname1}{[email protected]}{0000-0000-0000-0000}
328 % \author[2]{Firstname2 Lastname2}{[email protected]}{0000-0000-0000-0000}
329 % \author[1]{Firstname3 Lastname 3}{[email protected]}{0000-0000-0000-0000}
330 % \author[1]{Firstname4 Lastname 4}{[email protected]}{0000-0000-0000-0000}%
331 % \affil[1]{Universität\\Abteilung\\Straße\\Postleitzahl Ort\\Land}
332 % \affil[2]{University\\Department\\Address\\Country}
333 % \end{examplecode}
334 %
335 % Leave the third and/or fourth argument empty if there is no email address and/or ORCID iD.
336 % Finally \cs{maketitle} will output the formatted title page.
337 %
338 % \subsection{Abstract and keywords}
339 % \DescribeEnv{abstract}\DescribeEnv{keywords}%
340 % \DescribeMacro{\and}%
341 % Each article should start with a short (70 to 150 words) abstract and some
342 % keywords. Please use the environments \env{abstract} and \env{keywords} for
343 % that purpose:
344 % \begin{examplecode}
345 % \begin{abstract}
346 % Tell the reader what your article is about
347 % \end{abstract}
348 % \begin{keywords}
349 % Give some keywords to categorize your article. You can use \and between two
350 % keywords to get the correct delimiter (semicolon plus space) automatically.
351 % \end{keywords}
352 % \end{examplecode}
353 %
354 % \subsection{Page header}\label{sec:pageheader}
355 % The template automatically sets the page headers according to the
356 % requirements of \CID. From page~2 onwards, the title and the authors are
357 % printed. These information have to stay in one line. In case the title is too
358 % long, use the optional argument for \cs{title}:
359 % \begin{examplecode}
360 % \title[short title]{title}
361 % \end{examplecode}
362 %
363 % \subsection{Main text}
364 % \subsubsection{Headings}
365 % \DescribeMacro{\section}\DescribeMacro{\subsection}%
366 % \DescribeMacro{\subsubsection}\DescribeMacro{\paragraph}
367 % You can use the standard macros \cs{section}, \cs{subsection}, \cs{subsubsection}
368 % and \cs{paragraph} sectioning your text.
369 % \vspace{2\baselineskip}
370 % \subsubsection{Footnotes}
371 % \DescribeMacro{\footnote}%
372 % For adding a footnote, just use \cs{footnote\marg{footnote text}} where
373 % needed. Please note, that the footnote counter is automatically set to the
374 % correct value at the beginning of your text, i.\,e. it respects the number
375 % of affiliations given on the title page.
376 %
377 % \subsubsection{Lists}
378 % \DescribeEnv{itemize}\DescribeEnv{enumerate}%
379 % The \cid{} class redefines the standard lists environments \env{itemize} and
380 % \env{enumerate} to meet the requirements of the \CID{}.
381 %
382 % Lists can be filled as usual by adding \cs{item} macros.
383 %
384 % \subsubsection{Floating objects}
385 % \DescribeEnv{figure}\DescribeEnv{table}%
386 % The environments \env{figure} and \env{table} can be used the standard way to
387 % include graphics or tables resp.
388 %
389 % However, please note, that the default placement parameters are changed to
390 % \opt{htbp} by the class \cid{}. If you need some local adjustment, please use
391 % the optional argument of both environments (cf.~Listing~\ref{lst:figure}).
392 %
393 % \DescribeMacro{\caption}\DescribeMacro{\label}
394 % A caption should be added by \cs{caption\marg{caption text}}, followed
395 % immediately by a \cs{label\marg{unique label}} entry. For figures the caption
396 % should be added below the graphic, for tables place it above \env{tabular}:
397 % \begin{examplecode}[label={lst:figure}]
398 % \begin{figure}[tb]
399 % \includegraphics{...}
400 % \caption{...}
401 % \label{...}
402 % \end{figure}
403 % \end{examplecode}
404 %
405 % If you want to center floats, please \emph{do not} use the \env{center}
406 % environment, but the macro \cs{centering}, which does not add extra white
407 % space (cf.~Listing~\ref{lst:table}).
408 % \begin{examplecode}[label={lst:table}]
409 % \begin{table}
410 % \centering
411 % \caption{...}
412 % \label{...}
413 % \begin{tabular}{lll}
414 % ...
415 % \end{tabular}
416 % \end{table}
417 % \end{examplecode}
418 %
419 % \subsubsection{\texorpdfstring{Listings\,/\,Source code}%
420 % {Listings/Source code}}
421 % The \cid{} bundle loads the \pkg{verbatim} and \pkg{listings} package. While
422 % the former is there for compatability, the later is the standard way of
423 % integrating source code listings into a \LaTeX{} document.
424 %
425 % However, there are currently no config files shipped with the \cid{} bundle.
426 % Please consult the documentation for help on setting up \pkg{listings} for a
427 % specific programming language.
428 %
429 % \subsubsection{Math}
430 % For using math the \pkg{amsmath} package is loaded by default. You can load
431 % package \pkg{mathtools} for additional features.
432 %
433 % \subsubsection{Abbreviations and initialisms}
434 % \DescribeMacro{\eg}\DescribeMacro{\ie}\DescribeMacro{\cf}%
435 % \DescribeMacro{\etal}%
436 % To achieve consistent typesetting of common abbreviations, macros are
437 % predefined by the class. These macros should \emph{consistently} being used
438 % instead of writing the plain version. For example use \verb|\eg| rather than
439 % {\verb|e.g.,|}. The macros take care of spacing within and after the
440 % abbreviations.
441 % \begin{itemize}
442 % \item \cs{eg} for e.\,g.
443 % \item \cs{ie} for i.\,e.
444 % \item \cs{cf} for cf.
445 % \item \cs{etal} for et~al.
446 % \end{itemize}
447 %
448 % \DescribeMacro{\cidinitialism} You can add your own initialisms by stating
449 % \cs{cidinitialism\marg{\textbackslash initialism\_macro}\marg{text}} in the
450 % preamble. Then use the new macros within your text wherever needed.
451 %
452 % \subsection{Bibliography}\label{sec:bibliography}
453 % The \cid{} class uses \pkg{biblatex} by default together with the
454 % \pkg{biblatex} style \enquote{lni} provided by
455 % \href{https://github.com/gi-ev/biblatex-lni}{\pkg{biblatex-lni}}.
456 % However, you have to add information on the bib
457 % file(s) in your document using \cs{addbibresource\marg{Bib file(s)}} and call
458 % \cs{printbibliography} at the end of your document.
459 %
460 % Please note, that the \cid{} class sets
461 % \texttt{biber} as the default bibliography tool. \texttt{biber} is part of
462 % both major \TeX{} distributions and can easily be used within most \TeX{}
463 % editors, e.\,g. by using special meta data as described in
464 % \cref{sec:metadata}.
465 %
466 % \begin{examplecode}
467 % % !TeX program = pdflatex
468 % % !BIB program = biber
469 % \documentclass[]{cidarticle}
470 % ...
471 % \addbibresource{FILENAME.bib}
472 % ...
473 % \begin{document}
474 % ...
475 % \printbibliography
476 % ...
477 % \end{document}
478 % \end{examplecode}
479 %
480 % \section{Trouble shooting}
481 % If you have any problems using the class file please head to
482 % \href{https://github.com/egeerardyn/awesome-LaTeX/blob/master/README.md}%
483 % {the awesome \LaTeX{} list}.
484 %
485 % \section{Bugs and feature request}
486 % If you find a bug or have a feature request, please contact me.
487 % You can open an ``issue'' at the \href{https://github.com/sieversMartin/CID/}{GitHub website}.
488 %
489 % \StopEventually{^^A
490 % \PrintChanges
491 % \PrintIndex
492 % }
493 %
494 % \section{Implementation}
495 %
496 % \begin{macrocode}
497 %<*class>
498 % \end{macrocode}
499 % \begin{macrocode}
500 \def\@clearglobaloption#1{%
501 \def\@tempa{#1}%
502 \def\@tempb{\@gobble}%
503 \@for\next:=\@classoptionslist\do
504 {\ifx\next\@tempa
505 \message{Cleared option \next\space from global list}%
506 \else
507 \edef\@tempb{\@tempb,\next}%
508 \fi}%
509 \let\@classoptionslist\@tempb
510 \expandafter\ifx\@tempb\@gobble
511 \let\@classoptionslist\@empty
512 \fi}
513 %
514 \DeclareOption{latin1}{\PassOptionsToPackage{latin1}{inputenc}}
515 \DeclareOption{utf8}{\PassOptionsToPackage{utf8}{inputenc}}
516 \DeclareOption{ansinew}{\PassOptionsToPackage{ansinew}{inputenc}}
517 \newif\ifcidenglish
518 \cidenglishfalse
519 \DeclareOption{english}{\cidenglishtrue\@clearglobaloption{english}}
520 \newif\ifusehyperref
521 \usehyperreftrue
522 \DeclareOption{nohyperref}{\usehyperreffalse}
523 \newif\ifusecleveref
524 \useclevereftrue
525 \DeclareOption{nocleveref}{\useclevereffalse}
526 \newif\ifusebiblatex
527 \usebiblatextrue
528 \DeclareOption{biblatex}{\usebiblatextrue}
529 \DeclareOption{nobiblatex}{\usebiblatexfalse}
530 \newif\ifcrop
531 \cropfalse
532 \DeclareOption{crop}{\croptrue}
533 \newif\ifnorunningheads
534 \DeclareOption{norunningheads}{\norunningheadstrue}
535 \ExecuteOptions{utf8}
536 \DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
537 \ProcessOptions\relax
538 %
539 \RequirePackage{iftex}
540 \PassOptionsToPackage{dvipsnames}{xcolor}
541 \PassOptionsToPackage{fleqn}{amsmath}
542 \LoadClass[10pt,a4paper,twoside]{article}
543 \ifPDFTeX
544 \RequirePackage{cmap}
545 \RequirePackage{inputenc}
546 \RequirePackage[T1]{fontenc}
547 \RequirePackage[full]{textcomp}
548 \else
549 \RequirePackage{fontspec}
550 \fi%
551 %
552 \ifcidenglish
553 \RequirePackage[ngerman,UKenglish,USenglish,english]{babel}
554 \else
555 \RequirePackage[english,UKenglish,USenglish,ngerman]{babel}
556 \babelprovide[hyphenrules=ngerman-x-latest]{ngerman}
557 \ClassInfo{cidarticle}{Using latest German hyphenation patterns}%
558 \fi%
559 % Hint by http://tex.stackexchange.com/a/321067/9075 -> enable "= as dashes
560 \useshorthands*{"}
561 \addto\extrasenglish{\languageshorthands{ngerman}}
562 \addto\extrasUKenglish{\languageshorthands{ngerman}}
563 \addto\extrasUSenglish{\languageshorthands{ngerman}}
564 % \end{macrocode}
565 % Load old Times variant (explictly wanted by publisher)
566 % \begin{macrocode}
567 \ifPDFTeX
568 \RequirePackage{mathptmx}
569 \RequirePackage[%
570 final,%
571 tracking=smallcaps,%
572 expansion=alltext,%
573 protrusion=alltext-nott]{microtype}%
574 \else
575 \setmainfont{NimbusRomNo9L}[%
576 Extension = .otf,%
577 UprightFont = *-Reg,%
578 BoldFont = *-Med,%
579 ItalicFont = *-RegIta,%
580 BoldItalicFont = *-MedIta,%
581 Ligatures = {Common},%
582 ]%
583 \RequirePackage[%
584 final,%
585 protrusion=alltext-nott]{microtype}%
586 % \end{macrocode}
587 % When using \hologo{LuaLaTeX} we can activate \pkg{selnolig}
588 % \begin{macrocode}
589 \ifluatex
590 \ifcidenglish
591 \RequirePackage[english]{selnolig}%
592 \else
593 \RequirePackage[ngerman]{selnolig}%
594 \fi%
595 \fi%
596 \fi%
597 \SetTracking{encoding=*,shape=sc}{50}%
598 % \end{macrocode}
599 % Introduce \cs{powerset} - hint by \url{http://matheplanet.com/matheplanet/nuke/html/viewtopic.php?topic=136492&post_id=997377}
600 % \begin{macrocode}
601 \DeclareFontFamily{U}{MnSymbolC}{}
602 \DeclareSymbolFont{MnSyC}{U}{MnSymbolC}{m}{n}
603 \DeclareFontShape{U}{MnSymbolC}{m}{n}{
604 <-6> MnSymbolC5
605 <6-7> MnSymbolC6
606 <7-8> MnSymbolC7
607 <8-9> MnSymbolC8
608 <9-10> MnSymbolC9
609 <10-12> MnSymbolC10
610 <12-> MnSymbolC12%
611 }{}
612 \DeclareMathSymbol{\powerset}{\mathord}{MnSyC}{180}
613 % \end{macrocode}
614 % \begin{macrocode}
615 % Support for CC icons
616 %\RequirePackage{ccicons}
617 % Support for \cs{ifdefempty}
618 \RequirePackage{etoolbox}
619 % \end{macrocode}
620 % \begin{macrocode}
621 \RequirePackage[oldcommands]{ragged2e}
622 % \end{macrocode}
623 % \begin{macrocode}
624 \newlength{\doihoffset}
625 \newlength{\doivoffset}
626 \ifcrop
627 \RequirePackage[
628 paperheight=220truemm,paperwidth=155truemm,
629 text={110truemm,176truemm},
630 inner=25truemm,
631 outer=20truemm,
632 top=24.6truemm,
633 bottom=19truemm,
634 nomarginpar,
635 headsep=7truemm,
636 headheight=13.5bp,
637 driver=none]
638 {geometry}
639 \RequirePackage[a4,center,frame,info]{crop}
640 \renewcommand*\CROP@@info{{%
641 \global\advance\CROP@index\@ne
642 \def\x{\discretionary{}{}{\hbox{\kern.5em---\kern.5em}}}%
643 \advance\paperwidth-20\p@
644 \dimen@4pt
645 \ifx\CROP@pagecolor\@empty
646 \else
647 \advance\dimen@\CROP@overlap
648 \fi
649 \hb@xt@\z@{%
650 \hss
651 \vbox to\z@{%
652 \centering
653 \hsize\paperwidth
654 \vss
655 \normalfont
656 \normalsize
657 \expandafter\csname\CROP@font\endcsname{%
658 ``\jobname''\x
659 \the\year/\the\month/\the\day\x
660 \CROP@time\x
661 page\kern.5em\thepage\x
662 \#\the\CROP@index
663 \strut
664 }%
665 \vskip\dimen@
666 }%
667 \hss
668 }%
669 }}%
670 \setlength{\doihoffset}{1.45cm}
671 \setlength{\doivoffset}{1.2cm}
672 \else
673 \RequirePackage[%
674 paperheight=220truemm,paperwidth=155truemm,%
675 text={110truemm,176truemm},%
676 inner=25truemm,%
677 outer=20truemm,%
678 top=24.6truemm,%
679 bottom=19truemm,%
680 nomarginpar,%
681 headsep=7truemm,%
682 headheight=13.5bp,%
683 driver=none]%
684 {geometry}
685 %\setlength{\doihoffset}{4.2cm}
686 %\setlength{\doivoffset}{4.3cm}
687 \fi%
688 % \end{macrocode}
689 % We change font sizes to get the correct baseline skips
690 % \begin{macrocode}
691 \renewcommand\normalsize{%
692 \@setfontsize\normalsize{10bp}{13.5bp}%
693 \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@
694 \abovedisplayshortskip \z@ \@plus3\p@
695 \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@
696 \belowdisplayskip \abovedisplayskip
697 \let\@listi\@listI}
698 \normalsize
699 \ifx\MakeRobust\@undefined \else
700 \MakeRobust\normalsize
701 \fi
702 \DeclareRobustCommand\small{%
703 \@setfontsize\small{9bp}{13.5bp}%
704 \abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@
705 \abovedisplayshortskip \z@ \@plus2\p@
706 \belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@
707 \def\@listi{\leftmargin\leftmargini
708 \topsep 4\p@ \@plus2\p@ \@minus2\p@
709 \parsep 2\p@ \@plus\p@ \@minus\p@
710 \itemsep \parsep}%
711 \belowdisplayskip \abovedisplayskip
712 }
713 \DeclareRobustCommand\footnotesize{%
714 \@setfontsize\footnotesize{8bp}{9.6bp}%
715 \abovedisplayskip 6\p@ \@plus2\p@ \@minus4\p@
716 \abovedisplayshortskip \z@ \@plus\p@
717 \belowdisplayshortskip 3\p@ \@plus\p@ \@minus2\p@
718 \def\@listi{\leftmargin\leftmargini
719 \topsep 3\p@ \@plus\p@ \@minus\p@
720 \parsep 2\p@ \@plus\p@ \@minus\p@
721 \itemsep \parsep}%
722 \belowdisplayskip \abovedisplayskip
723 }
724 \DeclareRobustCommand\scriptsize{\@setfontsize\scriptsize\@viipt\@viiipt}
725 \DeclareRobustCommand\tiny{\@setfontsize\tiny\@vpt\@vipt}
726 \DeclareRobustCommand\large{\@setfontsize\large{12bp}{14.4bp}}
727 \DeclareRobustCommand\Large{\@setfontsize\Large{13bp}{15.6bp}}
728 \DeclareRobustCommand\LARGE{\@setfontsize\LARGE{14bp}{16.8bp}}
729 \DeclareRobustCommand\huge{\@setfontsize\LARGE{16bp}{19.2bp}}
730 \DeclareRobustCommand\Huge{\@setfontsize\LARGE{20bp}{24bp}}
731 % \end{macrocode}
732 % \begin{macrocode}
733 \RequirePackage[autostyle]{csquotes}
734 \ifusebiblatex
735 \RequirePackage[%
736 backend=biber,% UTF-8 support
737 style=LNI, % The GI style - see https://www.ctan.org/pkg/biblatex-lni
738 natbib=true, % Required for \Citet
739 autolang=other%
740 ]{biblatex}
741 \renewcommand{\bibfont}{\normalfont\small}
742 \defbibheading{bibliography}[\iflanguage{english}{Bibliography}{Literaturverzeichnis}]{%
743 \section*{#1}\markboth{#1}{#1}\pdfbookmark[1]{\iflanguage{english}{Bibliography}{Literaturverzeichnis}}{bibliography\thecidarticle}}
744 \patchcmd{\biburlsetup}%
745 {\def\UrlBigBreaks{\do\:\do\-}}%
746 {\def\UrlBigBreaks{\do\:\do\-\do\/}}%
747 {}%
748 {}%
749 % \end{macrocode}
750 % \begin{macro}{\citeauthor}
751 % \begin{macrocode}
752 % Enable hyperlinked authors when using \citeauthor
753 % Source: http://tex.stackexchange.com/a/75916/9075
754 \DeclareCiteCommand{\citeauthor}%
755 {\boolfalse{citetracker}%
756 \boolfalse{pagetracker}%
757 \usebibmacro{prenote}}%
758 {\ifciteindex%
759 {\indexnames{labelname}}%
760 {}%
761 \printtext[bibhyperref]{\printnames{labelname}}}%
762 {\multicitedelim}%
763 {\usebibmacro{postnote}}%
764 % \end{macro}
765 % \begin{macrocode}
766 \fi%
767 % \end{macrocode}
768 % \begin{macrocode}
769 \RequirePackage{amsmath}
770 \RequirePackage{graphicx}
771 \RequirePackage{eso-pic}
772 \RequirePackage{grffile}
773 \RequirePackage{fancyhdr}
774 \RequirePackage{listings}
775 \RequirePackage{booktabs}
776 \RequirePackage{tabularx}
777 % \end{macrocode}
778 % We fix the basewidth for lstlistings:
779 % The default setting of listings with ``fixed columns'' has a space 0.6em
780 % wide, while the characters in TX Typewriter (as in Computer Modern
781 % Typewriter) are 0.5em wide.
782 % Source: https://tex.stackexchange.com/a/179072/9075
783 % \begin{macrocode}
784 \lstset{%
785 basicstyle=\ttfamily,%
786 columns=fixed,%
787 basewidth=.5em,%
788 xleftmargin=0.5cm,%
789 captionpos=b,%
790 upquote}%
791 % \end{macrocode}
792 % Ragged bottom -- verhindert die Ausdehnung der Seite = Veränderung der
793 % Abstände
794 % \begin{macrocode}
795 \def\thisbottomragged{\def\@textbottom{\vskip\z@ plus.0001fil
796 \global\let\@textbottom\relax}}
797 % \end{macrocode}
798 % Seitenzahlen -- Größe der Box
799 % \begin{macrocode}
800 \renewcommand\@pnumwidth{2.5em}
801 \renewcommand\@tocrmarg{2.55em}
802 \renewcommand\@dotsep{2.5}
803 \def\@dottedtocline#1#2#3#4#5{%
804 \ifnum #1>\c@tocdepth \else
805 \vskip \z@ \@plus.2\p@
806 {\leftskip #2\relax \rightskip \@tocrmarg \advance\rightskip by 0pt plus 2cm
807 \parfillskip -\rightskip \pretolerance=10000
808 \parindent #2\relax\@afterindenttrue
809 \interlinepenalty\@M
810 \leavevmode
811 \@tempdima #3\relax
812 \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip
813 {#4}\nobreak
814 \leaders\hbox{$\m@th
815 \mkern \@dotsep mu\hbox{.}\mkern \@dotsep
816 mu$}\hfill
817 \nobreak
818 \hb@xt@\@pnumwidth{\hfil\normalfont \normalcolor #5}%
819 \par}%
820 \fi}
821 % \end{macrocode}
822 % \begin{macro}{\title}
823 % \begin{macrocode}
824 %\newcommand{\@shorttitle}{}%
825 \newcommand{\@toctitle}{}%
826 \newcommand*{\@titlerunning}{}%
827 \renewcommand{\title}{\@dblarg\@@title}
828 \def\@@title[#1]#2{%
829 \gdef\@title{#2}%
830 \renewcommand{\@toctitle}{#2}%
831 \renewcommand*{\@titlerunning}{#1}%
832 }
833 % \end{macrocode}
834 % \end{macro}
835 % \begin{macro}{\subtitle}
836 % \begin{macrocode}
837 \newcommand{\subtitle}[1]{\gdef\@subtitle{#1}}
838 % \end{macrocode}
839 % \end{macro}
840 % \begin{macro}{\author}
841 % \begin{macrocode}
842 \gdef\and{\texorpdfstring{\unskip,\ }{, }}
843 \renewcommand{\author}{\@dblarg\@@author}
844 \newcommand{\@tocauthor}{}%
845 \newcommand{\@authorrunning}{}%
846 \def\@@author[#1]#2{%
847 \DeclareRobustCommand{\@author}{%
848 #2%
849 }%
850 \renewcommand{\@tocauthor}{#1}%
851 %\protected@edef\@tocauthor{%
852 % #1%
853 %}%
854 \renewcommand{\@authorrunning}{#1}%
855 }
856 % \end{macrocode}
857 % \end{macro}
858 % \begin{macro}{\authorrunning}
859 % \begin{macrocode}
860 \newcommand*{\authorrunning}[1]{%
861 \renewcommand*{\@authorrunning}{#1}}
862 % \end{macrocode}
863 % \begin{macro}{\titlerunning}
864 % \begin{macrocode}
865 \newcommand*{\titlerunning}[1]{%
866 \renewcommand*{\@titlerunning}{#1}}%
867 % \end{macrocode}
868 % \end{macro}
869 % \begin{macro}{\email}
870 % \begin{macrocode}
871 \newcommand*{\email}[1]{\ifusehyperref\href{mailto:#1}{\protect\nolinkurl{#1}}\else\protect\nolinkurl{#1}\fi}
872 % \end{macrocode}
873 % \end{macro}
874 % \begin{macro}{\orcid}
875 % \begin{macrocode}
876 \newcommand*{\orcid}[1]{%
877 \ifusehyperref\unskip~\orcidlink{#1}\,\href{https://orcid.org/#1}{https://orcid.org/#1}%
878 \else\orcidlink{}\,https://orcid.org/#1\fi}
879 % \end{macrocode}
880 % \end{macro}
881 % \begin{macro}{\doi}
882 % \begin{macrocode}
883 \newcommand{\@doi}{}
884 \newcommand{\doi}{%
885 \begingroup\catcode`\_12 \doi@i}
886 \newcommand{\doi@i}[1]{%
887 \gdef\@doi{#1}\endgroup}
888 % \end{macrocode}
889 % \end{macro}
890 % \begin{macrocode}
891 \newcounter{cidarticle}
892 \@addtoreset{section}{cidarticle}%
893 \@addtoreset{footnote}{cidarticle}%
894 \@addtoreset{figure}{cidarticle}%
895 \@addtoreset{table}{cidarticle}%
896 % \end{macrocode}
897 % Title: Kopie aus article.cls mit anderem \thispagestyle
898 % \begin{macrocode}
899 \renewcommand\maketitle{\par%
900 \begingroup
901 \renewcommand\thefootnote{\@arabic\c@footnote}%
902 % \def\@makefnmark% keine Einrückung der Fußnoten eingestellt
903 % {\@textsuperscript{\normalfont\@thefnmark}}%
904 % \long\def\@makefntext##1{%
905 % \@setpar{\@@par
906 % \@tempdima = \hsize
907 % \advance\@tempdima -1em
908 % \parshape \@ne 0.15cm \@tempdima}%
909 % \par\parindent 5mm \noindent
910 % \hb@xt@\z@{\hss{\normalfont\@thefnmark}}\hspace{5mm}##1}
911 \if@twocolumn
912 \ifnum \col@number=\@ne
913 \@maketitle
914 \else
915 \twocolumn[\@maketitle]%
916 \fi%
917 \else
918 \newpage
919 \global\@topnum\z@% Prevents figures from going at top of page.
920 \@maketitle
921 \fi%
922 \ifnorunningheads
923 \thispagestyle{empty}
924 \else
925 \thispagestyle{plain}
926 \fi%
927 \@thanks
928 \endgroup
929 \ifusehyperref
930 \HyXeTeX@CheckUnicode
931 \HyPsd@PrerenderUnicode{\@tocauthor}%
932 \pdfstringdef\@pdfauthor{\@tocauthor}%
933 \HyXeTeX@CheckUnicode
934 \HyPsd@PrerenderUnicode{\@title}%
935 \pdfstringdef\@pdftitle{\@title}%
936 \fi%
937 %\global\let\thanks\relax
938 %\global\let\maketitle\relax
939 %\global\let\@maketitle\relax
940 \global\let\@thanks\@empty
941 \global\let\@author\@empty
942 %\global\let\@date\@empty
943 \global\let\@title\@empty
944 \global\let\@subtitle\@empty
945 %\global\let\title\relax
946 %\global\let\author\relax
947 %\global\let\date\relax
948 %\global\let\and\relax
949 }
950 % \end{macrocode}
951 % \begin{macrocode}
952 \def\@maketitle{%
953 \clearpage\begingroup\pagestyle{empty}\cleardoublepage\endgroup%
954 \markboth{\@authorrunning}{\@titlerunning}%
955 \addtocontents{toc}{\protect\setcounter{tocdepth}{2}}%
956 \phantomsection%
957 \addcontentsline{toc}{chapter}{\protect\numberline{}{\@toctitle}}%
958 \addtocontents{toc}{\protect\contentsline{subsection}{\@tocauthor}{}{}}%
959 \addtocontents{toc}{\protect\setcounter{tocdepth}{0}}%
960 \refstepcounter{cidarticle}%
961 \null%
962 \vskip-16.8bp%\spacebeforesection%
963 \vskip 11mm%
964 \raggedright% Linksbündig
965 \let\footnote\thanks
966 {\LARGE\bfseries\@title\par}%
967 \ifx\@subtitle\empty\else
968 \ifx\@subtitle\undefined\else
969 \vskip \baselineskip%
970 {\normalsize\bfseries\@subtitle\par}%
971 \fi%
972 \fi%
973 \vskip\baselineskip% Abstand nach dem Titel
974 {\normalsize%
975 \lineskip .5em%
976 \@author
977 \par}%
978 \vskip 2\baselineskip% Abstand vor dem Abstract
979 }%
980 % \end{macrocode}
981 % \begin{environment}{abstract}
982 % \begin{macrocode}
983 \newcommand*{\@addmargin}[2][\@tempa]{%
984 \list{}{%
985 \if@tempswa
986 \def\@tempa{\leftmargin}%
987 \setlength{\leftmargin}{#2}%
988 \setlength{\rightmargin}{#1}%
989 \else
990 \def\@tempa{\rightmargin}%
991 \setlength{\rightmargin}{#2}%
992 \setlength{\leftmargin}{#1}%
993 \fi
994 \setlength{\listparindent}{\parindent}%
995 \setlength{\itemsep}{\parskip}%
996 \setlength{\itemindent}{\z@}%
997 \setlength{\@tempskipa}{\topsep}%
998 \setlength{\topsep}{\z@}%
999 \setlength{\parsep}{\parskip}%
1000 \setlength{\@tempskipb}{\partopsep}%
1001 \setlength{\partopsep}{\z@}%
1002 \let\makelabel\@gobble
1003 \setlength{\labelwidth}{\z@}%
1004 \advance\@listdepth\m@ne
1005 }%
1006 \item\nobreak\ignorespaces
1007 }
1008
1009 \renewenvironment*{abstract}{%
1010 \renewcommand{\abstractname}{Abstract}%
1011 \@addmargin{\parindent}\small\noindent\ignorespaces{\bfseries\abstractname:\ }%
1012 }{\advance\@listdepth\@ne
1013 \endlist
1014 \par\vspace{\baselineskip}}
1015 % \end{macrocode}
1016 % \end{environment}
1017 % \begin{environment}{keywords}
1018 % \begin{macrocode}
1019 \newif\ifkeywords
1020 \newenvironment{keywords}%
1021 {\global\keywordstrue\normalsize%
1022 \def\and{\unskip;\space}%
1023 \noindent\ignorespaces{\bfseries Keywords:\ }}%
1024 {\par\global\keywordsfalse}
1025 \let\@RIGsection\section
1026 \pretocmd\@startsection{%
1027 \ifkeywords\ClassError{cidarticle}%
1028 {keywords is an environment, not a macro}%
1029 {Please change \string\keywords\space to an environment}%
1030 \keywordsfalse%
1031 \fi%
1032 }{}{}%
1033 % \end{macrocode}
1034 % \end{environment}
1035 % Section headings
1036 % \begin{macrocode}
1037 \renewcommand{\section}{\@startsection{section}{1}{\z@}%
1038 {-2\baselineskip}{\baselineskip}{\normalfont\large\bfseries}}
1039 \renewcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
1040 {-2\baselineskip}{\baselineskip}{\normalfont\normalsize\bfseries}}
1041 \renewcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
1042 {-2\baselineskip}{\baselineskip}{\normalfont\normalsize\bfseries}}
1043 \renewcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
1044 {1\baselineskip}{-1em}{\normalfont\normalsize\bfseries}}
1045 \newlength{\spacebeforesection}
1046 \setlength{\spacebeforesection}{\dimexpr\topsep+11mm\relax}
1047 \newcommand{\CIDsection}[1]{%
1048 \section*{\rule{0pt}{\spacebeforesection}#1}%
1049 \markboth{#1}{#1}%
1050 \pdfbookmark[1]{\iflanguage{english}{Bibliography}{Literaturverzeichnis}}{bibliography\thecidarticle}%
1051 }
1052 \newcommand{\CIDVorwort}[1]{\section*{\rule{0pt}{\spacebeforesection}#1}\markboth{#1}{#1}}
1053 % \end{macrocode}
1054 % Bildunterschriften
1055 % \begin{macrocode}
1056 \RequirePackage{caption}
1057 \captionsetup[figure]{style=base,font=footnotesize,position=below}
1058 \captionsetup[table]{style=base,font=small,position=above}
1059 \captionsetup[lstlisting]{style=base,font=footnotesize,position=below}
1060 \newcommand{\ifwithinfigure}[2]{%
1061 \ifx\@currenvir\empty
1062 \PackageWarningNoLine{ifwithinfigure}{Environment name not available}%
1063 \else
1064 \ifx\@currenvir\figure
1065 #1%
1066 \else
1067 #2%
1068 \fi
1069 \fi
1070 }
1071 \setlength{\intextsep}{\baselineskip}%Abstand nach der Grafik
1072 \setlength{\abovecaptionskip}{.5\baselineskip}
1073 \setlength{\belowcaptionskip}{%
1074 \ifwithinfigure{2\baselineskip}{0pt}%
1075 }
1076 % \end{macrocode}
1077 % \begin{macrocode}
1078 \renewcommand\tableofcontents{%
1079 \clearpage\thispagestyle{plain}
1080 \pdfbookmark[0]{\contentsname}{toc}%
1081 \CIDVorwort{\contentsname}%
1082 \@starttoc{toc}%
1083 }
1084
1085 \def\@part[#1]#2{%
1086 \clearpage\begingroup\pagestyle{empty}\cleardoublepage\endgroup
1087 \thispagestyle{empty}
1088 \pdfbookmark[-1]{#2}{part\thepage}%
1089 \addtocontents{toc}{\protect\contentsline{part}{#1}{}{}}
1090 \null\vfil
1091 {\centering
1092 \interlinepenalty \@M
1093 \normalfont
1094 \fontsize{20bp}{20bp}\selectfont\bfseries #2%
1095 \markboth{}{}\par}%
1096 \vfil\null\newpage
1097 \null
1098 \thispagestyle{empty}%
1099 \newpage}
1100
1101 \renewcommand*\l@part[2]{%
1102 \ifnum \c@tocdepth >-2\relax
1103 \addpenalty\@secpenalty
1104 \vspace*{2\baselineskip}%
1105 \setlength\@tempdima{3em}%
1106 \begingroup
1107 \parindent \z@ \rightskip \@pnumwidth
1108 \parfillskip -\@pnumwidth
1109 {\leavevmode
1110 \fontsize{13bp}{13.5bp}\selectfont #1\hfil
1111 \hb@xt@\@pnumwidth{\hss #2%
1112 \kern-\p@\kern\p@}}\par
1113 \nobreak
1114 \if@compatibility
1115 \global\@nobreaktrue
1116 \everypar{\global\@nobreakfalse\everypar{}}%
1117 \fi
1118 \endgroup
1119 \vspace*{2\baselineskip}%
1120 \fi}
1121 \renewcommand*\l@section[2]{%
1122 \ifnum \c@tocdepth >\z@
1123 \addpenalty\@secpenalty
1124 \setlength\@tempdima{0pt}%
1125 \begingroup
1126 \parindent \z@ \rightskip \@pnumwidth
1127 \parfillskip -\@pnumwidth
1128 \leavevmode
1129 \advance\leftskip\@tempdima
1130 \hskip -\leftskip
1131 #1\nobreak\mdseries
1132 \leaders\hbox{$\m@th
1133 \mkern \@dotsep mu\hbox{.}\mkern \@dotsep
1134 mu$}\hfill
1135 \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
1136 \endgroup
1137 \fi}
1138 \let\l@chapter\l@section%
1139 \renewcommand*\l@subsection[2]{%
1140 \ifnum \c@tocdepth >\z@
1141 \addpenalty\@secpenalty
1142 \setlength\@tempdima{0pt}%
1143 \begingroup
1144 \parindent \z@ \rightskip \@pnumwidth
1145 \parfillskip -\@pnumwidth
1146 \leavevmode
1147 \advance\leftskip\@tempdima
1148 \hskip -\leftskip
1149 \itshape #1\nobreak\hfil
1150 \nobreak\hb@xt@\@pnumwidth{\hss #2%
1151 \kern-\p@\kern\p@}\par
1152 \endgroup
1153 \fi}
1154
1155 % \end{macrocode}
1156 % Take care of floats
1157 % \begin{macrocode}
1158 \def\fps@figure{htbp}
1159 \def\fnum@figure{\figurename~\thefigure}
1160 \def\@floatboxreset{%
1161 \reset@font
1162 \small
1163 \@setnobreak
1164 \@setminipage
1165 }%
1166 \setcounter{topnumber}{10}% maximale Anzahl gleitender Objekte am Seitenanfang
1167 \setcounter{bottomnumber}{10}% maximale Anzahl gleitender Objekte am Seitenende
1168 \renewcommand{\topfraction}{1.0}% Anteil den gleitende Objekte am Seitenanfang einnehmen dürfen
1169 \renewcommand{\bottomfraction}{1.0}% Anteil den gleitende Objekte am Seitenende einnehmen dürfen
1170 % \end{macrocode}
1171 % Tables
1172 % \begin{macrocode}
1173 \def\fps@table{htbp}
1174 \def\fnum@table{\tablename~\thetable}
1175 \renewcommand{\arraystretch}{1.1}
1176 % \end{macrocode}
1177 % Indention for equations with fleqn option
1178 % \begin{macrocode}
1179 \setlength{\mathindent}{0.5cm}
1180 % \end{macrocode}
1181 % Indention for verbatim listings
1182 % \begin{macrocode}
1183 \RequirePackage{verbatim}
1184 \def\verbatim@processline{\hskip0.5cm\the\verbatim@line\par}
1185 % \end{macrocode}
1186 % Set rule width und correct size
1187 % \begin{macrocode}
1188 \renewcommand\footnoterule{%
1189 \kern-3\p@
1190 \hrule\@width 2.6cm
1191 \kern5.6\p@}
1192 \RequirePackage[hang,stable,bottom,belowfloats]{footmisc}
1193 \setlength{\footnotemargin}{5mm} % Abstand Fußnotenzähler/Fußnotentext
1194 \def\@cidmakefnmark{\rlap{\normalfont\@thefnmark}}%
1195 \long\def\@makefntext#1{%
1196 \ifFN@hangfoot
1197 \bgroup
1198 \setbox\@tempboxa\hbox{%
1199 \ifdim\footnotemargin>0pt
1200 \hb@xt@\footnotemargin{\@cidmakefnmark\hss}%
1201 \else
1202 \@cidmakefnmark
1203 \fi%
1204 }%
1205 \leftmargin\wd\@tempboxa
1206 \rightmargin\z@
1207 \linewidth \columnwidth
1208 \advance \linewidth -\leftmargin
1209 \parshape \@ne \leftmargin \linewidth
1210 \@totalleftmargin \leftmargin
1211 \footnotesize
1212 \@setpar{{\@@par}}%
1213 \leavevmode
1214 \llap{\box\@tempboxa}%
1215 \parskip\hangfootparskip\relax
1216 \parindent\hangfootparindent\relax
1217 \footnotelayout#1%
1218 \ifFN@hangfoot
1219 \par\egroup
1220 \fi%
1221 \fi%
1222 }
1223 % \end{macrocode}
1224 % \begin{macrocode}
1225 \setlength{\parindent}{5mm}
1226 % \end{macrocode}
1227 % Set symbols for itemize
1228 % \begin{macrocode}
1229 \renewcommand{\labelitemi}{\textbullet}
1230 \renewcommand*\itemize{%
1231 \ifnum \@itemdepth >\thr@@\@toodeep\else
1232 \setlength{\labelsep}{0.70cm}%
1233 \advance\@itemdepth\@ne
1234 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
1235 \expandafter
1236 \list
1237 \csname\@itemitem\endcsname
1238 {\def\makelabel##1{\hss\llap{##1}}%
1239 %\setlength{\itemsep}{8pt}%
1240 \setlength{\parsep}{-2pt}}%
1241 \fi}
1242 % \end{macrocode}
1243 % and numbered lists
1244 % \begin{macrocode}
1245 \renewcommand{\labelenumii}{\alph{enumii})}
1246 \renewcommand*\enumerate{%
1247 \ifnum \@enumdepth >\thr@@
1248 \@toodeep
1249 \else
1250 \setlength{\labelsep}{0.70cm}%Abstand zur Aufzählungsnummer
1251 \advance\@enumdepth \@ne
1252 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
1253 \fi
1254 \@ifnextchar[{\@enumlabel@{\@enumerate@}[}{\@enumerate@}}
1255 \def\@enumerate@{%
1256 \expandafter\list\csname label\@enumctr\endcsname{%
1257 \usecounter{\@enumctr}%
1258 \def\makelabel##1{\hss\llap{##1}}
1259 \setlength{\labelsep}{0.6cm} %Einrückung des Aufzählungszeichens
1260 %\setlength{\itemsep}{8pt}%
1261 \setlength{\parsep}{-2pt}}
1262 }%
1263 \usepackage{enumitem}
1264 \setlist{noitemsep}
1265 % \end{macrocode}
1266 % \begin{macro}{\andname}
1267 % \begin{macrocode}
1268 \newcommand{\andname}{}
1269 % \end{macrocode}
1270 % \end{macro}
1271 % \begin{macrocode}
1272 \addto\captionsngerman{%
1273 \def\andname{und}%
1274 \def\figurename{Abb.}%
1275 \def\tablename{Tab.}%
1276 \def\lstlistingname{List.}%
1277 \def\bibname{Literaturverzeichnis}%
1278 \def\refname{Literaturverzeichnis}%
1279 }%
1280 % \end{macrocode}
1281 % \begin{macrocode}
1282 \addto\captionsenglish{%
1283 \def\andname{and}%
1284 \def\figurename{Fig.}%
1285 \def\tablename{Tab.}%
1286 \def\lstlistingname{List.}%
1287 \def\bibname{Bibliography}%
1288 \def\refname{Bibliography}%
1289 }%
1290 \addto\captionsUKenglish{%
1291 \def\andname{and}%
1292 \def\figurename{Fig.}%
1293 \def\tablename{Tab.}%
1294 \def\lstlistingname{List.}%
1295 \def\bibname{Bibliography}%
1296 \def\refname{Bibliography}%
1297 }%
1298 \addto\captionsUSenglish{%
1299 \def\andname{and}%
1300 \def\figurename{Fig.}%
1301 \def\tablename{Tab.}%
1302 \def\lstlistingname{List.}%
1303 \def\bibname{Bibliography}%
1304 \def\refname{Bibliography}%
1305 }%
1306 % \end{macrocode}
1307 % \begin{macro}{\startpage}
1308 % \begin{macrocode}
1309 \newcommand*{\startpage}[1]{\setcounter{page}{#1}}
1310 % \end{macrocode}
1311 % \end{macro}
1312 % \begin{macro}{\booktitle}
1313 % \begin{macrocode}
1314 \def\@bookshorttitle{}
1315 \newcommand{\booktitle}{\@dblarg\@@booktitle}
1316 \def\@@booktitle[#1]#2{\gdef\@bookshorttitle{#1}\gdef\@booktitle{#2}}
1317 % \end{macrocode}
1318 % \end{macro}
1319 % \begin{macro}{\booksubtitle}
1320 \newcommand{\booksubtitle}[1]{\gdef\@booksubtitle{#1}}
1321 % \end{macro}
1322 % \begin{macro}{\editor}
1323 % \begin{macrocode}
1324 \newcommand*{\@editor}{}
1325 \newcommand*{\editor}[1]{\renewcommand{\@editor}{#1}}
1326 % \end{macrocode}
1327 % \end{macro}
1328 % \begin{macrocode}
1329 \newcommand*{\@yearofpublication}{\the\year}
1330 \newcommand*{\yearofpublication}[1]{\renewcommand*{\@yearofpublication}{#1}}
1331 % \end{macrocode}
1332 % set-up for header and footer
1333 % \begin{macrocode}
1334 \renewcommand{\sectionmark}[1]{}%
1335 \renewcommand{\subsectionmark}[1]{}%
1336 \fancypagestyle{plain}{%
1337 \fancyhead{}% Löscht alle Kopfzeileneinstellungen
1338 \renewcommand{\headrulewidth}{0.0pt}% Linie unter Kopfzeile
1339 }%
1340 \ifnorunningheads
1341 \pagestyle{empty}%
1342 \else%
1343 \pagestyle{fancy}%
1344 \fancyhead[RE]{\footnotesize\leftmark{}}%
1345 \fancyhead[LO]{\footnotesize\rightmark{}}%
1346 \fancyhead[LE,RO]{\thepage}%
1347 \fancyfoot{}% Löscht alle Fußzeileneinstellungen
1348 \renewcommand{\headrulewidth}{0.4pt}%Linie unter Kopfzeile
1349 \fancyheadoffset[ol]{0.8mm}%
1350 \fancyheadoffset[el]{0.8mm}%
1351 \fancyheadoffset[or]{-0.8mm}%
1352 \fancyheadoffset[er]{-0.8mm}%
1353 \fi%
1354 % \end{macrocode}
1355 % \begin{macrocode}
1356 \RequirePackage{url}
1357 \urlstyle{same}
1358 % \end{macrocode}
1359 % improve wrapping of URLs - hint by http://tex.stackexchange.com/a/10419/9075
1360 % \begin{macrocode}
1361 \g@addto@macro{\UrlBreaks}{\UrlOrds}
1362 % \end{macrocode}
1363 % \begin{macrocode}
1364 \def\UrlBigBreaks{\do\:\do\-}%
1365 \def\UrlBigBreaks{\do\:\do\-\do\/}
1366 % \end{macrocode}
1367 % \begin{macrocode}
1368 \RequirePackage{xspace}
1369 % \end{macrocode}
1370 % \begin{macrocode}
1371 \RequirePackage{etoolbox}
1372 \RequirePackage{authblk}
1373 \newcommand{\@authlisthead}{}
1374 \newtoks\@temptokenb
1375 \newtoks\@temptokenc
1376 \renewcommand\Authsep{, }
1377 \renewcommand\Authands{\iflanguage{ngerman}{ und }{, and }}
1378 \renewcommand\Authand{\iflanguage{ngerman}{ und }{ and }}
1379
1380 \renewcommand\author[4][]%
1381 {\ifnewaffil\addtocounter{affil}{1}%
1382 \edef\AB@thenote{\arabic{affil}}\fi
1383 \if\relax#1\relax\def\AB@note{\AB@thenote}\else\def\AB@note{#1}%
1384 \ifcsundef{@emailsandorcids\AB@note}{\csgdef{@emailsandorcids\AB@note}{}}{}%
1385 \setcounter{Maxaffil}{0}\fi
1386 \ifnum\value{authors}=0\def\@firstauthor{#2}\fi
1387 \ifnum\value{authors}>1\relax
1388 \@namedef{@sep\number\c@authors}{\Authsep}\fi
1389 \addtocounter{authors}{1}%
1390 \begingroup
1391 \let\protect\@unexpandable@protect \let\and\AB@pand
1392 \def\thanks{\protect\thanks}\def\footnote{\protect\footnote}%
1393 \@temptokena=\expandafter{\AB@authors}%
1394 \@temptokenb=\expandafter{\AB@authors}%
1395 {\def\\{\protect\\[\@affilsep]\protect\Affilfont
1396 \protect\AB@resetsep}%
1397 \xdef\AB@author{\AB@blk@and#2}%
1398 \ifnewaffil\gdef\AB@las{}\gdef\AB@lasx{\protect\Authand}\gdef\AB@as{}%
1399 \xdef\AB@authors{\the\@temptokena\AB@blk@and}%
1400 \else
1401 \xdef\AB@authors{\the\@temptokena\AB@as\AB@au@str}%
1402 \global\let\AB@las\AB@lasx\gdef\AB@lasx{\protect\Authands}%
1403 \gdef\AB@as{\Authsep}%
1404 \fi
1405 \gdef\AB@au@str{#2}}%
1406 \@temptokena=\expandafter{\AB@authlist}%
1407 \@temptokenb=\expandafter{\@authlisthead}%
1408 \let\\=\authorcr
1409 \xdef\AB@authlist{\the\@temptokena
1410 \protect\@nameuse{@sep\number\c@authors}%
1411 \protect\Authfont#2\AB@authnote{\AB@note}}%
1412 \xdef\@authlisthead{\the\@temptokenb
1413 \protect\@nameuse{@sep\number\c@authors}%
1414 \protect\Authfont#2}%
1415 \endgroup
1416 \ifnum\value{authors}>2\relax
1417 \@namedef{@sep\number\c@authors}{\Authands}\fi
1418 \ifcsempty{@emailsandorcids\AB@note}%
1419 {\csgappto{@emailsandorcids\AB@note}{%
1420 \if\relax#3\relax\else\email{#3}\fi\if\relax#4\relax\else\ \orcid{#4}\fi}%
1421 }%
1422 {\csgappto{@emailsandorcids\AB@note}{%
1423 \if\relax#3\relax\else\ |\ \email{#3}\fi\if\relax#4\relax\else\ \orcid{#4}\fi}}%
1424
1425 \newaffilfalse
1426 }
1427
1428 \renewcommand\@author{\ifx\AB@affillist\AB@empty\AB@author\else
1429 \ifnum\value{affil}>\value{Maxaffil}\def\rlap##1{##1}%
1430 \AB@authlist\AB@affillist
1431 \else\AB@authors\fi\fi}
1432
1433 \renewcommand\affil[2][]%
1434 {\newaffiltrue\let\AB@blk@and\AB@pand
1435 \if\relax#1\relax\def\AB@note{\AB@thenote}\else\def\AB@note{#1}%
1436 \setcounter{Maxaffil}{0}\fi
1437 \begingroup
1438 \let\protect\@unexpandable@protect
1439 \def\thanks{\protect\thanks}\def\footnotetext{\protect\footnotetext}%
1440 \@temptokena=\expandafter{\AB@authors}%
1441 {\def\\{\protect\\\protect\Affilfont}\xdef\AB@temp{#2}}%
1442 \xdef\AB@authors{\the\@temptokena\AB@las\AB@au@str
1443 \protect\\[\affilsep]\protect\Affilfont\AB@temp}%
1444 \gdef\AB@las{}\gdef\AB@au@str{}%
1445 {\def\\{, \ignorespaces}\xdef\AB@temp{#2}}%
1446 \@temptokena=\expandafter{\AB@affillist}%
1447 \xdef\AB@affillist{\the\@temptokena \AB@affilsep
1448 \footnotetext[\AB@note]{%
1449 \raggedright\AB@temp\ifcsempty{@emailsandorcids\AB@note}{}{, \csuse{@emailsandorcids\AB@note}}}%
1450 }
1451 \endgroup
1452 \let\AB@affilsep\AB@affilsepx
1453 }
1454 \def\maketitle{%
1455 \ifnum\value{authors}>2
1456 \authorrunning{\@firstauthor\ et\ al.}%
1457 \else
1458 \authorrunning{\@authlisthead}
1459 \fi%
1460 \AB@maketitle%
1461 }
1462 % \end{macrocode}
1463 % \begin{macrocode}
1464 \ifusehyperref
1465 \AddToHook{env/document/begin}[cidarticle/loadhyperref]{%
1466 \RequirePackage{hyperref}
1467 \RequirePackage[startatroot]{bookmark}
1468 \RequirePackage{colorprofiles}
1469 \RequirePackage[a-2b,mathxmp]{pdfx}[2018/12/22]
1470 \hypersetup{%
1471 colorlinks=false,%
1472 %allcolors=black,%
1473 linkcolor=BrickRed,
1474 citecolor=Green,
1475 filecolor=Mulberry,
1476 urlcolor=NavyBlue,
1477 menucolor=BrickRed,
1478 runcolor=Mulberry,
1479 linkbordercolor=BrickRed,
1480 citebordercolor=Green,
1481 filebordercolor=Mulberry,
1482 urlbordercolor=NavyBlue,
1483 menubordercolor=BrickRed,
1484 runbordercolor=Mulberry,
1485 bookmarks=true,
1486 bookmarksnumbered = true,
1487 bookmarksopen=true,
1488 bookmarksdepth=5,
1489 %pdfsubject = {Technical Report},
1490 %pdfkeywords = {},
1491 %pdfcreator = {HPI},
1492 %pdfmetalang = {en-US},
1493 %pdfproducer = {CID},
1494 %pdflang = {en-US},
1495 pdfdisplaydoctitle = true,
1496 pdfpagemode = UseOutlines,
1497 pdfpagelayout = SinglePage,
1498 pdfview = Fit,
1499 linktoc=all%
1500 }
1501 \renewcommand{\theHsection}{\thecidarticle-\arabic{section}}%
1502 \RequirePackage{orcidlink}%
1503 % \end{macrocode}
1504 % enables correct jumping to figures when referencing
1505 % \begin{macrocode}
1506 \RequirePackage[all]{hypcap}%
1507 }%
1508 \DeclareHookRule{env/document/begin}{cidarticle/loadhyperref}{before}{biblatex}
1509 \else
1510 \RequirePackage{tikz}
1511 \usetikzlibrary{svg.path}
1512 \definecolor{orcidlogocol}{HTML}{A6CE39}
1513 \tikzset{
1514 orcidlogo/.pic={
1515 \fill[orcidlogocol] svg{M256,128c0,70.7-57.3,128-128,128C57.3,256,0,198.7,0,128C0,57.3,57.3,0,128,0C198.7,0,256,57.3,256,128z};
1516 \fill[white] svg{M86.3,186.2H70.9V79.1h15.4v48.4V186.2z}
1517 svg{M108.9,79.1h41.6c39.6,0,57,28.3,57,53.6c0,27.5-21.5,53.6-56.8,53.6h-41.8V79.1z M124.3,172.4h24.5c34.9,0,42.9-26.5,42.9-39.7c0-21.5-13.7-39.7-43.7-39.7h-23.7V172.4z}
1518 svg{M88.7,56.8c0,5.5-4.5,10.1-10.1,10.1c-5.6,0-10.1-4.6-10.1-10.1c0-5.6,4.5-10.1,10.1-10.1C84.2,46.7,88.7,51.3,88.7,56.8z};
1519 }
1520 }
1521
1522 %% Reciprocal of the height of the svg whose source is above. The
1523 %% original generates a 256pt high graphic; this macro holds 1/256.
1524 \newcommand{\@OrigHeightRecip}{0.00390625}
1525
1526 %% We will compute the current X height to make the logo the right height
1527 \newlength{\@curXheight}
1528
1529 \DeclareRobustCommand\orcidlink[1]{%
1530 \setlength{\@curXheight}{\fontcharht\font`X}%
1531 \mbox{%
1532 \begin{tikzpicture}[yscale=-\@OrigHeightRecip*\@curXheight,
1533 xscale=\@OrigHeightRecip*\@curXheight,transform shape]
1534 \pic{orcidlogo};
1535 \end{tikzpicture}%
1536 }{}}
1537
1538 \providecommand{\texorpdfstring}[2]{#2}%
1539 \providecommand{\pdfbookmark}[3][]{\relax}%
1540 \providecommand{\phantomsection}{\relax}
1541 \fi%
1542 % \end{macrocode}
1543 % \begin{macrocode}
1544 \ifusecleveref%
1545 \AtEndPreamble{%
1546 \ifcidenglish
1547 \RequirePackage[capitalise,nameinlink]{cleveref}
1548 \crefname{section}{Sect.}{Sect.}
1549 \Crefname{section}{Sect.}{Sect.}
1550 \else
1551 \RequirePackage[ngerman,nameinlink]{cleveref}
1552 \fi%
1553 \crefname{figure}{\figurename}{\figurename}
1554 \Crefname{figure}{\figurename}{\figurename}
1555 \crefname{listing}{\lstlistingname}{\lstlistingname}
1556 \Crefname{listing}{\lstlistingname}{\lstlistingname}
1557 \crefname{table}{\tablename}{\tablename}
1558 \Crefname{table}{\tablename}{\tablename}
1559 }%
1560 \fi%
1561 % \end{macrocode}
1562 % \begin{macrocode}
1563 %\def\and{\texorpdfstring{\unskip\hspace{-0.42em},\hspace{.6em}}{, }}%
1564 %\def\and{\texorpdfstring{\,,\ }{, }}%
1565 % \end{macrocode}
1566 % \begin{macrocode}
1567 \newcommand*{\cid@abbrv}[1]{#1\@\xspace}
1568 \newcommand*{\cidabbrv}[2]{\gdef#1{\cid@abbrv{#2}}}
1569 \newcommand*{\cid@initialism}[1]{\textsc{#1}\xspace}
1570 \newcommand*{\cidinitialism}[2]{\gdef#1{\cid@initialism{#2}}}
1571 \newcommand*{\ie}{\cid@abbrv{i.\,e.}}
1572 \newcommand*{\eg}{\cid@abbrv{e.\,g.}}
1573 \newcommand*{\cf}{\cid@abbrv{cf.}}
1574 \newcommand*{\etal}{\cid@abbrv{et~al.}}
1575 \newcommand*{\OMG}{\cid@initialism{omg}}
1576 \newcommand*{\BPM}{\cid@initialism{bpm}}
1577 \newcommand*{\BPMN}{\cid@initialism{bpmn}}
1578 \newcommand*{\BPEL}{\cid@initialism{bpel}}
1579 \newcommand*{\UML}{\cid@initialism{uml}}
1580 % \end{macrocode}
1581 % bibliography
1582 % \begin{macrocode}
1583 %\renewenvironment{thebibliography}[1]
1584 %{\iflnienglish\selectlanguage{english}\else\selectlanguage{ngerman}\fi
1585 % \section*{\refname}%
1586 % \bgroup\small%
1587 % \list{\@biblabel{\@arabic\c@enumiv}}%
1588 % {\settowidth\labelwidth{\@biblabel{#1}}%
1589 % \leftmargin\labelwidth
1590 % \advance\leftmargin\labelsep
1591 % \@openbib@code
1592 % \usecounter{enumiv}%
1593 % \let\p@enumiv\@empty
1594 % \renewcommand\theenumiv{\@arabic\c@enumiv}}%
1595 % \sloppy
1596 % \clubpenalty4000
1597 % \@clubpenalty \clubpenalty
1598 % \widowpenalty4000%
1599 % \sfcode`\.\@m}
1600 %{\def\@noitemerr
1601 % {\@latex@warning{Empty `thebibliography' environment}}%
1602 % \endlist\egroup}
1603 % \end{macrocode}
1604 % \begin{macrocode}
1605 \frenchspacing
1606 \tolerance 1414
1607 \hbadness 1414
1608 \emergencystretch 1.5em
1609 \hfuzz 0.3pt
1610 \widowpenalty=10000
1611 \displaywidowpenalty=10000
1612 \clubpenalty=9999
1613 \interfootnotelinepenalty=9999
1614 \brokenpenalty=2000
1615 \vfuzz \hfuzz
1616 \raggedbottom
1617 % \end{macrocode}
1618 % \begin{macrocode}
1619 %</class>
1620 % \end{macrocode}
1621 %\Finale
1622 %
1623 %\iffalse
1624 %
1625 %<*template>
1626 %%% Um einen Artikel auf deutsch zu schreiben, genügt es die Klasse ohne
1627 %%% Parameter zu laden.
1628 \documentclass[]{cidarticle}
1629 %%% To write an article in English, please use the option ``english'' in order
1630 %%% to get the correct hyphenation patterns and terms.
1631 %%% \documentclass[english]{cidarticle}
1632 %%%
1633 %%% Die CID-Klasse nutzt biblatex, so dass man die .bib-Datei angeben muss:
1634 \addbibresource{cidarticle-example.bib} %Beispiel-Bibliography
1635
1636 \usepackage{blindtext} %nur zu Testzwecken
1637 %%
1638 \begin{document}
1639 %%% Mehrere Autoren werden durch \and voneinander getrennt.
1640 %%% Die Fußnote enthält die Adresse sowie eine E-Mail-Adresse.
1641 %%% Das optionale Argument (sofern angegeben) wird jeweils für das
1642 %%% Inhaltsverzeichnis *und* den Kolumnentitel im Kopf der Seite verwendet.
1643 %%% Die Angaben für den Kolumnentitel können mittels optionalen Arguments
1644 %%% für \title bzw. \author gesetzt werden.
1645 \title[Ein Kurztitel wenn der Titel z.B. Fußnoten enthält]{Ein sehr langer Titel über mehrere Zeilen mit sehr vielen
1646 Worten und noch mehr Buchstaben}
1647 %%%\subtitle{Untertitel / Subtitle} % if needed
1648 \author[1]{Vorname1 Nachname1}{[email protected]}{0000-0000-0000-0000}
1649 \author[2]{Firstname2 Lastname2}{[email protected]}{0000-0000-0000-0000}
1650 \author[1]{Firstname3 Lastname 3}{[email protected]}{0000-0000-0000-0000}
1651 \author[1]{Firstname4 Lastname 4}{[email protected]}{0000-0000-0000-0000}
1652 \affil[1]{Universität\\Abteilung\\Straße\\Postleitzahl Ort\\Land}
1653 \affil[2]{University\\Department\\Address\\Country}
1654
1655 \maketitle
1656
1657 \begin{abstract}
1658 Die Zusammenfassung sollte etwa 70 bis 150 Worte umfassen und besteht in der Regel aus einem Absatz.
1659 \end{abstract}
1660 \begin{keywords}
1661 Schlagwort1 \and Schlagwort2 %Keyword1 \and Keyword2
1662 \end{keywords}
1663 %%% Beginn des Artikeltexts
1664 \section{Überschrift der Ebene 1}
1665 \blindtext[2]
1666
1667 \subsection{Referenzen auf Einträge in der Bibliografie}
1668 Jetzt ein paar Referenzen auf \cite{Bernhard2017} oder auch \cite{ANKOM2014} sowie auf eine Liste \cites[17]{Anderson2012}{Berges2013}{Anderson2001}.
1669
1670 \subsection{Grafiken}
1671 Hier kommt eine Grafik:
1672 \begin{figure}
1673 \includegraphics[width=\textwidth]{example-image-a}
1674 \caption{Eine Beschriftung}
1675 \label{fig:Beispielgrafik}
1676 \end{figure}
1677
1678 Auf die Grafik kann man dann verweisen: \cref{fig:Beispielgrafik}.
1679
1680 \subsection{Mehr Text}
1681 \blindtext[18]
1682
1683 \subsection{Überschrift der Ebene 2}
1684 \blindtext[5]
1685
1686 %%% Ausgabe der Bibliographie (biber vorher aufrufen)
1687 \printbibliography
1688 \end{document}
1689 %</template>
1690 %<*examplebib>
1691 @collection{Anderson2001,
1692 address = {New York and others},
1693 title = {A taxonomy for learning, teaching, and assessing},
1694 subtitle = {A revision of Bloom's taxonomy of educational objectives (gekürzte Version)},
1695 isbn = {978-0-321-08405-7},
1696 publisher = {Longman},
1697 editor = {Anderson, Lorin W. and Krathwohl, David R.},
1698 year = {2001},
1699 }
1700
1701 @article{Anderson2012,
1702 title = {Design-based research},
1703 subtitle = {A decade of progress in education research?},
1704 author = {Anderson, Terry and Shattuck, Julie},
1705 journal = {Educational researcher},
1706 volume = {41},
1707 number = {1},
1708 pages = {16-25},
1709 year = {2012},
1710 publisher= {Sage Publications Sage CA},
1711 location = {Los Angeles, CA}
1712 }
1713
1714 @inproceedings{Berges2013,
1715 author = {Berges, Marc and Hubwieser, Peter and Magenheim, Johannes and Bender, Elena and Bröker, Kathrin and Margaritis-Kopecki, Melanie and Neugebauer, Jonas and Schaper, Niclas and Schubert, Sigrid and Ohrndorf, Laura},
1716 title = {Developing a Competency Model for Teaching Computer Science in Schools},
1717 year = {2013},
1718 isbn = {9781450320788},
1719 publisher= {Association for Computing Machinery},
1720 location = {New York, NY, USA},
1721 doi = {10.1145/2462476.2465607},
1722 booktitle= {Proceedings of the 18th ACM Conference on Innovation and Technology in Computer Science Education},
1723 pages = {327},
1724 location = {Canterbury, England, UK},
1725 eventtitle = {ITiCSE '13}
1726 }
1727
1728 @book{Bernhard2017,
1729 title = {Durch Europäisierung zu mehr Durchlässigkeit?: Veränderungsdynamiken des Verhältnisses von beruflicher Bildung zur Hochschulbildung in Deutschland und Frankreich},
1730 author = {Bernhard, Nadine},
1731 year = {2017},
1732 publisher= {Verlag Barbara Budrich}
1733 }
1734
1735 @online{ANKOM2014,
1736 title = {ANKOM -- Übergänge von der beruflichen in die hochschulische Bildung},
1737 url = {http://ankom.dzhw.eu/},
1738 urldate = {2021-09-20},
1739 author = {{Deutsches Zentrum für Hochschul- und Wissenschaftsforschung (GmbH)}},
1740 year = {2014}
1741 }
1742 %</examplebib>
1743 % \end{macrocode}
1744 %\fi