I'd like to resize the \leftmark title on my doc.
I have:
\usepackage{fancyhdr} \fancypagestyle{front}{ \fancyhf{} %\fancyfoot[C]{page \thepage} \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} } \fancypagestyle{main}{% \renewcommand{\headrulewidth}{0pt} \fancyhf{} %\fancyhead[CO]{ \fontsize{8pt}{8pt}\selectfont\textit\leftmark} % \fancyhead[CO]{\textit\leftmark} \fancyhead[CE]{\small\textsc{\lefmark}} % pied de page \renewcommand{\footrulewidth}{0pt} \fancyfoot{} \fancyfoot[RO]{\thepage} \fancyfoot[LE]{\thepage} } \fancypagestyle{back}{% \fancyhf{} %\fancyfoot[C]{page \thepage}% \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} }
It works fine and I want to modify the main part in order that the fancyhead[CO] to be a little bit smaller.
I tried
\fancyhead[CO]{ \fontsize{8pt}{8pt}\selectfont\textit\leftmark}
\fancyhead[CO]{ \small\textit\leftmark} % \huge idem
\fancyhead[CO]{ \smaller[3]\textit\leftmark} % with the package relsize
but it does nothing. I do not understand why I can't change the size.
I use lualatex.
Thanks,