I am using the fancyhdr package in my code and the preamble looks like this


Question is I want to add the Section name on the header of the odd pages on the left with the title not being all in uppercase. For short, how can I change the \rightmark layout to appear not in all uppercases the same way I did for the \chaptermark? I can't access the manual for some reason, I would really appreciate any help, thanks in advance.

  • 2
    Maybe: \renewcommand{\sectionmark}[1]{\markright{#1}} and \fancyhead[LO]{\bfseries\rightmark}?
    – esdd
    Dec 15, 2019 at 14:20
  • Yeah sorry @esdd, I completely forgot to be specific about what I wanted to change of the default section layout? Got it right now, thanks.
    – user202367
    Dec 15, 2019 at 14:27

1 Answer 1


You can add


to the preamble. Note that both \leftmark and \rightmark are still uppercased for header entries in TOC, LOF, LOT, bibliography etc. To avoid this use \nouppercase in \fancyhead:



\usepackage{blindtext}% only for dummy text
\renewcommand{\sectionmark}[1]{\markright{#1}}% <- added
\fancyhead[RE]{\bfseries\nouppercase{\leftmark}}% <- changed
\fancyhead[LO]{\bfseries\nouppercase{\rightmark}}% <- changed


enter image description here

You must log in to answer this question.