Debian Codegraph @

texmf-dist/doc/latex/iaria-lite/template/iaria-lite-example-ctan.tex

raw
1 \PassOptionsToPackage{cmyk,table}{xcolor}
2 \documentclass[conference,pbalance]{iaria-lite} % Optional: flushend or pbalance
3 \pdfoutput=1 % pdflatex hint for arxiv.org (within first 5 lines)
4
5 % BEWARE: iaria-lice.cls requires NO specific TeX stack!
6 % However, the following additionally necessary settings
7 % (i.e, inputenc/fontenc and bibliography)
8 % are exemplary configured based on the following stack.
9 % Other stacks must adopt accordingly, by their own means.
10
11 % !TeX spellcheck = en-US
12 % LTeX: language=en-US
13 % !TeX encoding = utf8
14 % !TeX program = pdflatex
15 % !BIB program = biblatex / biber
16
17 \usepackage[utf8]{inputenc}
18 \usepackage[T1]{fontenc}
19
20 % en-US = [english]/[american]/[USenglish] <DEFAULT>
21 \usepackage[babel=true,english=american]{csquotes}
22 \usepackage[english]{babel} % en-US
23 %% IARIA requires uppercase TABLE, and babel intervenes in the tablename
24 %\addto\captionsenglish{\renewcommand\tablename{TABLE}}
25 % en-UK = [british] /[UKenglish] <OXFORD>
26 %\usepackage[babel=true,english=british]{csquotes}
27 %\usepackage[british]{babel} % en-UK
28 %% IARIA requires uppercase TABLE, and babel intervenes in the tablename
29 %\addto\captionsbritish{\renewcommand\tablename{TABLE}}
30
31 % Diferring from IEEE, IARIA requires
32 % in bibliography: 6+ authors as first author et al.
33 % in \citeauthor: any case of et al. with just first author et al.
34 \usepackage[
35 defernumbers=true,
36 style=ieee,
37 citestyle=ieee-comp, % this activates cite compression
38 backend=biber,
39 url=false,
40 hyperref,
41 maxnames=5,
42 minnames=1,
43 maxcitenames=2,
44 mincitenames=1,
45 %%% IARIA requires format for "Accessed: " dates in YYYY-MM-DD
46 %urldate=iso8601, % DEPRECATED, use iso
47 urldate=iso, % iso requires also seconds=true
48 seconds=true
49 ]{biblatex}
50
51 % Due to applied option defernumbers=true:
52 % Prevent citations in the references are being numbered as '0' in ArXiv
53 % https://tex.stackexchange.com/questions/463556/all-the-citations-in-the-references-are-being-numbered-as-0-in-arxiv-while-upl
54 \makeatletter
55 \let\blx@rerun@biber\relax
56 \makeatother
57
58 % When using multiple citation keys in the same \cite command,
59 % change IEEEtran "[1], [5], [7]" to IARIA-required "[1][5][7]":
60 %\renewcommand*{\multicitedelim}{][} % for numeric-comp
61 \renewcommand*{\multicitedelim}{} % for ieee-comp
62 %\renewcommand*{\multiciterangedelim}{]--[} % only required for numeric-comp, not for ieee-comp
63
64 % Diferring fro IEEE, IARIA requires the bibliography in 9 point font
65 % (Command \bibfont depends on biblatex)
66 \renewcommand*{\bibfont}{\small}
67
68 % Diferring from IEEE, IARIA requires, for ONLINE entries, no point but a comma between author and title:
69 % For style=ieee
70 \DeclareBibliographyDriver{online}{%
71 \usebibmacro{bibindex}%
72 \usebibmacro{begentry}%
73 \usebibmacro{author/editor+others/translator+others}
74 \setunit{\labelnamepunct}\newblock
75 \usebibmacro{title}%
76 \newunit
77 \printlist{language}%
78 \newunit\newblock
79 \usebibmacro{byauthor}%
80 \newunit\newblock
81 \usebibmacro{byeditor+others}%
82 \newunit\newblock
83 \printfield{version}%
84 \newunit
85 \printfield{note}%
86 \newunit\newblock
87 \printlist{organization}
88 \newunit\newblock
89 \usebibmacro{date}%
90 \newunit\newblock
91 \iftoggle{bbx:eprint}
92 {\usebibmacro{eprint}}
93 {}%
94 \newunit\newblock
95 \usebibmacro{url+urldate}%
96 \newunit\newblock
97 \usebibmacro{addendum+pubstate}%
98 \setunit{\bibpagerefpunct}\newblock
99 \usebibmacro{pageref}%
100 \usebibmacro{finentry}}
101
102 % Allows to hyphenate a word that contains a dash:
103 % https://stackoverflow.com/questions/2193307/how-do-i-get-latex-to-hyphenate-a-word-that-contains-a-dash
104 \usepackage[shortcuts]{extdash} % Use \-/ for a breakable dash that does not prevent the remainer of the word to be hyphenated
105
106 \usepackage[alwaysadjust]{paralist}
107 \usepackage[caption=false,font=footnotesize]{subfig}
108
109 \addbibresource{embedded.bib}
110 \addbibresource{cpn_all_all.bib}
111
112 \usepackage[
113 babel=true, % Enable language-specific kerning. Take language-settings from the languge of the current document (see Section 6 of microtype.pdf)
114 expansion=alltext,
115 protrusion=alltext-nott, % Ensure that at listings, there is no change at the margin of the listing
116 nopatch=eqnum, % fix unable to apply patch eqnum
117 final % Always enable microtype, even if in draft mode. This helps finding bad boxes quickly.
118 % In the standard configuration, this template is always in the final mode, so this option only makes a difference if "pros" use the draft mode
119 ]{microtype}
120
121 \begin{filecontents}[overwrite]{embedded.bib}
122 @online{ieee2015howto,
123 author = {Michael Shell},
124 title = {How to Use the {IEEEtran} \LaTeX\ Class},
125 url = {http://mirrors.ctan.org/macros/latex/contrib/IEEEtran/IEEEtran_HOWTO.pdf},
126 year = {2015},
127 urldate = {2025-03-10}
128 }
129 @online{ieee2018formattingrules,
130 author = {{IEEE}},
131 title = {Conference Template and Formatting Specifications},
132 url = {https://www.ieee.org/content/dam/ieee-org/ieee/web/org/conferences/Conference-template-A4.doc},
133 year = {2018},
134 urldate={2025-03-10}
135 }
136 @online{iaria2014formattingrules,
137 author = {{IARIA}},
138 title = {Formatting Rules},
139 url = {http://www.iaria.org/formatting.doc},
140 year = {2014},
141 urldate={2025-03-10}
142 }
143 @online{iaria2009editorialrules,
144 _author = {Cosmin Dini},
145 author = {{IARIA}},
146 title = {Editorial Rules},
147 url = {https://www.iaria.org/editorialrules.html},
148 year = {2009},
149 urldate={2025-03-10}
150 }
151 @online{languagetool,
152 author = {{LanguageTooler GmbH}},
153 title = {{LangueTool}},
154 url = {https://languagetool.org/overleaf},
155 urldate={2025-03-10}
156 }
157 @online{overleaf,
158 author = {{Digital Science UK Limited}},
159 title = {{Overleaf}},
160 url = {https://www.overleaf.com},
161 urldate={2025-03-10}
162 }
163 \end{filecontents}
164
165 \usepackage{fontawesome} % i.a., \faWarning{}
166 \usepackage{relsize} % i.a., \textsmaller{...}
167 \usepackage{lipsum} % for blindtext
168 %\usepackage{xurl} % allow URL breaks at any alphanumerical character (can help with some bibliographies)
169
170 % ======================================================================
171
172 % https://www.silbentrennung24.de/
173 % https://www.hyphenation24.com/
174 \hyphenation{block-chain block-chains Ethe-re-um}
175
176 % Capitalization: https://capitalizemytitle.com/style/Chicago/
177 %\title{The Unofficial \textsmaller{IARIA}-lite \LaTeX{} Class Paper Example (v2024-09)}
178 \title{The \textsmaller{IARIA}-lite Formatting Example of its \textsmaller{CTAN} Package and LaTeX Class}
179
180 \IEEEspecialpapernotice{Compatible With All LaTeX Distributions, but Without \textsmaller{IARIA} Specifications for Citation Style}
181
182 \author{
183 \IEEEauthorblockN{Christoph P.\ Neumann\,\orcidlink{0000-0002-5936-631X}}
184 \IEEEauthorblockA{%
185 Department of Electrical Engineering, Media, and Computer Science\\
186 Ostbayerische Technische Hochschule Amberg-Weiden\\
187 Amberg, Germany\\
188 % Diferring from IEEE ("Email"), IARIA requires "e-mail":
189 e-mail: \texttt{[email protected]}
190 % Multiple authors and their e-mail addresses:
191 %e-mail: {\tt$\lbrace$j.smith\,|\,c.neumann$\[email protected]}
192 }
193 }
194
195 \begin{document}
196
197 \maketitle
198
199 \begin{abstract}
200 This paper demonstrates an example of a paper, based on the \texttt{iaria-lite} LaTeX class.
201 The \texttt{iaria-lite} class is compatible with all LaTeX distributions, in contrast to \texttt{iaria} class. To achieve this compatibility, the lite variant dispenses with implementing the \textsmaller{IARIA} specifications for citation style.
202 However, this example paper includes the necessary citation style adoptions for a pdflatex/biblatex/biber technology stack in its source code, you need to adopt them for any other LaTeX distributions.
203 The example is intended for beginners, e.\,g., undergraduate students.
204 It contains a basic outline template and usually fills it with dummy text.
205 Graphic exclamation marks highlight important remarks.
206 \end{abstract}
207
208 % A list of IEEE Computer Society appoved keywords can be obtained at
209 % http://www.computer.org/mc/keywords/keywords.htm
210 \begin{IEEEkeywords}
211 template; lorem ipsum.
212 \end{IEEEkeywords}
213
214 \{\,\faWarning{} For beginners:
215 Do NOT remove the abstract, this section is mandatory.
216 Do NOT use special characters, symbols, or math in your title or abstract.
217 Do NOT use cites in your abstract.\}
218
219 \section{Introduction}
220
221 The \textsmaller{IARIA} formatting is based on \textsmaller{IEEE} style.
222 The unofficial \textsmaller{IARIA}-lite \LaTeX\ class is based on \textsmaller{IEEE}tran class \cite{ieee2015howto}.
223 The \textsmaller{IARIA} formatting rules \cite{iaria2014formattingrules} are adopted from the \textsmaller{IEEE} template and formatting specifications \cite{ieee2018formattingrules}.
224 In addition, be aware of the supplementary \textsmaller{IARIA} editorial rules \cite{iaria2009editorialrules} \faWarning{} that provide a beginner-friendly set of further advices.
225 It is recommended to use a grammar tool, e.\,g., the LanguageTool \cite{languagetool} browser plugin in combination with Overleaf \cite{overleaf}.
226
227 Testing multicitedelim \cite{iaria2014formattingrules,iaria2009editorialrules} and multiciterangedelim \cite{iaria2014formattingrules,ieee2018formattingrules,iaria2009editorialrules}.
228
229 \lipsum[12]
230
231 \{\faWarning{} \textsmaller{IARIA} editorial rules: Introduction must end with a paragraph describing the structure of the paper!\}
232 The remainder of the paper is organized as follows: In Section~II, …
233
234 \section{Related work \textbar{} Methods}
235 \lipsum[13]
236
237 \section{Results}
238 \lipsum[14]
239
240 \section{Discussion \textbar{} Evalution}
241 \lipsum[15]
242
243 \section{Conclusion and Future Work}
244 \{\faWarning{} \textsmaller{IARIA} editorial rules: Last section must be \textquote{Conclusion and Future Work}!\}
245 \lipsum[16]
246
247 \{\,\faWarning{} For beginners: you must not leave the bibliography blank. Add appropriate references to your related work.\}
248 %
249 %\vspace{\baselineskip}
250 Previous \textsmaller{IARIA} publications of the CyberLytics lab
251 %
252 \cite{%
253 StNe25kosmosisapproach,%
254 StNe25kosmosisGraphConstruction,%
255 StNe25kosmosisUseCase,%
256 LeNe24goalHijackingLLMs,%
257 LeNe24vocattllm,%
258 PANP23seccloudfogai,%
259 StNe23foodfresh}
260 %
261 are included as reference and further example.
262
263 % ======== References =========
264 \printbibliography
265
266 \end{document}