- Questo topic ha 6 risposte, 2 partecipanti ed è stato aggiornato l'ultima volta 11 anni, 7 mesi fa da .
-
Topic
-
Problema con le testatine:
`\documentclass[a4paper,12pt,twoside]{report}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[italian]{babel}
\usepackage{lipsum}% note
\usepackage{endnotes}
\renewcommand\enoteformat{%
\noindent\theenmark.\ \hangindent 0\parindent%
}
\usepackage{etoolbox}
\preto{\theendnotes}{%
\renewcommand{\makeenmark}{\textsuperscript{\theenmark}\enspace}%
}
\renewcommand{\notesname}{Note}
\let\footnote=\endnote
\usepackage{chngcntr}
\counterwithin*{endnote}{chapter}% testatine
\usepackage{emptypage}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\setlength{\headheight}{14.49998pt}
\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
\renewcommand{\sectionmark}[1]{\markright{#1}}
\renewcommand{\headrulewidth}{0pt}
\fancyhead[LE]{\footnotesize\scshape\MakeLowercase{\rightmark}}
\fancyhead[RO]{\footnotesize\scshape\MakeLowercase{\leftmark}}
\fancyhead[LO,RE]{\thepage}\begin{document}
\chapter{Capitolo primo}
\section{Sezione uno}
\lipsum[1-5]
\footnote{\lipsum[1]}
\footnote{\lipsum[3]}
\section{Sezione due}
\lipsum[2-7]
\footnote{\lipsum[2]}
\section{Sezione tre}
\lipsum[1-5]
\footnote{\lipsum[8]}
\footnote{\lipsum[9]}
\section{Sezione quattro}
\lipsum[1-5]
\footnote{\lipsum[6]}
\renewcommand{\notesname}{}
\addtoendnotes{\protect\markboth{Note}{Note}}
\theendnotes
\end{document}`
Le testatine delle pagine con note risultano vuote.
Come fare per riempirle visto che i comandi finali aggiunti non funzionano?grazie
m
- Devi essere connesso per rispondere a questo topic.