# [texhax] page number of the first page of part and chapter

Tue Jul 21 09:57:34 CEST 2009

numbertheory wrote:
> Dear sir:
>      Thanks!
>
> I  want  that  there are no page number on the first page of each
> part , but footer of the first page of each chaper contain page number
> centered.
>
>  what's the code to get the output?
>
>  Thanks a lot!
>
>  \documentclass[openany]{book}
> .............
>
>  \begin{document}
> \frontmatter
>
>  \tableofcontents
>
>  \mainmatter
> \part{}
> \chapter{}
> ....................
>
>
>

if you are at the start of a project, then use the memoir class instead.

\aliaspagestyle{part}{empty}

fixes the first

the other is the default

--

/daleif