Page LayoutPart page - epigraph and partpage

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
allende07
Posts: 1
Joined: Sun May 24, 2009 10:43 am

Part page - epigraph and partpage

Post by allende07 »

Hi all,

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

Code, edit and compile here:
\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}
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply