I am writing my thesis using report
documentclass. I want to have current chapter title as 1. Chapter Name on right side of the even page header and section title on left side of the odd page header. I also want to have these headers as smaller cases. Below is my MWE which does not work as I want. On both pages it prints only section names. Can someone tell me what is the problem?
\documentclass[12pt, a4paper, twoside]{report}
\usepackage{fancyhdr}
\renewcommand{\chaptermark}[1]{\markboth{\thechapter.\ #1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
\fancyhead[RE]{\chaptermark}
\fancyhead[LO]{\sectionmark}
\renewcommand{\headrulewidth}{1pt}
\begin{document}
\pagestyle{fancy}
\include{Chapter}
.
.
.
\end{document}
I also referred this question which did not help. Chapter title on even header and section title in odd header