I am using fancyhdr to customize my footer and header. Right now I have it exactly as I want it except that I want to have the current section name in the right header. Currently it is just printing 0,1,2,3,4,5 and 6 in the right header.
In the preamble I have:
Code: Select all
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\lhead{Author: Name of author}
\chead{Student ID: number}
\rhead{\the section}
\lfoot{\textcopyright university name}
\cfoot{title of project}
\rfoot{Page \thepage\ of \pageref{LastPage}}
Code: Select all
\rhead{\the section}
Thanks