ansys” post=78410Grazie per i suggerimenti, ma non va. Continua ad uscire come 1 TITOLO DELLA SEZIONE e non Esercizio 1 Titolo della sezione (ho dimenticato il comando [tt]\nouppercase[/tt])
Ciao
OrlandoEDIT:
Con
`\usepackage{fancyhdr}
\setlength{\headheight}{13.59999pt}
\pagestyle{fancy}{
\renewcommand{\sectionmark}[1]{%
\markright{\sffamily #1}
}
\fancyhf{}
\fancyhead[L]{Esercizio\ \nouppercase\leftmark}
\fancyfoot[C]{\thepage}
}`
va bene però \sffamily non viene proprio visto.
Ohibò! Certo che non viene visto niente!
`\usepackage{fancyhdr}
\setlength{\headheight}{13.6pt}
\pagestyle{fancy}
\renewcommand{\sectionmark}[1]{\markright{\sffamily #1}}
\fancyhf{}
\fancyhead[L]{Esercizio\ \nouppercase\rightmark}
\fancyfoot[C]{\thepage}`
Eseguivi tutto in un gruppo! E poi usa [tt]\rightmark[/tt] se vuoi che l’effetto di [tt]\markright[/tt] si veda. 🙂 Naturalmente [tt]\nouppercase[/tt] non ti serve a niente (ma non fa male, solo un po’ di lavoro inutile).
Temo che tu ti confonda con il comando [tt]\fancypagestyle[/tt]; [tt]\pagestyle[/tt] ha un solo argomento.
Ciao
Enrico