I did a quick search for table of contents and fancyhdr problems, but found nothing related, so here goes.
I am having a bit of trouble with numbering. I am using the fancyhdr package to add headers and footers. All my front matter pages should be roman numeral and centered at bottom. Main matter pages should be arabic numeral and in top right.
In addition to the plain style, I defined two new styles.
I have defined a new fancy style I called fancyplain style like so for the front matter pages
Code: Select all
\fancypagestyle{fancyplain}{%\fancyhf{} % clear all header and footer fields\fancyfoot[C]{\thepage} % except the center\renewcommand{\headrulewidth}{0pt}\renewcommand{\footrulewidth}{0pt}}
Code: Select all
\pagestyle{fancy}\lhead{}\chead{}\rhead{\thepage}\lfoot{DRAFT}\cfoot{}\rfoot{\today}
Code: Select all
\thispagestyle{plain}\include{abstract}\chapter*{Acknowledgements}I would like to thank \ldots%------------ Table of Contents ------------------------------\thispagestyle{fancyplain}\renewcommand{\contentsname}{Table of Contents}\tableofcontents{}%\addcontentsline{toc}{chapter}{Table of Contents}%------------ List of Tables ---------------------------------\thispagestyle{fancyplain}\listoftables{}\addcontentsline{toc}{chapter}{List of Tables}%------------ List of Figures --------------------------------\thispagestyle{fancyplain}\listoffigures{}\addcontentsline{toc}{chapter}{List of Figures}%------------ Acronyms List ----------------------------------\thispagestyle{fancyplain}\chapter*{List of Acronyms}\addcontentsline{toc}{chapter}{List of Acronyms}\begin{acronym}\acro[html]{hypertext markup language}\end{acronym}
abstract page with no header and footer GOOD
acknowledgments page with centered footer roman numeral GOOD (but not sure how that worked)
TOC page with no header and footer BAD
LOT page with centered footer roman numeral GOOD
LOF page with centered footer roman numeral GOOD
LOA page with no header and footer BAD
How can I get the page number of the Table of Contents page to show? The TOC page is vi and should show up in the center footer, but doesn't. Same problem with the List of Acronyms page, which should be x, but doesn't show.
TIA.