1

Whenever I try to use tcolorbox with ieeeaccess.cls, the main title and section topics disappear!! anyone know what the problem is? Thank you in advance.

Here, without using tcolorbox. without using tcolorbox

Here, using tcolorbox. using tcolorbox Here is an example code.

\documentclass{ieeeaccess}
\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{longtable} 
\usepackage{flexisym} 
\usepackage{graphicx}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{algorithm2e}
\usepackage{algpseudocode}
%\usepackage[breakable]{tcolorbox} %when this package is used, the main title and section topics disappear.

\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, 0000.}
\doi{10.1109/ACCESS.2017.DOI}


\title{Preparation of Papers for IEEE ACCESS}


\begin{abstract}
abstract.
\end{abstract}


\titlepgskip=-15pt

\maketitle


\section{Introduction}
\label{sec:introduction}
\PARstart{T}{his} first section

\subsection{subsection}
subsection


\section{Second Section}
This is the second section
\section{Third Section}
This is the third section


\EOD

\end{document}

Please note:
1- Unfortunately, ieeeaccess.cls requires IEEEtran.cls class, so to compile this example you need IEEEtran.cls to be in the same directory with ieeeaccess.cls. You will get both classes when you download the official LaTeX template for IEEE Access.

2- Another option is; you can down the official LaTeX template for IEEE Access from the official website, then add the package \usepackage[breakable]{tcolorbox} to see the problem.

Click HERE for the official website for IEEE Access LaTeX template

M. Al
  • 11
  • 4
    Welcome to TeX.SE! You will have much better chances to get a quick and good reply if you provide us with a minimal working example, i.e. a compilable document that starts with \documentclass, ends with \end{document} and illustrates the problem. –  Sep 08 '18 at 04:07
  • Hello marmot, I have added a minimal working example. Thank you – M. Al Sep 08 '18 at 13:59
  • 2
    @M.Al Your document is not compileable, it is missing \begin{document} and even if you add it, it still doesn't compile! – AndréC Sep 09 '18 at 06:56
  • Hello AndréC, Thank you for drawing my attention to \begin{document} . I have updated the post. The code is working now. Please have a look. – M. Al Sep 09 '18 at 14:11
  • It seems to be a conflict with the \year command redefined in ieeeaccess.cls. (tcolorbox loads tikz which then uses \year for its random seed.)? Similar symptom as Conflict between TikZ and university thesis class file. I'm not familiar enough with the class nor tikz to suggest a workaround.. – Troy Sep 09 '18 at 16:35
  • Hello Troy, the problem is solved, it is the same solution of [tikz package causing error in IEEE access template] (https://tex.stackexchange.com/questions/440422/tikz-package-causing-error-in-ieee-access-template). Thank you – M. Al Sep 09 '18 at 17:23
  • @M.Al +1 for your problem and its solution. I never received your message because you forgot the at sign in front of my nickname, see how to answer someone here: https://meta.stackexchange.com/questions/43019/how-do-comment-replies-work – AndréC Sep 09 '18 at 17:35
  • The problem has the same solution of tikz package causing error in IEEE access template. Thanks for everyone tried to help. – M. Al Sep 09 '18 at 17:27

0 Answers0