I am working on my resume and have run into a little problem I can't seem to solve. I have the first page setup such that it has no header and I just put a custom header on to that page. I then want to have a header on subsequent pages. I can't seem to figure out how to get the layout to work correctly.
Code: Select all
\geometry{
letterpaper,
margin=0.5in,
includeheadfoot
}
%% Header/Footer
\pagestyle{fancy}
\lhead{Me}
\chead{}
\rhead{}
\lfoot{}
\cfoot{}
\rfoot{\thepage\ of \pageref{LastPage}}
\renewcommand{\headrulewidth}{1.5pt}
\renewcommand{\footrulewidth}{1.5pt}
%% First Page Style
\fancypagestyle{plain}{%
\fancyhf{} % clear all header and footer fields
\fancyfoot[R]{\thepage\ of \pageref{LastPage}} % except the center
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{1.5pt}
}
I have looked at fancyhdr and geometry and I still can't seem to make it work correctly. Any thoughts?