I'm using the ieeeaccess.cls for IEEE Access journal but I get the following error,
Missing number, treated as zero. \xdef
My code is as follows,
\documentclass{ieeeaccess}
\usepackage{amsmath, amsfonts, amssymb, color, enumerate, amsthm, graphicx}
\usepackage{tikz, subcaption, cite}
\usepackage{color, xcolor, soul, bm, textcomp}
\usepackage{marginnote}
\PassOptionsToPackage{hyphens}{url}\usepackage{hyperref}
\hypersetup{
colorlinks = true, %Colours links instead of ugly boxes
urlcolor = blue, %Colour for external hyperlinks
linkcolor = blue, %Colour of internal links
citecolor = green %Colour of citations
}
\renewcommand{\qedsymbol}{$\blacksquare$}
\usepackage[normalem]{ulem}
\newtheorem{problem}{Problem}
\newtheorem{theorem}{Theorem}
\newtheorem{corollary}{Corollary}
\newtheorem{assumption}{Assumption}
\newtheorem{proposition}{Proposition}
\newtheorem{lemma}{Lemma}
\newtheorem{remark}{Remark}
\newtheorem{definition}{Definition}
\newtheorem{example}{Example}
\usepackage{epsfig}
\usepackage{psfrag}
\DeclareMathOperator{\diag}{diag}
\usepackage{tcolorbox}
\usepackage{algorithm}
\usepackage{algpseudocode}
\allowdisplaybreaks
\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
\def\endtheorem{\hspace*{\fill}~$\square$\par\endtrivlist\unskip}
\def\endlemma{\hspace*{\fill}~$\square$\par\endtrivlist\unskip}
\def\endproposition{\hspace*{\fill}~$\square$\par\endtrivlist\unskip}
\def\endexample{\hspace*{\fill}~$\square$\par\endtrivlist\unskip}
\def\endremark{\hspace*{\fill}~$\square$\par\endtrivlist\unskip}
\def\enddefinition{\hspace*{\fill}~$\square$\par\endtrivlist\unskip}
\begin{document}
\history{Date of publication xxxx 00, 0000, date of current version xxxx 00, 0000.}
\doi{10.1109/ACCESS.2017.DOI}
\title{My title}
\author{\uppercase{Mohammad}\authorrefmark{1}}
\address[1]{Department of Electrical and Computer Engineering (e-mail: myemail@mydomain.edu)}
\markboth
{Author \headeretal: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS}
{Author \headeretal: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS}
\corresp{Corresponding author: Mohammad}
\newcommand{\ty}{\color{yellow}}
\newcommand{\tb}{\color{blue}}
\newcommand{\tr}{\color{red}}
\newcommand{\tg}{\color{green}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{abstract}
My abstract ...
\end{abstract}
\begin{keywords}
My keywords ...
\end{keywords}
\titlepgskip=-15pt
\maketitle
\section{Introduction}
\label{sec:introduction}
\PARstart{T}{his} is my document.
%\appendices
%\input{Appendix}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\bibliographystyle{IEEEtran}
\bibliography{IEEEabrv, refs}
\EOD
\end{document}
! LaTeX Error: Fileieeeaccess.cls' not found.` can you link to the class? – David Carlisle Nov 19 '19 at 17:15\usepackage{epsfig}the package was written then to emulate the old latex2.09 package of that name, to help port documents that were old in 1993 move to the new LaTeX2e standard from LaTeX2.09. – David Carlisle Nov 19 '19 at 17:17forest, but the workaround is the same withtcolorboxinstead. However you should remove the previous loading oftikz, for simplicity. As explained in my answer, the issue is that the class redefines\year, which is a *very bad* thing to do. – egreg Nov 19 '19 at 17:20\endtheoremand similar are flawed. – egreg Nov 19 '19 at 17:59\hfillis used as a line break point it disappears. – egreg Dec 30 '19 at 22:18