I would like to add "Partie" before the part's number it only appears in the text and not in the table of contents. It works for sections, subsections etc. but not part with renew command.
This is the MWE:
\documentclass[12pt,a4paper]{report}
\usepackage[utf8x]{inputenc}
\usepackage{ucs}
\usepackage[francais]{babel}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[left=2.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm]{geometry}
\author{...}
\usepackage{setspace}
\setcounter{secnumdepth}{5}
\usepackage{tocloft}
\makeatletter
\@addtoreset{section}{part}
\makeatother
\renewcommand{\thepart}{\Roman{part} :}
\renewcommand{\cftpartpresnum}{Partie~}
\usepackage{titlesec}
\titleformat{\part}{\huge\bfseries}{}{0pt}{Partie \thepart\quad}
\begin{document}
\tableofcontents
\part{Test}
test test
\part{Test}
test test
Thank you in advance for your help.


tocloft– Werner May 03 '14 at 19:42\renewcommandbut it is not working with parts. – esmitex May 03 '14 at 20:37