[Tex/LaTex] Different header for odd and even pages with fancyhdr


We are making a book with the document class book. We use the fancyhdr package to customize the headings. We want the book title on LE and the chapter name on RO. We tried

        \markright{\thesection\ #1}}
%\fancyhead{} % clear all header fields
\fancyhead[LE]{This is book title}

but now the title is overlapping with the chapter name in the header in odd pages.
How can I solve this?

Best Answer

%%%%%%%%%%%%%%%%%%%%%%%%%%%% The paper headers
\fancyhead[LO]{\small IEEE Transactions on Vehicular Technology,~Vol.~7, No.~7, Oct~2011}% odd page header and number to right top
\fancyhead[RE]{\small ElBadawy H., \textit{Performability Modeling}}%Even page header and number at left top
\renewcommand{\headrulewidth}{0pt}% disable the underline of the header part