Is there a way of making a capitalized section name appear in fancyhdr as only first letters capital?
My section name is HELLO, and I want it to appear as Hello (in small capitals) in the header.
The mfirstuc package doesn't seem to give option on already capital letters, so I tried using \MakeLowercase
before applying \xcapitalisewords
or \capitalisewords
, but it doesn't seem that simple.
Any ideas?
MWE:
\documentclass[11pt]{article}
\usepackage{fancyhdr}
\usepackage{blindtext}
\usepackage{mfirstuc}
\fancypagestyle{normal}{%
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\fancyhead[LO]{\raisebox{-3pt}{\xcapitalisewords{\MakeLowercase\footnotesize\leftmark}}\quad\hrulefill\qquad}
\fancyhead[RO, LE]{\raisebox{-3pt}{\footnotesize\thepage}}}
\pagestyle{normal}
\renewcommand{\sectionmark}[1]{\markboth{#1}{}}\renewcommand{\subsectionmark}[1]{\markright{#1}{}}
\begin{document}
\section{HELLO}
\blindtext
\end{document}
edit 1. This is what I want.