Re: fancyhdr

#63089
Up
0
Down
::


Prova così
`

\pagestyle{fancy}
\fancyhead[LE,RO] {\slshape \rightmark}
\fancyhead[LO,RE] {\slshape \leftmark}
\fancyfoot[C] {\thepage}

\renewcommand{\chaptermark}[1]{\markboth{\MakeUppercase{#1}}{}}
\fancyhf{} % rimuove l’attuale contenuto dell’intestazione e del pi\‘e di pagina
\fancyhead[LE,RO]{\bfseries\thepage}
\fancyhead[LO]{\bfseries\rightmark}
\fancyhead[RE]{\bfseries\leftmark}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headheight}{0.5pt} % riserva spazio per la linea
\fancypagestyle{plain}{%
\fancyhead{} % ignora, nello stile plain, le intestazioni
\renewcommand{\headrulewidth}{0pt} % e la linea
}

`

Go to top