Re: capitolo non numerato

#82626
Up
0
Down
::


Scusa Enrico non ho capito, per quanto riguarda il colore dei capitoli ho il seguente codice:
`
% colore
%=====================================================================
\definecolor{chaptercolor}{named}{MidnightBlue}
\definecolor{frontcolor}{named}{Yellow}
\definecolor{frontcolorbkg}{named}{MidnightBlue}
\definecolor{pagequadrocolor}{rgb}{0.8,0.85,1}
\definecolor{pagequadroframe}{named}{Black}
%=====================================================================
% definisce comando colorchapter per avere chapter e appendix a colori
%=====================================================================
\newcommand{\colorchapter}[1]{\chapter{\textcolor{chaptercolor}{#1}}}
\newcommand{\colorchapterx}[1]{\chapter*{\textcolor{chaptercolor}{#1}}}
%=====================================================================
% Formattazione documento
%=====================================================================
\pagestyle{fancyplain} \addtolength{\headwidth}{\marginparsep}
\setlength{\headheight}{15pt}
\renewcommand{\headrulewidth}{1pt} % modificare questo per spessore linea header
\renewcommand{\chaptermark}[1]%
{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]%
{\markright{\thesection\ #1}}
\lhead[\fancyplain{}{\sf\bfseries\thepage}]%
{\fancyplain{}{\sf\bfseries\rightmark}}%
\rhead[\fancyplain{}{\sf\bfseries\leftmark}]%
{\fancyplain{}{\sf\bfseries\thepage}}%
\cfoot{}

%titolo
\titleformat{\chapter}[display]
{\Huge\sf\bfseries}
{\filleft{\LARGE\chaptertitlename}\LARGE\thechapter}
{4ex}
{\filleft\titlerule
\vspace{2ex}%
}
[\vspace{2ex}%
\titlerule]
`

Non ho capito cosa dovrei sostituire …

Riccardo

Go to top