- Questo topic ha 2 risposte, 2 partecipanti ed è stato aggiornato l'ultima volta 19 anni, 4 mesi fa da .
-
Topic
-
Ciao a tutti!
Usando la classe book e il pacchetto acronimi ho inserito un indice degli acronimi che essendo molto lungo va ad occupare più pagine. Tale indice si trova nel frontmatter dove la numerazione di pagina è in numeri romani.
La numerazione è corretta ma le testatine risultano sbagliate. Nella prima pagina degli acronimi non si ha testatina come richiesto nelle impostazioni di fancyhdr ma nella pagina successiva presenta come titolo del capito la “List of tables” che precede l’elenco degli acronimi.Vorrei utilizzare in testatina Acronyms oppure eliminare del tutto la testatina.
Riporto un file minimale.`
\documentclass[a4paper,11pt,twoside,openright]{book} %Define the class style
%Document Layout
\usepackage[big]{layaureo} %Modify document geometry
\usepackage[]{fancyhdr} %Insert Headers and Footers
\usepackage{chngpage}%Acronyms
\usepackage[printonlyused]{acronym}[…]
%Setting Headers
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{\thechapter.\ #1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}{}}\renewcommand{\headrulewidth}{0.1pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headheight}{1.6pt}\fancyhead[LE,RO]{Omero}%{\bfseries\thepage}
\fancyfoot{}
\fancyfoot[LE,RO]{\bfseries\thepage}
\fancyhead[LO]{\bfseries\rightmark}
\fancyhead[RE]{\bfseries\leftmark}\fancypagestyle{plain}{%
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}}%Clear white pages
\makeatletter
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
\hbox{}
\vspace*{\fill}
\begin{center}
%Set white pages left
\end{center}
\vspace{\fill}
\thispagestyle{empty}
\newpage
\if@twocolumn\hbox{}\newpage\fi\fi\fi}
\makeatother\begin{document}
%Insert titlepage
\input{titlepage}%Begins frontmatter
\frontmatter
%Insert list of team members
\input{nomi}
\tableofcontents
\listoffigures
\listoftables
\input{acronyms}%Begins Mainmatter
\mainmatter
[—]
\input{reportMA1}
[—]\end{document}
`
Il file acronyms è invece:
`\chapter*{Acronyms}
\begin{acronym}
\acro{AOCS}{Attitude and Orbital Control System}
\end{acronym}`
Scusate se i file sono estremamente lunghi ma volevo mostrarvi esattamente quali settaggi sto utilizzando.Grazie mille per l’attenzione!
Davide
- Devi essere connesso per rispondere a questo topic.