ho un problema con il pacchetto fancydhr perché il titolo di un paragrafo è troppo lungo e si sovrappone al numero di pagnia.
Questo è il codice:
\usepackage{fancyhdr}
\pagestyle {fancy}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}} % stampa cap solo sulle pag pari
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}% par su pag disari
%\nouppercase{} %for not converting names to upper case, e.g. `Bibliography’
\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}%
}Posso definire magari un’intestazione diversa dal titolo del paragrafo che metto io a mano al paragrafo in questione?
`\section{Titolo … lungo}
\markright{\thesection\ Titolo abbreviato}`
Dando un \markright esplicito neutralizzi quello emesso dal comando \section. In alternativa
`\section[Titolo abbreviato]{Titolo … lungo}`
con il “difetto” che il titolo abbreviato comparirà anche nell’indice.
Ciao
Enrico