[Tex/LaTex] Using \@author variable to put authors name in fancy header


I'm using \@author variable to put authorname in header of my document. Currently, header shows authorname and footnotemark which incerements every page:


\fancyhead[EC]{\sc \runtitle}

For example, if author is John Doe, I get printed

John Doe^1 (1.page)
John Doe^2 (2.page)

Any ideas ?

Best Answer

This works fluently.



\fancyhead[EC]{\scshape \MyTitle}


\usepackage{lipsum} % filler text