- Questo topic ha 5 risposte, 3 partecipanti ed è stato aggiornato l'ultima volta 13 anni, 5 mesi fa da .
-
Topic
-
Salve a tutti. Vi sto scrivendo perché vorrei sapere come posso fare per non visualizzare il nome della sezione di un capitolo nella testatina della pagina in cui tale sezione comincia. Ovviamente nelle pagine successive dev’essere visualizzata.
Io uso questo codice qui.`% ***************** IMPOSTAZIONI TESTATINE E FOOTER**********************
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0pt}\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}%
\fancyhf{} %Clears all header and footer fields, in preparation.
\lhead{\rightmark}%
\chead{}%
\rhead{\bfseries\thepage}%
\renewcommand{\headrulewidth}{0.4pt}%
\renewcommand{\footrulewidth}{0pt}%
\setlength{\headheight}{15pt}%
\fancypagestyle{plain}{\fancyhead{}\renewcommand{\headrulewidth}{0pt}}%\fancyhead[LE,RO]{\textbf{\thepage}} %Displays the page number in bold in the header,
%to the left on even pages and to the right on odd pages.
\fancyhead[RE]{\nouppercase{\leftmark}} %Displays the upper-level (section) information –
%as determined above – in non-upper case in the header, to the left on odd pages.
\fancyhead[LO]{\nouppercase{\rightmark}} %Displays the lower-level (chapter) information – as
%determined above – in the header, to the left on odd pages.`
- Devi essere connesso per rispondere a questo topic.