Re: 3 quesiti su philosophy-style

#51431
Up
0
Down
::

Sì grazie. SOlo che adesso mi fa una cosa assai strana,
posto che ho messo
`\pagestyle{fancy}
\fancyhf{}
\renewcommand{\chaptermark}[1]{\markboth{\textbf{\thechapter. #1}}{}}
\renewcommand{\sectionmark}[1]{\markright{\textbf{\thesection. #1}}}
\setlength{\headheight}{18.0pt}
\fancyhead[LO]{\nouppercase{\rightmark}}
\fancyhead[RE]{\nouppercase{\leftmark}}
\fancyhead[LE,RO]{\scshape\thepage}`
Nella testatina mi mette il titolo corretto,
ma preceduto da 5. e invece la testatina
delle pagine dispari ha solo il numero di pagina….

Cmq qui ho trovato indicazioni interessanti
su diversi escamotage:
http://biblatex.dominik-wassenhoven.de/faq.shtml?en

Il codice
`\renewcommand{\chaptermark}[1]{\markboth{\textbf{\thechapter. #1}}{}}
\renewcommand{\sectionmark}[1]{\markright{\textbf{\thesection. #1}}}`
è molto rozzo e non tiene conto appunto di \frontmatter e \backmatter. Ma non è difficile correggere:
`\backmatter
\renewcommand{\chaptermark}[1]{\markboth{\textbf{#1}}{\textbf{#1}}}
%\renewcommand{\sectionmark}[1]{\markright{\textbf{#1}}} %non ci sono \section`
In realtà \textbf andrebbe meglio nel codice di \fancyhead, invece che in quello di \chaptermark, ma l’effetto finale è lo stesso.

Ciao
Enrico

Go to top