\PassOptionsToPackage{cmyk,table}{xcolor}
\documentclass[conference,pbalance]{iaria-lite} % Optional: flushend or pbalance
\pdfoutput=1 % pdflatex hint for arxiv.org (within first 5 lines)

% BEWARE: iaria-lice.cls requires NO specific TeX stack!
% However, the following additionally necessary settings
% (i.e, inputenc/fontenc and bibliography)
% are exemplary configured based on the following stack.
% Other stacks must adopt accordingly, by their own means.

% !TeX spellcheck = en-US
% LTeX: language=en-US
% !TeX encoding = utf8
% !TeX program = pdflatex
% !BIB program = biblatex / biber

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

% en-US  = [english]/[american]/[USenglish] <DEFAULT>
\usepackage[babel=true,english=american]{csquotes}
\usepackage[english]{babel} % en-US
%% IARIA requires uppercase TABLE, and babel intervenes in the tablename
%\addto\captionsenglish{\renewcommand\tablename{TABLE}}
% en-UK  =           [british] /[UKenglish] <OXFORD>
%\usepackage[babel=true,english=british]{csquotes}
%\usepackage[british]{babel} % en-UK
%% IARIA requires uppercase TABLE, and babel intervenes in the tablename
%\addto\captionsbritish{\renewcommand\tablename{TABLE}}

% Diferring from IEEE, IARIA requires 
% in bibliography: 6+ authors as first author et al.
% in \citeauthor: any case of et al. with just first author et al.
\usepackage[
  defernumbers=true,
  style=ieee,
  citestyle=ieee-comp, % this activates cite compression
  backend=biber,
  url=false,
  hyperref,
  maxnames=5,
  minnames=1,
  maxcitenames=2,
  mincitenames=1,
  %%% IARIA requires format for "Accessed: " dates in YYYY-MM-DD
  %urldate=iso8601, % DEPRECATED, use iso
  urldate=iso, % iso requires also seconds=true
  seconds=true
]{biblatex}

% Due to applied option defernumbers=true:
% Prevent citations in the references are being numbered as '0' in ArXiv
% https://tex.stackexchange.com/questions/463556/all-the-citations-in-the-references-are-being-numbered-as-0-in-arxiv-while-upl
\makeatletter
\let\blx@rerun@biber\relax
\makeatother

% When using multiple citation keys in the same \cite command,
% change IEEEtran "[1], [5], [7]" to IARIA-required "[1][5][7]":
%\renewcommand*{\multicitedelim}{][} % for numeric-comp
\renewcommand*{\multicitedelim}{}    % for ieee-comp
%\renewcommand*{\multiciterangedelim}{]--[} % only required for numeric-comp, not for ieee-comp

% Diferring fro IEEE, IARIA requires the bibliography in 9 point font
% (Command \bibfont depends on biblatex)
\renewcommand*{\bibfont}{\small}

% Diferring from IEEE, IARIA requires, for ONLINE entries, no point but a comma between author and title:
% For style=ieee
\DeclareBibliographyDriver{online}{%
    \usebibmacro{bibindex}%
    \usebibmacro{begentry}%
    \usebibmacro{author/editor+others/translator+others}
    \setunit{\labelnamepunct}\newblock
    \usebibmacro{title}%
    \newunit
    \printlist{language}%
    \newunit\newblock
    \usebibmacro{byauthor}%
    \newunit\newblock
    \usebibmacro{byeditor+others}%
    \newunit\newblock
    \printfield{version}%
    \newunit
    \printfield{note}%
    \newunit\newblock
    \printlist{organization}
    \newunit\newblock
    \usebibmacro{date}%
    \newunit\newblock
    \iftoggle{bbx:eprint}
    {\usebibmacro{eprint}}
    {}%
    \newunit\newblock
    \usebibmacro{url+urldate}%
    \newunit\newblock
    \usebibmacro{addendum+pubstate}%
    \setunit{\bibpagerefpunct}\newblock
    \usebibmacro{pageref}%
    \usebibmacro{finentry}}

% Allows to hyphenate a word that contains a dash:
% https://stackoverflow.com/questions/2193307/how-do-i-get-latex-to-hyphenate-a-word-that-contains-a-dash
\usepackage[shortcuts]{extdash} % Use \-/ for a breakable dash that does not prevent the remainer of the word to be hyphenated

\usepackage[alwaysadjust]{paralist}
\usepackage[caption=false,font=footnotesize]{subfig}

\addbibresource{embedded.bib}
\addbibresource{cpn_all_all.bib}

\usepackage[
  babel=true, % Enable language-specific kerning. Take language-settings from the languge of the current document (see Section 6 of microtype.pdf)
  expansion=alltext,
  protrusion=alltext-nott, % Ensure that at listings, there is no change at the margin of the listing
  nopatch=eqnum, % fix unable to apply patch eqnum
  final % Always enable microtype, even if in draft mode. This helps finding bad boxes quickly.
        % 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
]{microtype}

\begin{filecontents}[overwrite]{embedded.bib}
@online{ieee2015howto,
    author = {Michael Shell},
    title = {How to Use the {IEEEtran} \LaTeX\ Class},
    url = {http://mirrors.ctan.org/macros/latex/contrib/IEEEtran/IEEEtran_HOWTO.pdf},
    year = {2015},
    urldate = {2025-03-10}
}
@online{ieee2018formattingrules,
    author = {{IEEE}},
    title = {Conference Template and Formatting Specifications},
    url = {https://www.ieee.org/content/dam/ieee-org/ieee/web/org/conferences/Conference-template-A4.doc},
    year = {2018},
    urldate={2025-03-10}
}
@online{iaria2014formattingrules,
    author = {{IARIA}},
    title = {Formatting Rules},
    url = {http://www.iaria.org/formatting.doc},
    year = {2014},
    urldate={2025-03-10}
}
@online{iaria2009editorialrules,
    _author = {Cosmin Dini},
    author = {{IARIA}},
    title = {Editorial Rules},
    url = {https://www.iaria.org/editorialrules.html},
    year = {2009},
    urldate={2025-03-10}
}
@online{languagetool,
    author = {{LanguageTooler GmbH}},
    title  = {{LangueTool}},
    url    = {https://languagetool.org/overleaf},
    urldate={2025-03-10}
}
@online{overleaf,
    author = {{Digital Science UK Limited}},
    title  = {{Overleaf}},
    url    = {https://www.overleaf.com},
    urldate={2025-03-10}
}
\end{filecontents}

\usepackage{fontawesome} % i.a., \faWarning{}
\usepackage{relsize}     % i.a., \textsmaller{...}
\usepackage{lipsum}      % for blindtext
%\usepackage{xurl}       % allow URL breaks at any alphanumerical character (can help with some bibliographies)

% ======================================================================

% https://www.silbentrennung24.de/
% https://www.hyphenation24.com/
\hyphenation{block-chain block-chains Ethe-re-um}

% Capitalization: https://capitalizemytitle.com/style/Chicago/
%\title{The Unofficial \textsmaller{IARIA}-lite \LaTeX{} Class Paper Example (v2024-09)}
\title{The \textsmaller{IARIA}-lite Formatting Example of its \textsmaller{CTAN} Package and LaTeX Class}

\IEEEspecialpapernotice{Compatible With All LaTeX Distributions, but Without \textsmaller{IARIA} Specifications for Citation Style}

\author{
    \IEEEauthorblockN{Christoph P.\ Neumann\,\orcidlink{0000-0002-5936-631X}}
    \IEEEauthorblockA{%
        Department of Electrical Engineering, Media, and Computer Science\\
        Ostbayerische Technische Hochschule Amberg-Weiden\\
        Amberg, Germany\\
        % Diferring from IEEE ("Email"), IARIA requires "e-mail":
        e-mail: \texttt{c.neumann@oth-aw.de}
        % Multiple authors and their e-mail addresses:
        %e-mail: {\tt$\lbrace$j.smith\,|\,c.neumann$\rbrace$@oth-aw.de}
    }
}

\begin{document}

\maketitle

\begin{abstract}
This paper demonstrates an example of a paper, based on the \texttt{iaria-lite} LaTeX class.
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.
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.
The example is intended for beginners, e.\,g., undergraduate students.
It contains a basic outline template and usually fills it with dummy text.
Graphic exclamation marks highlight important remarks.
\end{abstract}

% A list of IEEE Computer Society appoved keywords can be obtained at
% http://www.computer.org/mc/keywords/keywords.htm
\begin{IEEEkeywords}
    template; lorem ipsum.
\end{IEEEkeywords}

\{\,\faWarning{} For beginners:
Do NOT remove the abstract, this section is mandatory.
Do NOT use special characters, symbols, or math in your title or abstract.
Do NOT use cites in your abstract.\}

\section{Introduction}

The \textsmaller{IARIA} formatting is based on \textsmaller{IEEE} style.
The unofficial \textsmaller{IARIA}-lite \LaTeX\ class is based on \textsmaller{IEEE}tran class \cite{ieee2015howto}.
The \textsmaller{IARIA} formatting rules \cite{iaria2014formattingrules} are adopted from the \textsmaller{IEEE} template and formatting specifications \cite{ieee2018formattingrules}.
In addition, be aware of the supplementary \textsmaller{IARIA} editorial rules \cite{iaria2009editorialrules} \faWarning{} that provide a beginner-friendly set of further advices.
It is recommended to use a grammar tool, e.\,g., the LanguageTool \cite{languagetool} browser plugin in combination with Overleaf \cite{overleaf}.

Testing multicitedelim \cite{iaria2014formattingrules,iaria2009editorialrules} and multiciterangedelim \cite{iaria2014formattingrules,ieee2018formattingrules,iaria2009editorialrules}.

\lipsum[12]

\{\faWarning{} \textsmaller{IARIA} editorial rules: Introduction must end with a paragraph describing the structure of the paper!\}
The remainder of the paper is organized as follows: In Section~II, …

\section{Related work \textbar{} Methods}
\lipsum[13]

\section{Results}
\lipsum[14]

\section{Discussion \textbar{} Evalution}
\lipsum[15]

\section{Conclusion and Future Work}
\{\faWarning{} \textsmaller{IARIA} editorial rules: Last section must be \textquote{Conclusion and Future Work}!\}
\lipsum[16]

\{\,\faWarning{} For beginners: you must not leave the bibliography blank. Add appropriate references to your related work.\}
%
%\vspace{\baselineskip}
Previous  \textsmaller{IARIA} publications of the CyberLytics lab
%
\cite{%
StNe25kosmosisapproach,%
StNe25kosmosisGraphConstruction,%
StNe25kosmosisUseCase,%
LeNe24goalHijackingLLMs,%
LeNe24vocattllm,%
PANP23seccloudfogai,%
StNe23foodfresh}
%
are included as reference and further example.

% ======== References =========
\printbibliography

\end{document}
