Quero deletar o cabeçalho das páginas do sumário, para manter apenas o título: sumário.
e isto
meu código é:
\documentclass{book}
\usepackage{fourier}
\usepackage{tikz}
\usepackage[explicit]{titlesec}
\usepackage{titletoc}
\usepackage{lipsum}
\usetikzlibrary{shadows.blur}
\usepackage{calc}
\usepackage[utf8]{inputenc}
\usepackage[frenchb]{babel}
\usepackage[french]{minitoc}
\usepackage{titletoc}
\usepackage{fancyhdr}
%chapter
\renewcommand\thechapter{\arabic{chapter}}
\titleformat{\chapter}
{\fontfamily{}\Huge\filleft}
{}
{20pt}
{\begin{tikzpicture}[remember picture,overlay]
\draw [line width=2pt,blue] (-13,0) -- (1.5,0);
\draw [line width=2pt,blue] (-13,4) -- (1.5,4);
\draw [line width=2pt,blue] (1.5,4) -- (1.5,0);
%
\node[color=blue,xshift=-11cm,yshift=4.5cm,font=\fontsize{20}{20}\selectfont] {CHAPITRE};
%
\draw [fill=blue,blue,text=white] (-13,0) rectangle (-9cm,4cm) node[pos=.5,font=\fontsize{100}{100}\fontfamily{pag}\bfseries\selectfont] {\thechapter}; % le numéro du chapitre
\node[anchor=north east,align=right,inner xsep=5pt,text=blue] at (2.4,4.1)
{\parbox{.9\textwidth}{\raggedright#1}};% le titre du partie
\end{tikzpicture}%
}
\begin{document}
\tableofcontents
\chapter{A chapter}
\section{Section}
\section{Section 2}
\section{test}
\section{abc}
\chapter{Second chapter}
\section{Section}
\section{Section 2}
\section{test}
\section{abc}
\chapter{Second chapter}
\section{Section}
\section{Section 2}
\section{test}
\section{abc}
\chapter{Second chapter}
\section{Section}
\section{Section 2}
\section{test}
\chapter{Second chapter}
\section{Section}
\section{Section 2}
\section{test}
\section{abc}
\chapter{Second chapter}
\section{Section}
\section{Section 2}
\section{test}
\section{abc}
\chapter{Second chapter}
\section{Section}
\section{Section 2}
\section{test}
\section{abc}
\chapter{Second chapter}
\end{document}
Responder1
Para formatar o título do índice, você pode redefinir a formatação de capítulos não numerados com a numberless
chave. Quanto ao cabeçalho, basta adicionar um \markboth{}
comando logo após o comando toc e colocar tudo em um grupo. Adicionei o lipsum
pacote para fins de teste, você pode removê-lo.
\documentclass[french]{book}
\usepackage{fourier}
\usepackage{tikz}
\usepackage[explicit]{titlesec}
\usepackage{titletoc}
\usepackage{lipsum}
\usetikzlibrary{shadows.blur}
\usepackage{calc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage[french]{minitoc}
\usepackage{titletoc}
\usepackage{fancyhdr}
%chapter
\renewcommand\thechapter{\arabic{chapter}}
\titleformat{\chapter}
{\fontfamily{}\Huge\filleft}
{}
{20pt}
{\begin{tikzpicture}[remember picture,overlay]
\draw [line width=2pt,blue] (-13,0) -- (1.5,0);
\draw [line width=2pt,blue] (-13,4) -- (1.5,4);
\draw [line width=2pt,blue] (1.5,4) -- (1.5,0);
%
\node[color=blue,xshift=-11cm,yshift=4.5cm,font=\fontsize{20}{20}\selectfont] {CHAPITRE};
%
\draw [fill=blue,blue,text=white] (-13,0) rectangle (-9cm,4cm) node[pos=.5,font=\fontsize{100}{100}\fontfamily{pag}\bfseries\selectfont] {\thechapter}; % le numéro du chapitre
\node[anchor=north east,align=right,inner xsep=5pt,text=blue] at (2.4,4.1)
{\parbox{.9\textwidth}{\raggedright#1}};% le titre du partie
\end{tikzpicture}%
}
\titleformat{name=\chapter, numberless}
{\fontfamily{}\Huge\filright}
{}
{0pt}
{\color{blue}#1}
\begin{document}
\bgroup
\tableofcontents
\markboth{}
\egroup
\chapter{A chapter}
\section{Section}
\lipsum[1-30]
\section{Section 2}
\section{test}
\section{abc}
\lipsum
\chapter{Second chapter}
\section{Section}
\section{Section 2}
\section{test}
\section{abc}
\chapter{Second chapter}
\section{Section}
\section{Section 2}
\section{test}
\section{abc}
\chapter{Second chapter}
\section{Section}
\section{Section 2}
\section{test}
\chapter{Second chapter}
\section{Section}
\section{Section 2}
\section{test}
\section{abc}
\chapter{Second chapter}
\section{Section}
\section{Section 2}
\section{test}
\section{abc}
\chapter{Second chapter}
\section{Section}
\section{Section 2}
\section{test}
\section{abc}
\chapter{Second chapter}
\end{document}