TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

migrated from stackoverflow.com Apr 6 '12 at 19:46

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

%%%%%%%%%%%%%%%%%%%%%%%%%%%% 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
share|improve this answer

Have a look over here, section "Selectors". That should let you do something just for odd or even pages.

share|improve this answer
This link helped me fix the issue latex-community.org/forum/viewtopic.php?f=4&t=1357 – j4v4m4n Oct 26 '10 at 10:30
@j4v4m4n: You should put this down as an answer and accept it, since it's OK to answer your own questions. – Werner Oct 2 '11 at 2:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.