Add ieee-access

This commit is contained in:
Filip Gralinski 2021-09-17 11:17:04 +02:00
parent 79594e4409
commit efa42af593
8 changed files with 108 additions and 0 deletions

View File

@ -23,6 +23,7 @@ following templates are handled:
* EMNLP (`emnlp`) * EMNLP (`emnlp`)
* EACL (`eacl`) * EACL (`eacl`)
* NeurIPS (`neurips`) * NeurIPS (`neurips`)
* IEEE Access (`ieee-access`)
* PolEval (`poleval`) * PolEval (`poleval`)
* Msc thesis at Adam Mickiewicz University, Faculty of Mathematics and Computer Science (`amu`), * Msc thesis at Adam Mickiewicz University, Faculty of Mathematics and Computer Science (`amu`),
template prepared by Bartłomiej Przybylski (https://github.com/bprzybylski/amuthesis) template prepared by Bartłomiej Przybylski (https://github.com/bprzybylski/amuthesis)

View File

@ -90,6 +90,22 @@ elif [ "{{ cookiecutter.latex_template }}" == "neurips" ]; then
cp -r _latex-templates/neurips-template.tex {{cookiecutter.paper_id}}.tex cp -r _latex-templates/neurips-template.tex {{cookiecutter.paper_id}}.tex
cp -r _latex-templates/neurips-template-meta.tex metadata.tex cp -r _latex-templates/neurips-template-meta.tex metadata.tex
cp -r _latex-templates/neurips-checklist.tex checklist.tex cp -r _latex-templates/neurips-checklist.tex checklist.tex
elif [ "{{ cookiecutter.latex_template }}" == "ieee-access" ]; then
get_files "https://template-selector.ieee.org/api/ieee-template-selector/template/541/download" \
bullet.png \
ieeeaccess.cls \
IEEEtran.cls \
ieeeaccess.cls \
spotcolor.sty \
logo.png \
notaglinelogo.png
cp -r _latex-templates/ieee-access-template.tex {{cookiecutter.paper_id}}.tex
cp -r _latex-templates/ieee-access-template-meta.tex metadata.tex
cp -r _latex-templates/ieee-access-template-biographies.tex biographies.tex
mkdir -p images
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}/' other-extras.tex
elif [ "{{ cookiecutter.latex_template }}" = "poleval" ]; then elif [ "{{ cookiecutter.latex_template }}" = "poleval" ]; then
cp -r _latex-templates/poleval-template.tex {{cookiecutter.paper_id}}.tex cp -r _latex-templates/poleval-template.tex {{cookiecutter.paper_id}}.tex
cp -r _latex-templates/poleval-template-meta.tex metadata.tex cp -r _latex-templates/poleval-template-meta.tex metadata.tex

View File

@ -0,0 +1,5 @@
default_context:
latex_template: 'ieee-access'
with_arxiv_package: 'no'

View File

@ -0,0 +1,5 @@
\begin{IEEEbiography}[{\includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{images/sample-photo.png}}]{ {{cookiecutter.main_contributor_name}} } (M'77--SM'82--F'85) Here comes a biography
\end{IEEEbiography}
\begin{IEEEbiography}[{\includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{images/sample-photo.png}}]{Second B. Author} Here comes another bio
\end{IEEEbiography}

View File

@ -0,0 +1,26 @@
\history{Date of publication xxxx 00, 0000, date of current version xxxx 00, 0000.}
\doi{10.1109/ACCESS.2017.DOI}
\title{ {{ cookiecutter.paper_title }} }
\author{\uppercase{ {{cookiecutter.main_contributor_name}} }\authorrefmark{1}, \IEEEmembership{Fellow, IEEE},
\uppercase{Second B. Author\authorrefmark{2}, and Third C. Author,
Jr}.\authorrefmark{3},
\IEEEmembership{Member, IEEE}}
\address[1]{National Institute of Standards and
Technology, Boulder, CO 80305 USA (e-mail: author@boulder.nist.gov)}
\address[2]{Department of Physics, Colorado State University, Fort Collins,
CO 80523 USA (e-mail: author@lamar.colostate.edu)}
\address[3]{Electrical Engineering Department, University of Colorado, Boulder, CO
80309 USA}
\tfootnote{This paragraph of the first footnote will contain support
information, including sponsor and financial support acknowledgment. For
example, ``This work was supported in part by the U.S. Department of
Commerce under Grant BS123456.''}
\markboth
{Author \headeretal: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS}
{Author \headeretal: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS}
\corresp{Corresponding author: {{cookiecutter.main_contributor_name}} (e-mail: author@ boulder.nist.gov).}
.

Binary file not shown.

After

Width:  |  Height:  |  Size: 496 KiB

View File

@ -0,0 +1,52 @@
{% 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.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{ieeeaccess}
\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{textcomp}
\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
\newcommand\bycite[1]{by~\cite{#1}}
\input{config}
\input{extras}
\input{preamble}
\begin{document}
\input{metadata}
\begin{abstract}
\input{abstract}
\end{abstract}
\begin{keywords}
\input{keywords}
\end{keywords}
\titlepgskip=-15pt
\maketitle
\input{main}
\bibliography{bibliography}
\bibliographystyle{unsrt}
\input{biographies}
\EOD
\end{document}
{% endraw %}

View File

@ -112,6 +112,9 @@ then
elif [[ "$latex_template" == "neurips" ]] elif [[ "$latex_template" == "neurips" ]]
then then
copy_to_project neurips_2021.sty copy_to_project neurips_2021.sty
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" == "poleval" ]] elif [[ "$latex_template" == "poleval" ]]
then then
copy_to_project poleval.bst poleval.cls copy_to_project poleval.bst poleval.cls