Michele 'xjp'
2006-05-18 11:00:12 UTC
Ciao a tutti, uso il package fancyhdr per la scrittura di un documento.
Ho però due problemi:
1)
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{\chaptername\ \thechapter\ : #1}{}}
\renewcommand{\sectionmark}[1]{\markright{{#1}}{}}
\fancyhf{}
\fancyhead[LE,RO]{\bfseries\thepage}
\fancyhead[LO]{\rightmark}
\fancyhead[RE]{\bfseries\leftmark}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headheight}{0.5pt}
\fancypagestyle{plain}{
\fancyhead{}
\renewcommand{\headrulewidth}{0pt}
}
Quando stampa l'intestazione delle pagine a sinistra visualizza
"Capitolo 1 : Antani" -> vorrei togliere lo spazio tra '1' e i ':'.
Come posso fare?
2)
\begin{document}
\frontmatter
\include{Fronte}
\include{Ringraziamenti}
\tableofcontents
\listoffigures
\include{Prefazione}
\include{Riassunto}
\mainmatter
\include{cap1}
\include{cap2}
\include{cap3}
\include{cap4}
\include{cap5}
Ai capitoli compresi nel frontmatter non vorrei che fosse applicata la
numerazione di fancyhdr.
Infatti, per esempio in Ringraziamenti, la prima pagina non contiene
intestazioni, mentre la seconda contiene solo l'intestazione (Capitolo
0: Ringraziamenti) [ed è vuota].
Grazie!
Ho però due problemi:
1)
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{\chaptername\ \thechapter\ : #1}{}}
\renewcommand{\sectionmark}[1]{\markright{{#1}}{}}
\fancyhf{}
\fancyhead[LE,RO]{\bfseries\thepage}
\fancyhead[LO]{\rightmark}
\fancyhead[RE]{\bfseries\leftmark}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headheight}{0.5pt}
\fancypagestyle{plain}{
\fancyhead{}
\renewcommand{\headrulewidth}{0pt}
}
Quando stampa l'intestazione delle pagine a sinistra visualizza
"Capitolo 1 : Antani" -> vorrei togliere lo spazio tra '1' e i ':'.
Come posso fare?
2)
\begin{document}
\frontmatter
\include{Fronte}
\include{Ringraziamenti}
\tableofcontents
\listoffigures
\include{Prefazione}
\include{Riassunto}
\mainmatter
\include{cap1}
\include{cap2}
\include{cap3}
\include{cap4}
\include{cap5}
Ai capitoli compresi nel frontmatter non vorrei che fosse applicata la
numerazione di fancyhdr.
Infatti, per esempio in Ringraziamenti, la prima pagina non contiene
intestazioni, mentre la seconda contiene solo l'intestazione (Capitolo
0: Ringraziamenti) [ed è vuota].
Grazie!
--
<michele @ nectarine . it>
WWW: http://xjp.altervista.org
MSN: <michele @ nectarine . it>
Oderint, dum metuant.
<michele @ nectarine . it>
WWW: http://xjp.altervista.org
MSN: <michele @ nectarine . it>
Oderint, dum metuant.