I have a problem and I want that someone tell me how I can resolve that.
I want that the number of page in my report start in the page of introduction but in reality it starts in the didecas and liste of contents. I want that these pages have not number. This is my code
\documentclass[12pt,a4paper]{report}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage{color}
\usepackage{xcolor} %les couleurs
\definecolor{myblue}{rgb}{0.2,0.4,1}
\usepackage{layout}
\usepackage[top=2 cm, bottom=2 cm, left=2 cm, right=2 cm]{geometry}
\usepackage{setspace}
\usepackage[pdftex]{graphicx}
\usepackage{array}
%\documentclass[landscape]{scrartcl}
\usepackage{geometry}
\usepackage{multirow}
\usepackage[justification=centering]{caption}
\usepackage{pgfplots}
\usepackage{fancyhdr}
\fancyhf{} % clear all header and footers
\begin{document}
\pagestyle{empty}
\include{title-content}
\color{black}
\doublespacing
\include{dedicaces-content}
%\include{remerciement}
\tableofcontents
\listoffigures
\listoftables
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagestyle{plain}
\pagenumbering{arabic}
\chapter{Introduction générale}
Best Answer
(Note: I've rewritten this answer after the OP explained more details of the document's setup.)
To suppress page numbering in a part of the document, one has to both set
\pagenumbering{empty}
and take care of commands -- such as\tableofcontents
,\listoffigures
, and\listoftables
-- that internally invoke a command (specifically, the\chapter
command) which (re)sets the page style of the current page toplain
. In the example below, I use the\patchcmd
macro of theetoolbox
package to "patch" the chapter command. To keep the scope of the modification local to the front matter of the document, I've put a\begingroup
...\endgroup
pair around the relevant part of the document. Finally, after the end of the frontmatter, it's necessary to restoreplain
pagenumbering and to restart the page numbering by issuing the command\pagenumbering{arabic}
. Happy TeXing!