I'm relatively new to Latex and am getting a little confused with the fancyhdr documentation. I'm writing a report and want to have a standard header/footer for all pages, apart from those before the main report (i.e. title, abstract and contents).
By default, Latex seems to define the first page of every chapter differently so I've managed to uniformly format my pages using:
Code: Select all
%Define Fancy Header (using fancyhdr and pagesLts)
\pagestyle{fancyplain}
\lhead{}
\chead{}
\rhead{}
\lfoot{TITLE}
\cfoot{}
\rfoot{\thepage\ / \lastpageref{pagesLTS.arabic}}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0.4pt}
%Redefine Plain Header
\fancypagestyle{plain}{
\fancyhf{} % clear all header and footer fields
\fancyfoot[L]{TITLE}
\fancyfoot[R]{\thepage\ / \lastpageref{pagesLTS.arabic}}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0.4pt}}
Ideally I'd like to create a new style which simply shows the page number e.g.
\cfoot{\thepage\} and then use this for the abstract and contents page.
However, I can't determine from the documentation when to define items as cfoot{.etc.} and when to use \fancyfoot and more importantly, how to define a new style and then deploy it for a multi-page contents page.
Any tips / guidance would be greatly appreciated.
Thanks
PS - Apologies as I meant to post this in the Page Layout section, not text formatting.