10

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{} % clear all header fields
\fancyhead[LE]{This is book title}
\fancyhead[RO]{\emph{\thechapter}}

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

0

2 Answers 2

14
\usepackage{fancyhdr}
\pagestyle{fancy}
%%%%%%%%%%%%%%%%%%%%%%%%%%%% The paper headers
\fancyhead[RO,LE]{\small\thepage}
\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
\fancyfoot[L,R,C]{}
\renewcommand{\headrulewidth}{0pt}% disable the underline of the header part
3

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

2

You must log in to answer this question.