Ho provato ora a usare il pacchetto fancyhdr per fare in modo di scrivere i titoli, nell’intestazione, in minuscolo, e far apparire una sottolineatura dell’intestazione, ho usato questo codice
`\documentclass[a4paper,11pt]{book}
\usepackage[latin1]{inputenc}
\usepackage[italian]{babel}
\usepackage
{geometry}
\usepackage{graphicx}
\usepackage{fancyhdr}
\pagestyle{fancy} \setcounter{secnumdepth}{-2}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\fancyhf{} \fancyhead[LE,RO]{\bfseries\thepage}
\fancyhead[LO]{\bfseries\rightmark}
\fancyhead[RE]{\bfseries\leftmark}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headheight}{0.5pt}
\fancypagestyle{plain}{ \fancyhead{}
\renewcommand{\headrulewidth}{0pt}}
`
in questo modo, nell’intestazione delle pagine pari appare il titolo del capitolo, e questo è ok, ma nelle pagine dispari, accanto al titolo della sezione corrente, appare 0.0, come posso fare ad eliminare ‘sto numeretto?
Grazie