When I include a \usepackage{forest} all colored text title, section headings disappears with IEEE Access journal template How can I tackle this problem?
3 Answers
There are two main issues because forest needs expl3 and TikZ/PGF.
Other packages might cause the same error, for instance arabtex.
The first issue is the brilliant idea of the developers of the ieeeaccess document class of redefining the primitive \year.
The second issue is that the class loads the very experimental and little tested spotcolor package, which is incompatible with the major package for colour support, namely xcolor, which is what PGF needs and loads. See Using colors defined with spotcolor.sty in TikZ
A preamble that somewhat cures this is as follows:
% save the meaning of \year
\let\texyear\year
\documentclass{ieeeaccess}
\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{textcomp}
% temporary fix for loading expl3 and PGF
\let\ieeeaccessyear\year
\let\year\texyear
\usepackage{forest}
% undo the fix and define a color compatible with xcolor
\let\year\ieeeaccessyear
\definecolor{accessblue}{RGB}{0,105,154}
\begin{document}
- 1,121,712
In light of the previous answer, use \usepackage{orcidlink} in the preamble as follows:
\let\texyear\year
\documentclass{ieeeaccess}
\let\ieeeaccessyear\year
\let\year\texyear
\usepackage{orcidlink}
\let\year\ieeeaccessyear
\definecolor{accessblue}{RGB}{0,105,154}
\begin{document}
Then use \orcidlink
\author{\uppercase{Author's Name}\orcidlink{0000-0000-0000-0000}\authorrefmark{1}, \IEEEmembership{Member, IEEE}}
This solved the title and heading disappearance issue for me
- 11,519
- 21
- 1
Alternatively, I used regular image to display orcid logo next to authors in ieee access journal template
\usepackage{color}
\usepackage[allbordercolors={0.5 1 1}]{hyperref}
\author{\uppercase{Author 1} \href{https://orcid.org/0000-0000-0000-0000}{\includegraphics[scale=0.0035]{orcid.png}} \authorrefmark{1},
\uppercase{Author 2} \href{https://orcid.org/0000-0000-0000-0000}{\includegraphics[scale=0.0035]{orcid.png}} \authorrefmark{2}
}
- 101
\documentclass{...}and ending with\end{document}. – samcarter_is_at_topanswers.xyz Jan 14 '19 at 18:00ieeeaccessclass had the brilliant idea of redefining the primitive\year; this breaksexpl3andpgf. – egreg Jan 14 '19 at 18:10\year, the problem of https://tex.stackexchange.com/q/29017/4427 pops out, which is the incompatibility ofxcolor, required by TikZ/PGF, andspotcolor. – egreg Jan 14 '19 at 18:31