X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=common%2Fsettings.tex;h=f4a0d8a32772e52352db66111ded180b835e92c6;hb=9fc28f3e3893e19fe3eb6d87a3171da6714edbfe;hp=019ea85abcf58e28980651afd2b6e5d3ea8a848f;hpb=4f88cfa7939dc9b8c1a1971099c9f5a05a55853e;p=goodguy%2Fcin-manual-latex.git diff --git a/common/settings.tex b/common/settings.tex index 019ea85..f4a0d8a 100644 --- a/common/settings.tex +++ b/common/settings.tex @@ -8,9 +8,20 @@ \parindent=0.0cm % first indent in section \righthyphenmin=2 % hyphen last charecter -\setsecnumdepth{subsubsection} % section numration depth +\setsecnumdepth{subsubsection} % section numeration depth +% Redefine Chapters and Sections +% https://tex.stackexchange.com/questions/476735/change-chapter-and-section-color-memoir-class +\usepackage{xcolor} +% define colors +\definecolor{chaptercolour}{RGB}{23,85,142} +\definecolor{sectioncolour}{RGB}{23,85,142} +\definecolor{subsectioncolour}{RGB}{23,85,142} +%\definecolor{subsubsectioncolour}{RGB}{23,85,142} +\setparaheadstyle{\Large\bfseries\color{sectioncolour}}% +\setsecheadstyle{\Large\bfseries\color{sectioncolour}}% Set \section style +\setsubsecheadstyle{\large\bfseries\color{subsectioncolour}}% Set \subsection style %\pagestyle{plain} %\pagenumbering{roman} @@ -28,10 +39,12 @@ %\renewcommand{\afterchaptertitle}{\par\nobreak\medskip\hrule\vskip %\afterchapskip} %} -\chapterstyle{madsen} % one of chapter header style for memoir documentclass +\chapterstyle{madsen} % one of chapter header style for memoir documentclass %\renewcommand{\printchaptername}{\normalfont\large\scshape Chapter} \renewcommand{\chapterheadstart}{} %\renewcommand{\beforechapskip}{\vspace{2pt}} +%\renewcommand{\@pnumwidth}{3em} % memoir class, more space between chapter number and text. +\setlength{\cftfigurenumwidth}{3.5em} % memoir class, more space between figure number and text. \renewcommand{\nomname}{Glossary} % glossary name