mirror of
https://github.com/HaririAli/cs-paper-template.git
synced 2026-10-28 09:44:02 +00:00
working template
This commit is contained in:
1 parent
5bfa227b76
commit
40b8a8b308
5 files changed
+82
-37
No files matched your search
+21
-3
@@ -1,16 +1,34 @@
|
|||||||
% DO NOT MODIFY THIS FILE
|
% DO NOT MODIFY THIS FILE
|
||||||
|
|
||||||
|
\def\varStyleId{1}
|
||||||
|
|
||||||
|
\ifx\varDocClass\undefined
|
||||||
|
\def \varDocClass{acmart}
|
||||||
|
\fi
|
||||||
|
|
||||||
|
\ifx\varKeyvals\undefined
|
||||||
|
\def \varKeyvals{sigconf}
|
||||||
|
\fi
|
||||||
|
|
||||||
\newcommand{\cmdAuthors}{
|
\newcommand{\cmdAuthors}{
|
||||||
\input{preamble/authorsACM}
|
\input{acm/authors}
|
||||||
}
|
}
|
||||||
|
|
||||||
\newcommand{\cmdKeywords}{
|
%\newcommand{\cmdKeywords}{
|
||||||
|
% \keywords{\varKeywords}
|
||||||
|
% \maketitle
|
||||||
|
%}
|
||||||
|
|
||||||
|
\newcommand{\cmdAbstract}{
|
||||||
|
\begin{abstract}
|
||||||
|
\varAbstract
|
||||||
|
\end{abstract}
|
||||||
\keywords{\varKeywords}
|
\keywords{\varKeywords}
|
||||||
\maketitle
|
\maketitle
|
||||||
}
|
}
|
||||||
|
|
||||||
\newcommand{\cmdBibStyle}{
|
\newcommand{\cmdBibStyle}{
|
||||||
\bibliographystyle{ACM-Reference-Format}
|
\bibliographystyle{bibliography/ACM-Reference-Format}
|
||||||
}
|
}
|
||||||
|
|
||||||
%% \BibTeX command to typeset BibTeX logo in the docs
|
%% \BibTeX command to typeset BibTeX logo in the docs
|
||||||
|
|||||||
+26
-7
@@ -1,18 +1,37 @@
|
|||||||
% DO NOT MODIFY THIS FILE
|
% DO NOT MODIFY THIS FILE
|
||||||
|
|
||||||
|
\def\varStyleId{2}
|
||||||
|
|
||||||
|
\ifx\varDocClass\undefined
|
||||||
|
\def \varDocClass{IEEEtran}
|
||||||
|
\fi
|
||||||
|
|
||||||
|
\ifx\varKeyvals\undefined
|
||||||
|
\def \varKeyvals{conference}
|
||||||
|
\fi
|
||||||
|
|
||||||
\newcommand{\cmdAuthors}{
|
\newcommand{\cmdAuthors}{
|
||||||
\input{preamble/authorsIEEE}
|
\input{ieee/authors}
|
||||||
\maketitle
|
\maketitle
|
||||||
}
|
}
|
||||||
|
|
||||||
\newcommand{\cmdKeywords}{
|
%\newcommand{\cmdKeywords}{
|
||||||
\begin{IEEEkeywords}
|
% \begin{IEEEkeywords}
|
||||||
\varKeywords
|
% \varKeywords
|
||||||
\end{IEEEkeywords}
|
% \end{IEEEkeywords}
|
||||||
|
%}
|
||||||
|
|
||||||
|
\newcommand{\cmdAbstract}{
|
||||||
|
\begin{abstract}
|
||||||
|
\varAbstract
|
||||||
|
\end{abstract}
|
||||||
|
\begin{IEEEkeywords}
|
||||||
|
\varKeywords
|
||||||
|
\end{IEEEkeywords}
|
||||||
}
|
}
|
||||||
|
|
||||||
\newcommand{\cmdBibStyle}{
|
\newcommand{\cmdBibStyle}{
|
||||||
\bibliographystyle{IEEEtran}
|
\bibliographystyle{bibliography/IEEEtran}
|
||||||
}
|
}
|
||||||
|
|
||||||
\IEEEoverridecommandlockouts
|
%\IEEEoverridecommandlockouts
|
||||||
+32
-17
@@ -1,14 +1,12 @@
|
|||||||
% DO NOT MODIFY THIS FILE
|
% DO NOT MODIFY THIS FILE
|
||||||
|
|
||||||
\def\varStyleId{1}
|
\def\varStyleId{3}
|
||||||
|
|
||||||
\ifdefined\varDocClass
|
\ifx\varDocClass\undefined
|
||||||
\else
|
|
||||||
\def \varDocClass{llncs}
|
\def \varDocClass{llncs}
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
\ifdefined\varKeyvals
|
\ifx\varKeyvals\undefined
|
||||||
\else
|
|
||||||
\def \varKeyvals{runningheads}
|
\def \varKeyvals{runningheads}
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
@@ -17,19 +15,36 @@
|
|||||||
\maketitle
|
\maketitle
|
||||||
}
|
}
|
||||||
|
|
||||||
\newcommand{\cmdKeywords}{
|
%\makeatletter
|
||||||
\makeatletter
|
%\newcommand{\cmdKeywords}{
|
||||||
\def\lncsKeywords{}
|
% \def\lncsKeywords{}
|
||||||
\@for\varKeyword:={\varKeywords}\do{
|
% \@for\varKeyword:={\varKeywords}\do{
|
||||||
\ifx\lncsKeywords\empty
|
% \ifx\lncsKeywords\empty
|
||||||
\else
|
% \else
|
||||||
\g@addto@macro\lncsKeywords{ \and}
|
% \g@addto@macro\lncsKeywords{ \and}
|
||||||
\fi
|
% \fi
|
||||||
\expandafter\g@addto@macro\expandafter\lncsKeywords\expandafter{\varKeyword}
|
% \expandafter\g@addto@macro\expandafter\lncsKeywords\expandafter{\varKeyword}
|
||||||
}
|
% }
|
||||||
\makeatother
|
% \keywords{\lncsKeywords}
|
||||||
\keywords{\lncsKeywords}
|
%}
|
||||||
|
%\makeatother
|
||||||
|
|
||||||
|
\makeatletter
|
||||||
|
\newcommand{\cmdAbstract}{
|
||||||
|
\begin{abstract}
|
||||||
|
\varAbstract
|
||||||
|
\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}
|
||||||
|
\end{abstract}
|
||||||
}
|
}
|
||||||
|
\makeatother
|
||||||
|
|
||||||
\newcommand{\cmdBibStyle}{
|
\newcommand{\cmdBibStyle}{
|
||||||
\bibliographystyle{bibliography/splncs04}
|
\bibliographystyle{bibliography/splncs04}
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
\input{preamble/variables}
|
\input{preamble/variables}
|
||||||
\input{\varStyle/config}
|
\input{\varStyle/config}
|
||||||
|
|
||||||
\documentclass[\varKeyvals]{\varDocClass}
|
\documentclass[\varKeyvals]{\varDocClass}
|
||||||
|
|
||||||
\input{preamble/packages}
|
\input{preamble/packages}
|
||||||
@@ -24,15 +25,7 @@
|
|||||||
\begin{document}
|
\begin{document}
|
||||||
\title{\varTitle}
|
\title{\varTitle}
|
||||||
\cmdAuthors
|
\cmdAuthors
|
||||||
\begin{abstract}
|
\cmdAbstract
|
||||||
\varAbstract
|
|
||||||
\if\varStyleId1
|
|
||||||
%\cmdKeywords
|
|
||||||
\fi
|
|
||||||
\end{abstract}
|
|
||||||
\if\varStyleId2
|
|
||||||
\cmdKeywords
|
|
||||||
\fi
|
|
||||||
|
|
||||||
\makeatletter
|
\makeatletter
|
||||||
\@for\varSection:={\varSections}\do{\input{sections/\varSection}}
|
\@for\varSection:={\varSections}\do{\input{sections/\varSection}}
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
% Define keywords
|
% 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.
|
% 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.
|
% Each item in the list must refer to a tex file in the sections directory.
|
||||||
|
|||||||
Reference in new issue
Block a user