Re: Problemi fancyheader

#12495
Up
0
Down
::


`\documentclass[a4paper]{book}
\usepackage[italian]{babel}
\usepackage[utf8x]{inputenc}
\usepackage{lipsum}
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{\chaptername\ \thechapter\ #1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\fancyhf{}
\fancyhead[LO]{\small\slshape\rightmark}
\fancyhead[RO,LE]{\thepage}
\fancyhead[RE]{\small\slshape\leftmark}

\begin{document}

\chapter{Prova Uno}
\lipsum[1]

\section{Sezione uno}
\lipsum[1-10]

\end{document}`Rileggi il manuale perché non l’hai letto approfonditamente…

Ciao.

Go to top