- Questo topic ha 5 risposte, 4 partecipanti ed è stato aggiornato l'ultima volta 20 anni, 7 mesi fa da .
-
Topic
-
La configurazione del mio documento è:
`
\documentclass[a4paper,12pt]{report}
`1) Ho il seguente codice:
`
\usepackage{fancyhdr}
\pagestyle{fancy}
% with this we ensure that the chapter and section
% headings are in lowercase.
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\fancyhf{} % delete current setting for header and footer
\fancyhead[LE,RO]{\bfseries\thepage}
\fancyhead[LO]{\bfseries\rightmark}
\fancyhead[RE]{\bfseries\leftmark}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headheight}{0.5pt} % make space for the rule
\fancypagestyle{plain}{%
\fancyhead{} % get rid of headers on plain pages
\renewcommand{\headrulewidth}{0pt} % and the line
}`Ho dei warning riguardo questo codice:
Mi dice che l’opzione E è inutile senza aver l’opzione twoside. Che cosa devo cancellare per togliere il warning. Tolgo le lettere “LE” e “RE” ? oppure tolgo solo la lettera “E” ?
Poi mi dice che \headheight è troppo piccola e di aumentarne le dimensioni, e poi sembra dirmi che ha cambiato lui da solo le impostazioni:
“We now make it that large for the rest of the document, this may cause the page layout to be inconsistent”
Sapete come faccio a mettere da solo a posto questo problema evitando che sia lui a far casini?
Grazie mille per l’attenzione.
- Devi essere connesso per rispondere a questo topic.