# 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

\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{%
\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{%
\markright{\thesection\ #1}}
\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?

-

## migrated from stackoverflow.comApr 6 '12 at 19:46

This question came from our site for professional and enthusiast programmers.

\usepackage{fancyhdr}
\pagestyle{fancy}
%%%%%%%%%%%%%%%%%%%%%%%%%%%% The paper headers