# [Tex/LaTex] Custom first page with fancyhdr

I'm using the package fancyhdr to format my footers and headers, with my name in the header and a n of m pages format for the footer. Like so:

\pagestyle{fancy}
\fancyhf{} % clear all header and footer fields
\fancyfoot[C]{\footnotesize Page \thepage\ of \pageref{LastPage}}


By default, the fancy page style only affects the pages after the first page. I know I can set the first page to the fancy page style using \thispagestyle, but I only want the first page to use the footer, not the header. Is there a way to create a custom style that just the first page will use?

The \fancypagestyle command can be used to create custom styles:

\fancypagestyle{firststyle}
{
\fancyhf{}
\fancyfoot[C]{\footnotesize Page \thepage\ of \pageref{LastPage}}

Then just use \thispagestyle{firststyle} on the first page, immediately after \maketitle (if that is used).