I want to set a header/footer which shows:
- Chapter name on odd numbered page;
- Author name (different authors in different chapters) in even numbered pages;
- Page number in central footer.
Any help would be appreciated.
Thanks.
Updated:
A MWE is given as
\documentclass{book}
\usepackage{blindtext}
\usepackage{fancyhdr}
\pagestyle{fancy}
\begin{document}
\chapter{Wombat}
Author Aa, And Author Bb
\blindtext[5]
\section{tabmow}
\blindtext[5]
\chapter{Capybara}
Author Cc, And Author Dd
\blindtext[5]
\section{arabypac}
\blindtext[5]
\end{document}
Best Answer
The following introduces
\chapterauthor
to set and store the authors associated with your\chapter
s. This allows you to use the stored details within the\fancyhead[LE]
part.