# IEEE Access latex file forces the volume and year to be listed as volume 4 2016, how do I change that?

When compiling the latex template for IEEE access file, it forces the content in the bottom of each page to be "Volume 4, 2016". How do I change that? See code below:

\documentclass{ieeeaccess}
\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{textcomp}
\usepackage{subfig}

\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}

\begin{document}
\history{Date of publication xxxx 00, 0000, date of current version xxxx 00, 2019.}
\doi{10.1109/ACCESS.2019.DOI}

\title{BLA}
\author{\uppercase{R D}\authorrefmark{1}, \IEEEmembership{Senior Member, IEEE}}
\tfootnote{This work was supported in part by CMC Microsystems for the provision of software tools.}

\markboth

\corresp{Corresponding author: RD (e-mail: BLA).}

\begin{abstract}
BLA
\end{abstract}
%...etc
\end{document}


• Welcome to TeX.SE! Where did you get the IEEE Access class files? – Marijn Sep 24 '19 at 14:45

The year value is hardcoded in the class, which is a bit odd. However, you can patch the footer commands with the etoolbox package to insert a custom macro. The volume is controlled by defining \thevol, which works without patching.

MWE:

\documentclass{ieeeaccess}
\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{textcomp}
\usepackage{subfig}
\usepackage{etoolbox}
%%% Define variable values
\def\thevol{3}
\def\myyear{2019}
%%% Patch the footer commands
\makeatletter
\patchcmd{\@evenfoot}{2016}{\myyear}{}{}
\patchcmd{\@oddfoot}{2016}{\myyear}{}{}
\makeatother
\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}

\begin{document}
\history{Date of publication xxxx 00, 0000, date of current version xxxx 00, 2019.}
\doi{10.1109/ACCESS.2019.DOI}

\title{BLA}
\author{\uppercase{R D}\authorrefmark{1}, \IEEEmembership{Senior Member, IEEE}}
\tfootnote{This work was supported in part by CMC Microsystems for the provision of software tools.}

\markboth

\corresp{Corresponding author: RD (e-mail: BLA).}

\begin{abstract}
BLA
\end{abstract}
abc
\EOD
\end{document}


Result:

• This code not change the first page. Please advise – user220370 Jul 13 '20 at 15:06
• @mohamedbadr the code above outputs only one page, where the volume and year are printed correctly. Also, when I add some content in the code above to output two pages then the volume and year are printed on both pages, so I'm not sure if I understand your comment. If you can make a minimal example of a document with two pages that does not show the correct behavior then you can ask a new question about that using the Ask Question button on the top of the screen. – Marijn Jul 13 '20 at 17:03

You can redefine the volume and year easily like below in your tex file :

\renewcommand{\thevol}{15}
\renewcommand{\theyear}{2020}


However, the year might not change as the IEEE access style class ieeeaccess.cls has mistakenly used hard coded year instead of using this \theyear variable.

In that case, you can find the 2016 word in your ieeeaccess.cls file and replace with \theyear. Do not change the \def\theyear{2016} line in the ieeeaccess.cls file though :)

To remove VOLUME 4,2016 from the Access template. Edit ieeeaccess.cls file. Open the file and search for VOLUME, the value of volume(eg: 4), and value of year (eg:2016). Remove all these values from the ieeeaccess.cls file. This works!

• I would not change official template. If OP attend to publish in journal, which use this template, the publisher will adjust this data to datum when article will be published. – Zarko Oct 15 '20 at 19:43

Open the latex class ieeeaccess, find the 2016 and change it to 2020

• There are two things wrong with this answer. First is a problem caused by the creator of the class file -- unless the article is actually accepted and published by the journal, identifying a purported volume and issue is unethical. The publication's editorial staff should be notified about the problem. Regarding changing a class file, even though it is to be used only by whoever makes the change, if the file escapes into the wild, it can cause serious confusion. Don't do it. – barbara beeton Sep 7 '20 at 14:07