# How to use tcolorbox with ieeeaccess.cls? [duplicate]

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.

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


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.

• 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. – user121799 Sep 8 '18 at 4:07
• Hello marmot, I have added a minimal working example. Thank you – M. Al Sep 8 '18 at 13:59
• @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 9 '18 at 6: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 9 '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 9 '18 at 16:35