working template

This commit is contained in:
Ali committed 2022-05-19 01:17:05 +02:00
1 parent 5bfa227b76
commit 40b8a8b308
5 files changed
+70 -25

No files matched your search

+21 -3
View File
@@ -1,16 +1,34 @@
% DO NOT MODIFY THIS FILE
\def\varStyleId{1}
\ifx\varDocClass\undefined
\def \varDocClass{acmart}
\fi
\ifx\varKeyvals\undefined
\def \varKeyvals{sigconf}
\fi
\newcommand{\cmdAuthors}{
\input{preamble/authorsACM}
\input{acm/authors}
}
\newcommand{\cmdKeywords}{
%\newcommand{\cmdKeywords}{
% \keywords{\varKeywords}
% \maketitle
%}
\newcommand{\cmdAbstract}{
\begin{abstract}
\varAbstract
\end{abstract}
\keywords{\varKeywords}
\maketitle
}
\newcommand{\cmdBibStyle}{
\bibliographystyle{ACM-Reference-Format}
\bibliographystyle{bibliography/ACM-Reference-Format}
}
%% \BibTeX command to typeset BibTeX logo in the docs
+23 -4
View File
@@ -1,18 +1,37 @@
% DO NOT MODIFY THIS FILE
\def\varStyleId{2}
\ifx\varDocClass\undefined
\def \varDocClass{IEEEtran}
\fi
\ifx\varKeyvals\undefined
\def \varKeyvals{conference}
\fi
\newcommand{\cmdAuthors}{
\input{preamble/authorsIEEE}
\input{ieee/authors}
\maketitle
}
\newcommand{\cmdKeywords}{
%\newcommand{\cmdKeywords}{
% \begin{IEEEkeywords}
% \varKeywords
% \end{IEEEkeywords}
%}
\newcommand{\cmdAbstract}{
\begin{abstract}
\varAbstract
\end{abstract}
\begin{IEEEkeywords}
\varKeywords
\end{IEEEkeywords}
}
\newcommand{\cmdBibStyle}{
\bibliographystyle{IEEEtran}
\bibliographystyle{bibliography/IEEEtran}
}
\IEEEoverridecommandlockouts
%\IEEEoverridecommandlockouts
+23 -8
View File
@@ -1,14 +1,12 @@
% DO NOT MODIFY THIS FILE
\def\varStyleId{1}
\def\varStyleId{3}
\ifdefined\varDocClass
\else
\ifx\varDocClass\undefined
\def \varDocClass{llncs}
\fi
\ifdefined\varKeyvals
\else
\ifx\varKeyvals\undefined
\def \varKeyvals{runningheads}
\fi
@@ -17,8 +15,24 @@
\maketitle
}
\newcommand{\cmdKeywords}{
\makeatletter
%\makeatletter
%\newcommand{\cmdKeywords}{
% \def\lncsKeywords{}
% \@for\varKeyword:={\varKeywords}\do{
% \ifx\lncsKeywords\empty
% \else
% \g@addto@macro\lncsKeywords{ \and}
% \fi
% \expandafter\g@addto@macro\expandafter\lncsKeywords\expandafter{\varKeyword}
% }
% \keywords{\lncsKeywords}
%}
%\makeatother
\makeatletter
\newcommand{\cmdAbstract}{
\begin{abstract}
\varAbstract
\def\lncsKeywords{}
\@for\varKeyword:={\varKeywords}\do{
\ifx\lncsKeywords\empty
@@ -27,9 +41,10 @@
\fi
\expandafter\g@addto@macro\expandafter\lncsKeywords\expandafter{\varKeyword}
}
\makeatother
\keywords{\lncsKeywords}
\end{abstract}
}
\makeatother
\newcommand{\cmdBibStyle}{
\bibliographystyle{bibliography/splncs04}
+2 -9
View File
@@ -16,6 +16,7 @@
\input{preamble/variables}
\input{\varStyle/config}
\documentclass[\varKeyvals]{\varDocClass}
\input{preamble/packages}
@@ -24,15 +25,7 @@
\begin{document}
\title{\varTitle}
\cmdAuthors
\begin{abstract}
\varAbstract
\if\varStyleId1
%\cmdKeywords
\fi
\end{abstract}
\if\varStyleId2
\cmdKeywords
\fi
\cmdAbstract
\makeatletter
\@for\varSection:={\varSections}\do{\input{sections/\varSection}}
+1 -1
View File
@@ -26,7 +26,7 @@
}
% Define keywords
\def \varKeywords{insert,comma-separated,keywords,here}
\def \varKeywords{insert, comma-separated, keywords, here}
% Define the sections of the paper as a comma-separated list without spaces.
% Each item in the list must refer to a tex file in the sections directory.