4 Febbraio 2007 alle 14:49
#12495
::
`\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.