I'm writing a thesis with latex and I have some troubles. First, sorry for my english but I'm french speaking in fact.
So, I use a fancy style for all pages of text, except \chapter and \part pages. I would like to personalize these part page. To do this, I use the epigraph package to put a epigraphhead on the part page (modified according to instruction in the package description on the ctan). The problem is that I can't delete the page number on part page when epigraph package is activated. Despite using \thispagestyle{empty} in the re-definition of the \part command, page number is still produced...
I have no more solution to delete the number on part page with epigraph... I hope someone would help me!
Thanks all!
Code: Select all
\documentclass[a4paper,11pt]{report}\usepackage[T1]{fontenc}\usepackage[english, frenchb]{babel}\usepackage[utf8]{inputenc}\usepackage{color}\usepackage{graphicx}\usepackage{pdflscape}\usepackage{epigraph}\usepackage{fancyhdr}\makeatletter\renewcommand\part{% modification of \part\if@openright\cleardoublepage\else\clearpage\fi\\thispagestyle{empty}%\addtocounter{page}{-1}\if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi\null\vfil\secdef\@part\@spart}\makeatother\let\Oldpart\part % Define titlepart for the fancy style\newcommand{\parttitle}{}\renewcommand{\part}[1]{\Oldpart{#1}\def\parttitle{#1}}\begin{document}\renewcommand{\chaptermark}[1]{\markboth{#1}{}} %Fancy style\renewcommand{\sectionmark}[1]{\markright{#1}}\fancyhf{}\rhead{}\lhead{\thepart\ \parttitle}\cfoot{\thepage}