# Including “Chapter” before each section number in the ToC? (Article Class)

Basically, here's my MWE, and I need to include "Chapter" before every section title in the ToC (without changing anything else).

   \documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[titles]{tocloft}
\usepackage{titlesec}
\usepackage{titletoc}

%\renewcommand{\thesection}{CHAPTER}
%\renewcommand{\cftsecpresnum}{Chapter \thesection}
\titleformat{\section}[display]%
{\null\vskip1em\sffamily\bfseries\filcenter}{Chapter \thesection}{0em}{}[]
\titlespacing*{\section}{0em}{1em}{1em}

\titlecontents{section}
[1.5em] % ie, 1.5em (chapter) + 2.3em
{}
{\contentslabel{1em}}
{\hspace*{-1.5em}}
{\titlerule*[0.5pc]{.}\contentspage}

\begin{document}
\newpage
\tableofcontents
\newpage

\section{Section One}
\section{Section Two}
Content
\end{document}


The commented out code is what I've already tried. The first one just changes the number to "CHAPTER" and doesn't move the text in the ToC (so it just overlays on top of the name of the section), and if I include "\thesection" after "CHAPTER" it creates an infinite loop definition error. The second one causes no differences, and the code still compiles.

Thanks!

• You may have noticed that articles don't have chapters by design, but reports and books have them. – Johannes_B Nov 21 '15 at 11:04
• Yep! But my thesis requires that it says "Chapter". – Conor Nov 22 '15 at 3:53

Here is a solution. I didn't load tocloft, since I use titletoc. Also I added a formatting for thoe unnumbered sections which should appear in the table of contents:

 \documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[showframe]{geometry}
\usepackage{titlesec}
\usepackage{titletoc}

\titleformat{\section}[display]%
{\null\vskip1em\sffamily\bfseries\filcenter}{Chapter \thesection}{0em}{}[]
\titleformat{name = \section, numberless}[block]%
{\null\vskip1em\sffamily\bfseries\filcenter}{}{0em}{}
\titlespacing*{\section}{0em}{1em}{1em}

\titlecontents{section}
[7em] % ie, width of contentslabel + 0.5em
{\medskip}
{\contentslabel[\MakeUppercase\chaptername~\thecontentslabel]{6.5em}}%\thecontentslabel
{\hspace*{-6.5em}}
{\titlerule*[0.5pc]{.}\contentspage}

\begin{document}

\tableofcontents
\newpage

\section*{An Unnumbered Section}