I would like to know how we include header and footer over Table of Contents, List of Figures and Nomenclature? Do we need to renew any command? or any package is used to do that? Sample script would be helpful. I also want to get rid of page count on nomenclature page. Instead I want to start it on Introduction page. I am also interested to know whether we can put header and footer on Ist page of chapters?
The Sample Script is:
\documentclass{report}
\usepackage{titling}
\usepackage{fancyhdr}
\usepackage{lipsum} % for dummy text only
% Nomenclature
\usepackage{nomencl}
\makeglossary
\makeatletter
\newcommand\ackname{Acknowledgements}
\newenvironment{acknowledgements}{%
\begin{center}%
\bfseries \ackname
\@endparpenalty\@M
\end{center}}%
{\par}
\newcommand\abname{Abstract}
\newenvironment{abstracts}{%
\begin{center}%
\bfseries \abname
\@endparpenalty\@M
\end{center}}%
{\par}
% These commands follow the titling package format for titles
% They define user commands to format the subtitle
\newcommand\presubtitle[1]{\gdef\@presubtitle{#1}}
\newcommand\postsubtitle[1]{\gdef\@postsubtitle{#1}}
% This command takes the subtitle as its argument, and uses the titling command
% \maketitlehookb plus the previously defined formatting commands to insert
% the subtitle into the titlepage. It also generates \thesubtitle for subsequent use
\newcommand\subtitle[1]{%
\renewcommand{\maketitlehookb}{\@presubtitle#1\@postsubtitle}
\newcommand\thesubtitle{#1}}
\makeatother
% Now we define the formatting for the subtitle
\presubtitle{\begin{center}\Large} % change this as needed
\postsubtitle{\end{center}}
% Now enter the regular title information, with the new \subtitle command
\title{My Thesis Title}
\author{A.M. Author}
\subtitle{My subtitle}
\lhead{\begin{tabular}{@{}l}\thetitle\ -- \thesubtitle\\\theauthor\end{tabular}}
\chead{}
\rhead{\begin{tabular}{r@{}}\leftmark\\\today\end{tabular}}
\lfoot{}
\cfoot{\thepage}
\rfoot{}
% Set the width of the header rule. Make 0pt to remove the rule.
\renewcommand{\headrulewidth}{.5pt}
\renewcommand{\footrulewidth}{0.1pt}
% Make the head height match the size of the header
\setlength{\headheight}{24pt}
\pagestyle{fancy}
% Remove "Chapter" from the marks
\renewcommand{\chaptermark}[1]{%
\markboth{\thechapter.\ #1}{}}
% These commands set up the headers. They are set up for even and odd pages the same
% Check the fancyhdr documentation for information on how to set them differently
% for odd and even pages
\begin{document}
\lipsum[1]
\pagenumbering{roman}
\lipsum[1]
\tableofcontents
\listoffigures
\printnomenclature
%% Print the nomenclature
\addcontentsline{toc}{chapter}{Terminology/Notation}
\setcounter{page}{1}
\pagenumbering{arabic}
\lipsum[1]
\appendix
\lipsum[1]
\bibliographystyle{plainnat}
\renewcommand{\bibname}{References} % changes default name Bibliography to References
\end{document}
\usepackage{lipsum}
\usepackage{fancyhdr} \pagestyle{fancy}
\begin{document} \tableofcontents \listoffigures
\chapter{Foo} \lipsum[1]
\begin{figure} Hello World \caption{My great figure} \end{figure} \end{document}`
– doncherry Jan 31 '12 at 14:35