[Tex/LaTex] tikz package causing error in IEEE access template


I have been trying for a while to load the tikz package to the IEEE ACCESS template. Whenever I use the command \usepackage{tikz}, I am getting the error

/usr/local/texlive/2017/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex, line 33
Missing number, treated as zero.

It was working fine with the IEEEtran template and I was able to draw my circuit diagrams in that.

Anyone has any idea how to solve this issue?

Best Answer

I had the same problem and here are my steps to fix it:

  • In ieeeaccess.cls change \def\year to \def\Year
  • Remove all \usepackage{xcolor} in the .tex file
  • To fix the missing title color, add the following code AFTER \usepackage{tikz} in the .tex file
  \AddSpotColor{PANTONE} {PANTONE3015C} {PANTONE\SpotSpace 3015\SpotSpace C} {1 0.3 0 0.2}

Note: above code is copied from the ieeeaccess.cls file line 127 ~ 129.

Hope this help.

Related Question