I'd like to resize the \leftmark title on my doc.
I have:
Code: Select all
\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}
}
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,