Help me, please to make the style of "Contents" heading to be as \chapter{Le choix du thème}.
Also I would like to put all headings a little bit higher and to fix the hyperref for "Contents" in pdf
\documentclass[12pt]{report}
\usepackage{fontspec}
\usepackage[hidelinks]{hyperref}
\usepackage{xunicode}
\usepackage[no-sscript]{xltxtra}
\usepackage{csquotes}
\usepackage{polyglossia}
\setdefaultlanguage{french}
\setotherlanguages{german,english,greek,polish,russian}
\setmainfont[Mapping=tex-text]{CMU Serif}
\usepackage{setspace}
\usepackage{tocloft}
\newfontfamily\greekfont[Script=Greek,Mapping=tex-text]{CMU Serif}
\newfontfamily\russianfont[Script=Cyrillic,Mapping=tex-text]{CMU Serif}
\usepackage{titlesec}
\titleformat{\chapter}[display]% NEW
{\Huge\bfseries\centering}{\chaptertitlename\ \thechapter}{5pt}{\Large}% NEW
\titlespacing*{\chapter}{0pt}{30pt}{20pt}% NEW
\titleformat{\section}
{\bfseries}
{\thesection}{1em}{}
\renewcommand\cftchappresnum{\chaptername\newline}
\setlength{\cftchapnumwidth}{3.5cm}
\renewcommand{\thechapter}{}
\renewcommand{\thesection}{\Roman{section}.}
\usepackage[backend=biber,style=verbose-ibid,citepages=suppress,sorting=nty,babel=other]{biblatex}
\renewcommand\mkbibnamelast[1]{\textsc{#1}}
\begin{document}
\doublespacing
\tableofcontents
\renewcommand{\chaptername}{Préface}
\addtocontents{toc}{\protect\renewcommand\protect\chaptername{Préface}}
\chapter{Le choix du thème}
Balah blah blah L'Organisation des Nations unies (ONU)
\renewcommand{\chaptername}{Introduction}
\addtocontents{toc}{\protect\renewcommand\protect\chaptername{Introduction}}
\chapter{Initiatives du PO}
\section{Les lettres du PO 1904}
Balah blah blah (ONU)
\renewcommand{\thechapter}{\arabic{chapter}}
\renewcommand{\thesection}{\thechapter.\arabic{section}}
\setcounter{chapter}{0}
\setcounter{section}{0}
\renewcommand{\chaptername}{Chapitre}
\addtocontents{toc}{\protect\renewcommand\protect\chaptername{Chapitre}}
\chapter{Les décisions des CP}
\section{Les décisions des CP de Rhodes 1964}
\chapter{L'ouvre de la CIP}
\section{Les décisions de la I\textsuperscript{re} CPP}
\chapter{Évaluation de l'œuvre accomplie et perspectives}
\section{Évaluation de l'œuvre accomplie}
\renewcommand{\thechapter}{}
\renewcommand{\chaptername}{Conclusion}
\addtocontents{toc}{\protect\renewcommand\protect\chaptername{Conclusion}}
\chapter{}
\printbibheading[heading=bibintoc]
\printbibliography[keyword=primary,heading=subbibliography,title={Les sources principaux}]
\printbibliography[keyword=secondaire,heading=subbibliography,title={Les sources secondaires}]
\end{document}
Thank you.
hyperreffor "Contents" in pdf"? – N.N. May 30 '11 at 19:47