diff --git a/README.md b/README.md index 2148d19..21a6ada 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ following templates are handled: * NeurIPS (`neurips`) * ICML (`icml`) * IEEE Access (`ieee-access`) +* IEEE Conf, e.g. FedCSIS (`ieee-conf`) * PolEval (`poleval`) * Msc thesis at Adam Mickiewicz University, Faculty of Mathematics and Computer Science (`amu`), template prepared by Bartłomiej Przybylski (https://github.com/bprzybylski/amuthesis) diff --git a/hooks/post_gen_project.sh b/hooks/post_gen_project.sh index ca12880..aa758c0 100755 --- a/hooks/post_gen_project.sh +++ b/hooks/post_gen_project.sh @@ -115,6 +115,9 @@ elif [ "{{ cookiecutter.latex_template }}" == "ieee-access" ]; then cp -r _latex-templates/ieee-access-template-photo.png images/sample-photo.png # not compatible with tikz (and todonotes which is based on tikz) sed -i 's/\\usepackage\[textsize=tiny\]{todonotes}/\\usepackage{todo}/' extras.tex +elif [ "{{ cookiecutter.latex_template }}" == "ieee-conf" ]; then + cp -r _latex-templates/ieee-conf-template.tex {{cookiecutter.paper_id}}.tex + cp -r _latex-templates/ieee-conf-template-meta.tex metadata.tex elif [ "{{ cookiecutter.latex_template }}" = "poleval" ]; then cp -r _latex-templates/poleval-template.tex {{cookiecutter.paper_id}}.tex cp -r _latex-templates/poleval-template-meta.tex metadata.tex diff --git a/test/configs/ieee-conf.yml b/test/configs/ieee-conf.yml new file mode 100644 index 0000000..3a022df --- /dev/null +++ b/test/configs/ieee-conf.yml @@ -0,0 +1,5 @@ + + +default_context: + latex_template: 'ieee-conf' + with_arxiv_package: 'no' diff --git a/{{cookiecutter.paper_repo_name}}/_latex-templates/ieee-conf-template-meta.tex b/{{cookiecutter.paper_repo_name}}/_latex-templates/ieee-conf-template-meta.tex new file mode 100644 index 0000000..b589145 --- /dev/null +++ b/{{cookiecutter.paper_repo_name}}/_latex-templates/ieee-conf-template-meta.tex @@ -0,0 +1,18 @@ +\title{ {{ cookiecutter.paper_title }} } +% +% +\author{ +\IEEEauthorblockN{ {{ cookiecutter.main_contributor_name }} } +\IEEEauthorblockA{ +University of This and That\\ +in Flatland\\ +ul.\ XYZ 111, 12-345 Flatcity, Flatland\\ +Email: abc@flatland.edu} +\and +\IEEEauthorblockN{Second Author, Third Author} +\IEEEauthorblockA{Universit\'{e} de Paris-Sud,\\ +Laboratoire d'Analyse Num\'{e}rique,\\ +B\^{a}timent 425,\\ +F-91405 Orsay Cedex, France\\ +Email: \{second, third\}@subdomain.domain.fr} +} diff --git a/{{cookiecutter.paper_repo_name}}/_latex-templates/ieee-conf-template.tex b/{{cookiecutter.paper_repo_name}}/_latex-templates/ieee-conf-template.tex new file mode 100644 index 0000000..b2a2f18 --- /dev/null +++ b/{{cookiecutter.paper_repo_name}}/_latex-templates/ieee-conf-template.tex @@ -0,0 +1,55 @@ +{% raw %} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% [paper-cutter clarifications] +% +% DO NOT EDIT THIS FILE (unless you know what you are doing). +% THIS IS A FILE SUPPLIED BY THE TEMPLATE. +% PLEASE EDIT main.tex INSTEAD. +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% +% Based on https://fedcsis.org/resources/latex.zip +\documentclass[conference]{IEEEtran} + +% This package serves to balance the column lengths on the last page of the document. +% please, insert \balance command in the left column of the last page +\usepackage{balance} + +%% to enable \thank command +\IEEEoverridecommandlockouts + +% to typeset algorithms +\usepackage{algorithmic} +\usepackage{algorithm} +% to typeset code fragments +\usepackage{listings} +% to make an accent \k be available +\usepackage[OT4,T1]{fontenc} +% provides various features to facilitate writing math formulas and to improve the typographical quality of their output. +\usepackage[cmex10]{amsmath} +\interdisplaylinepenalty=2500 +% por urls typesetting and breaking +\usepackage{url} +% for vertical merging table cells +\usepackage{multirow} + +\input{config} +\input{extras} +\input{preamble} +\input{metadata} + + +\begin{document} +\maketitle % typeset the title of the contribution + +\begin{abstract} +\input{abstract} +\end{abstract} + +\input{main} + +\bibliography{bibliography} + +\end{document} +{% endraw %} diff --git a/{{cookiecutter.paper_repo_name}}/helpers/prepare-arxiv-package.sh b/{{cookiecutter.paper_repo_name}}/helpers/prepare-arxiv-package.sh index 2dafb26..8fb8f66 100755 --- a/{{cookiecutter.paper_repo_name}}/helpers/prepare-arxiv-package.sh +++ b/{{cookiecutter.paper_repo_name}}/helpers/prepare-arxiv-package.sh @@ -122,6 +122,9 @@ then elif [[ "$latex_template" == "ieee-access" ]] then copy_to_project bullet.png ieeeaccess.cls IEEEtran.cls ieeeaccess.cls spotcolor.sty logo.png notaglinelogo.png +elif [[ "$latex_template" == "ieee-conf" ]] +then + ; elif [[ "$latex_template" == "poleval" ]] then copy_to_project poleval.bst poleval.cls