summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/iaria/iaria.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/iaria/iaria.dtx')
-rw-r--r--macros/latex/contrib/iaria/iaria.dtx74
1 files changed, 50 insertions, 24 deletions
diff --git a/macros/latex/contrib/iaria/iaria.dtx b/macros/latex/contrib/iaria/iaria.dtx
index 8d8d394d09..bc091c3b83 100644
--- a/macros/latex/contrib/iaria/iaria.dtx
+++ b/macros/latex/contrib/iaria/iaria.dtx
@@ -1,16 +1,16 @@
%\iffalse
% iaria.dtx generated using makedtx version 1.2 (c) Nicola Talbot
% Command line args:
-% -setambles ".*=>\nopreamble"
+% -author "Christoph P. Neumann "
% -dir "src"
-% -src "(iaria.cls)=>\1"
+% -src "(_cpn_copyIntoExamplesFolder_cls.cmd|iaria.cls)=>\1"
+% -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. "
% -date "2023-2024"
-% -author "Christoph P. Neumann "
-% -macrocode ".*"
-% -preamble "Copyright 2024 Christoph P. Neumann This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 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. "
% -doc "doc/iaria.tex"
+% -macrocode ".*"
+% -setambles ".*=>\nopreamble"
% iaria
-% Created on 2024/3/20 15:50
+% Created on 2024/4/10 18:20
%\fi
%\iffalse
%<*package>
@@ -37,23 +37,6 @@
% \fi
% \iffalse
%<*driver>
-%%
-%% Copyright 2023 Christoph P. Neumann
-%%
-%% This LaTeX class provides a simple interface for creating
-%% a verfy fancy Curriculum Vitae. At the moment only CVs in
-%% the german language are supported.
-%%
-%% This file is free property; as a special exception the author
-%% gives unlimited permission to copy and/or distribute it, with
-%% or without modifications, as long as this notice is
-%% preserved.
-%%
-%% This file is distributed in the hope that it will be useful,
-%% but WITHOUT ANY WARRANTY, to the extent permitted by law;
-%% without even the implied warranty of MERCHANTABILITY or
-%% FITNESS FOR A PARTICULAR PURPOSE.
-
\documentclass{ltxdoc}
\CodelineNumbered
@@ -73,6 +56,7 @@
%\title{\textsf{iaria}\\
%An Unofficial IARIA LaTeX Class}
%\author{Christoph P.\ Neumann \texttt{$<$cyberpetaneuron@gmail.com$>$}}
+%\date{Version 0.2}
%\maketitle
%\PrintChanges
%
@@ -165,6 +149,31 @@
%\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}
+%</_cpn_copyIntoExamplesFolder_cls.cmd>
+% \end{macrocode}
+%\fi
+%\iffalse
+% \begin{macrocode}
%<*iaria.cls>
% \end{macrocode}
%\fi
@@ -197,7 +206,7 @@
\NeedsTeXFormat{LaTeX2e}
% Provide the name of your document class, the date it was last updated, and a comment about what it's used for
-\ProvidesClass{iaria}[2023/01/01 unofficial IARIA conference template]
+\ProvidesClass{iaria}[2024/04/10 unofficial IARIA conference template v0.2]
% Define marker counter for options (counter are global in latex):
\newcounter{iaria@pbalancetracker}
@@ -300,6 +309,10 @@
% 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:
@@ -319,6 +332,19 @@
\crcr}
\makeatother
+% IARIA subfigure captions require this:
+\RequirePackage[caption=false,font=footnotesize]{subfig}
+
+% IARIA requires to bring the table caption in the same line of "Table I"
+\usepackage{etoolbox}
+\makeatletter
+\patchcmd{\@makecaption}
+ {\\}
+ {.\ }
+ {}
+ {}
+\makeatother
+
% 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
\RequirePackage[shortcuts]{extdash} % Use \-/ for a breakable dash that does not prevent the remainer of the word to be hyphenated