- Questo topic ha 2 risposte, 2 partecipanti ed è stato aggiornato l'ultima volta 20 anni, 6 mesi fa da .
-
Topic
-
Ho un problema con il pacchetto fancyhdr che non sono riuscita a risolvere leggendo le varie guide al riguardo…forse mi sfugge qualcosa:
il codice e’ il seguente:\documentclass[12pt,a4paper,twoside,openright]{report}
\usepackage{fancyhdr}
\pagestyle {fancy}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesesection\ #1}}
%\nouppercase{}
\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}%
}quando compilo per la prima volta mi da’ questo messaggio:
Package Fancyhdr Warning: \headheight is too small (12.5pt):
Make it at least 14.49998pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.le volte seguenti invece si blocca ad ogni \section{titolo} che incontra, ad esempio…:
! Undefined control sequence.
… \bbl@restore@actives \thesesection
\ Definizione di sistemi a…
l.97 …ione di sistemi a bassa dimensionalit\`a}dopo vari tentativi, non so cosa devo modificare.
grazie
- Devi essere connesso per rispondere a questo topic.