%\iffalse % iaria-lite.dtx generated using makedtx version 1.2 (c) Nicola Talbot % Command line args: % -date "2024-2024" % -doc "doc/iaria-lite.tex" % -preamble "Copyright 2023-2024 Christoph P. Neumann This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c of this license or any later version. The latest version of this license is in https://www.latex-project.org/lppl.txt and version 1.3c or later is part of all distributions of LaTeX version 2008 or later. This work has the LPPL maintenance status maintained. The Current Maintainer of this work is Christoph P. Neumann. " % -dir "src" % -setambles ".*=>\nopreamble" % -author "Christoph P. Neumann " % -src "(_cpn_copyIntoExamplesFolder_cls.cmd|iaria-lite.cls)=>\1" % -macrocode ".*" % iaria-lite % Created on 2024/10/26 14:47 %\fi %\iffalse %<*package> %% \CharacterTable %% {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 %% 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 %% Digits \0\1\2\3\4\5\6\7\8\9 %% Exclamation \! Double quote \" Hash (number) \# %% Dollar \$ Percent \% Ampersand \& %% Acute accent \' Left paren \( Right paren \) %% Asterisk \* Plus \+ Comma \, %% Minus \- Point \. Solidus \/ %% Colon \: Semicolon \; Less than \< %% Equals \= Greater than \> Question mark \? %% Commercial at \@ Left bracket \[ Backslash \\ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} % %\fi % \iffalse % Doc-Source file to use with LaTeX2e % Copyright (C) 2024-2024 Christoph P. Neumann , all rights reserved. % \fi % \iffalse %<*driver> \documentclass{ltxdoc} \CodelineNumbered \EnableCrossrefs \CodelineIndex \RecordChanges \GetFileInfo{iaria-lite.cls} \parskip1.0ex \parindent0.0ex \begin{document} \DocInput{iaria-lite.dtx} \end{document} % %\fi %\title{\textsf{iaria-lite}\\ % An Unofficial IARIA LaTeX Class (Lite Version)} %\author{Christoph P.\ Neumann \texttt{$<$cyberpetaneuron@gmail.com$>$}} %\date{Version 0.5} %\maketitle %\PrintChanges % %\begin{abstract} %The \texttt{iaria-lite}--class provides a convenient environment for writing IARIA scholary publications. %(The lite version of the class file does not implement IARIA specifications for citation style, %because this would require to make presumption about technological stacks like biblatex/biber). %The \texttt{iaria-lite}--class should be compatible with with all latex distributions. %\end{abstract} % %\section{Installation} % %The \texttt{zip} or \texttt{tar.gz} file comes with a \texttt{iaria-lite.ins} %and a \texttt{iaria-lite.dtx} file included which contains the \LaTeX\ stuff. % %To extract the class files call: % %\begin{verbatim} % $ latex iaria-lite.ins %\end{verbatim} % %This call will extract all \LaTeX\ specific files to the current %directory. You can either use the files for a single %cv project or you can integrate the files into your \TeX\ installation. % %If you just want to use \textsf{iaria-lite} for a single curriculum vitae %project, the simplest way is just to copy the generated files to the %folder of the project. % %If you want to integrate \textsf{iaria-lite} into your \TeX\ installation, %create a directory \texttt{tex/latex/iaria-lite} beneath your \TeX\ installation %(e.g.~beneath \texttt{/usr/share/texmf}) and copy all files from the %current directory there. Now call: % %\begin{verbatim} % $ mktexlsr %\end{verbatim} % %to update the file--cache of \LaTeX. % %Hint: The \textsf{iaria-lite} distribution contains a sample docstrip configuration %in \texttt{docstrip.cfg} via which files can be distributed %automatically to their correct positions inside a \LaTeX\ installation. %Feel free to adapt this file to your environment and afterwards call %\texttt{latex iaria-lite.ins} to install the package to its right place. % %\section{Templates} % %For a quick start the \textsf{iaria-lite} distribution contains document %templates. %The templates can be found in the \texttt{iaria-lite-example-neumann.zip} file. % %\begin{verbatim} % $ make %\end{verbatim} % %to build the pdf. The file \texttt{porttrait.eps} contains a dummy %porttrait for the first page of the curriculum vitae. % %\section{Documentclass} % %\DescribeMacro{documentclass iaria-lite} %This package provides the documentclass \texttt{iaria-lite}. The documentclass %supports the following options: % %\begin{itemize} %\item |conference| Passed to IEEEtran %\item |a4paper| Passed to IEEEtran %\item |subfig| Loads subfig package with IARIA style settings %\item |subcaption| Loads subcaption package with IARIA style settings %\item |flushend| Activate flushend package (compatible with arXiv build process) %\item |pbalance| Activate pbalance package (incompatible with arXiv build process) %\end{itemize} % %A Remark about two-column document balancing on the last page: %The flushend package is recommended, because it works within the arXiv automated build process. %However, flushend has a major incampatibility with package lineno, which is, e.\,g., transitively loaded by package mindflow. %Thus, in case when flushend does not have any effect, check whether one of your packages loads lineno. %Usually you are stuck with your packages and, thus, will instead be forced to switch from flushend to pbalance. %Please be aware that pbalance works great and has high compatibility, but unfortunately it will not have any effect within the arXiv automated build process. %In case of both, a somehow needed lineno package and an intended arXiv upload, I recommend to do without two-column balancing on the last page and just to stay away from both flushend and pbalance, in order to ensure that your paper is layouted identically in IARIA submission and arXiv upload. %I hope this remark proves helpful, it took me some nerve to find out. % %There is also another important difference between flushend and pbalance: the handling of footnotes on the last page. %Flushend provides a decent result, but the result of pbalance is incomprehensible. %I strongly recommend avoiding footnotes on the last page. %If you absolutely need footnotes on the last page, consider staying away from two-column balancing on the last page. % %About subfigures: %Both well-known packages subfig and subcaption can be used. %However, they are not compatible with each other and we can either load one or the other. %Both require dedicated style settings to be compatible with IARIA formatting rules. %Thus, the document class provides options to load them for you with correct settings. % %\section{Requirements} % %We instrument several other \LaTeX\ packages for different purposes, %which must be available under your installation. % %\begin{itemize} %\item IEEEtran %\item extdash %\item flushend %\item graphicx %\item hyperref %\item orcidlink %\item pbalance %\item subcaption %\item subfig %\item times %\item url %\item xcolor %\item xpatch %\end{itemize} % % %\StopEventually{} %\section{The Code} %\iffalse % \begin{macrocode} %<*_cpn_copyIntoExamplesFolder_cls.cmd> % \end{macrocode} %\fi % \begin{macrocode} @echo off rem *************************************************************************** rem * author: Christoph P. Neumann rem *************************************************************************** cd /d "%~dp0" echo == ..\examples\* == for /D %%D in (..\examples\*) do ( echo == %%D == xcopy /Y ".\*.cls" "%%~D" ) pause% \end{macrocode} %\iffalse % \begin{macrocode} % % \end{macrocode} %\fi %\iffalse % \begin{macrocode} %<*iaria-lite.cls> % \end{macrocode} %\fi % \begin{macrocode} %# Copyright (c) 2023-2024 Christoph P. Neumann % DISCLAIMER: % I had to decide whether to hardcode required usage of IEEEtran "conference" % option into my class. I decided against it. % Thus, it is required to use IARIA class like this: % \documentclass[conference]{iaria}. % The iaria class passes all class options (like "conference") to IEEEtran. % The reasoning: There might be a future use case (speculatively) to pass % IEEEtran options like "a4paper", for IARIA purposes (?) % For now, IARIA requires IEEE "conference" option, only. \NeedsTeXFormat{LaTeX2e} \ProvidesClass{iaria-lite}[2024/10/24 unofficial IARIA-lite conference template v0.5] % Define marker counter for options (counter are global in latex): \newcounter{iaria@subfigtracker} \newcounter{iaria@subcaptiontracker} \newcounter{iaria@pbalancetracker} \newcounter{iaria@flushendtracker} % Declare options: \DeclareOption{subfig}{ \setcounter{iaria@subfigtracker}{1} \typeout{iaria class: subfig option is set (use subfloat command).} } \DeclareOption{subcaption}{ \setcounter{iaria@subcaptiontracker}{1} \typeout{iaria class: subcaption option is set (use subfigure command).} } % IEEE option onecolumn will be ignored \DeclareOption{onecolumn}{\OptionNotUsed} \DeclareOption{pbalance}{ \setcounter{iaria@pbalancetracker}{1} \typeout{iaria class: pbalance option is set.} } \DeclareOption{flushend}{ \setcounter{iaria@flushendtracker}{1} \typeout{iaria class: flushend option is set.} } % We'll pass any document class options along to the underlying class % required IEEE options: conference! For IARIA purposes. \DeclareOption*{% \PassOptionsToClass{\CurrentOption}{IEEEtran} } % Now we'll execute any options passed in \ProcessOptions\relax % Instead of defining each and every little detail % required to create a new document class, % you can base your class on an existing document class. \LoadClass{IEEEtran} \RequirePackage{times} % Times New Roman \RequirePackage{graphicx} \RequirePackage{xcolor} \RequirePackage{url} \RequirePackage{orcidlink} \RequirePackage{hyperref} \hypersetup{hidelinks,unicode} \makeatletter % Diferring from IEEE, IARIA requires non-abbreviated references: \renewcommand{\fnum@figure}{Figure~\thefigure} % Diferring from IEEE, IARIA requires 14 point bold Times for the title \renewcommand{\title}[1]{\renewcommand{\@title}{\bfseries\Large #1}} % Diferring from IEEE, IARIA requires "Keywords" instead of "Index Terms": \renewcommand\IEEEkeywordsname{Keywords} \makeatother \RequirePackage{xpatch} % Diferring from IEEE, IARIA requires a hyphen % after "Keywords" instead of an emdash: \xpatchcmd\IEEEkeywords{---}{-}{}{} % Diferring from IEEE, IARIA requires also the keywords in Italic % (and Bold)(and lower case!): \let\oldIEEEkeywords\IEEEkeywords \def\IEEEkeywords{\oldIEEEkeywords\itshape\ignorespaces} \makeatletter \renewcommand{\IEEEauthorblockN}[1]{% % copied from IEEEtran.cls: \relax\@IEEEauthorblockNstyle% set the default text style \gdef\@IEEEauthorblockXinterlinespace{0pt}% disable strut for spacer row \if@IEEEprevauthorblockincol\expandafter\@IEEEauthorblockNtopspaceline\fi \global\@IEEEprevauthorblockincoltrue% we now have a block in this column \gdef\@IEEEauthorblockXinterlinespace{\@IEEEauthorblockNinterlinespace}% \large #1% \crcr} \makeatother % IARIA requires to bring the table caption in the same line of "Table I" \usepackage{etoolbox} \makeatletter \patchcmd{\@makecaption} {\\} {.\ } {} {} \makeatother % IARIA subfigure captions require parentheses and footnotesize: \ifnum\value{iaria@subfigtracker}=1 \typeout{iaria class: load subfig package (use subfloat command).} \RequirePackage[caption=false,font=footnotesize]{subfig} \fi \ifnum\value{iaria@subcaptiontracker}=1 \typeout{iaria class: load subcaption package (use subfigure command).} \RequirePackage{subcaption} \captionsetup[subfigure]{labelformat=parens,font=footnotesize} \fi % Balance/level columns at the last page / in bibliography % DISCLAIMER: No solution is a 100%/perfect one! % Mainstream option: pbalance (see https://ctan.org/pkg/pbalance) % BUT: incompatible with arxiv automated process (!) \ifnum\value{iaria@pbalancetracker}=1 \typeout{iaria class: load pbalance package.} \RequirePackage{pbalance} \fi % Flushend => works with arxiv, but major incampatibility with lineno % (and, thus, also with mindflow et al.) \ifnum\value{iaria@flushendtracker}=1 \typeout{iaria class: load flushend package.} \RequirePackage{flushend} \fi % Finally, we'll use \endinput to indicate that LaTeX can stop % reading this file. LaTeX will ignore anything after this line. \endinput % \end{macrocode} %\iffalse % \begin{macrocode} % % \end{macrocode} %\fi %\Finale \endinput