5

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 Answers3

11

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}

egreg
  • 1,121,712
  • 1
    +1. But I believe there is a typo. I think you forgot the s in curses. ;-) –  Jan 14 '19 at 22:37
2

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

MS-SPO
  • 11,519
user277468
  • 21
  • 1
0

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} }

sefiks
  • 101