I have a problem with my document. I looked on Google but did not find the solution. I just want to homogeneize my page style in my whole document but it does not work for my table of content and my minitoc pages.
Furthermore, I would like to have a page numbering on the right for impair pages and on the left for pair pages. I tried using RO
but it did not work. I have also already tried the "twoside" in the definition of my document class but it did not work either !
Please find here my document :
\documentclass[12pt,a4paper]{report}
%définition des packages
\usepackage{anyfontsize}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{helvet}
\usepackage[french]{babel}
\usepackage[margin=1in, headsep=5pt]{geometry}
\usepackage{amsmath}
\usepackage{tabularx}
\usepackage{amssymb}
\usepackage{fancyhdr}
\usepackage[pdftex]{graphicx}
\usepackage{hyperref}
\usepackage{url}
\usepackage{caption}
\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
\usepackage[Sonny]{fncychap}
\usepackage[tight]{minitoc}
\mtcselectlanguage{french}
\usepackage{titlesec}
\usepackage{titletoc}
\pagestyle{empty}
\fancyhf{}
\pagestyle{fancy}
\renewcommand{\footrulewidth}{1pt}
\setlength{\footskip}{20pt}
\fancyfoot[C]{}
\fancyfoot[RO]{\thepage}
\begin{document}
\newpage
\dominitoc
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{1}
\setcounter{minitocdepth}{3}
\renewcommand{\contentsname}{\hfill \fontsize{20}{30}{\fontfamily{rm}\selectfont{Table des matières}}}
\pagenumbering{roman}
\tableofcontents
\renewcommand{\chaptername}{\hfill \fontsize{20}{30}{\fontfamily{rm}\selectfont{Chapitre}}}
\chapter{\fontfamily{rm}\selectfont{Chapitre bibliographique}}
\pagenumbering{arabic}
\minitoc
\newpage
%style de page
\pagestyle{empty}
\fancyhf{}
\pagestyle{fancy}
\renewcommand{\footrulewidth}{1pt}
\renewcommand{\headrulewidth}{1pt}
\setlength{\footskip}{20pt}
\setlength{\headheight}{50pt}
\fancyhead[L]{\textsc{\fontsize{15}{15}\selectfont{Chapitre 1. Chapitre bibliographique}}}
\fancyfoot[C]{}
\fancyfoot[RO]{\thepage}
\titlespacing{\section}{1pt}{0.5pt}{0.5pt}
{\titleformat*{\section}{\fontsize{15}{15}\bfseries\fontfamily{cmss}\selectfont}
\section{Projection cold spray}}
\hrule height 1pt
\vspace{5mm}
\end{document}
Thanks a lot in advance for your help :)
\end{document}
. Make sure that when compile it in your system produces the unwanted results you mentioned.