X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcin-manual-latex.git;a=blobdiff_plain;f=common%2Fsettings.tex;h=fa927323e9920b22b12910900f599db93186ddcb;hp=d63ef04fc44688192097909aab193a22aaef6dfe;hb=57a86b4cce1e2f98b917a90db8027f55ea3e0d7b;hpb=62445ba04006fc8cebde23f8bc0161089c204422 diff --git a/common/settings.tex b/common/settings.tex index d63ef04..fa92732 100644 --- a/common/settings.tex +++ b/common/settings.tex @@ -10,7 +10,24 @@ \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} +\definecolor{CinBlueText}{RGB}{23,85,142} +% \definecolor{CinBlue}{RGB}{35,134,220} +\definecolor{CinRed}{RGB}{205,38,11} +% \definecolor{CinOrange}{RGB}{250,125,0} +% \definecolor{CinGreen}{RGB}{205,38,11} + +\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,12 +45,37 @@ %\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 +\makechapterstyle{morrow}{% requires graphicx package + \chapterstyle{default}% + \renewcommand*{\chapnamefont}{% + \normalfont\Large\scshape\raggedleft}% + \renewcommand*{\chapnumfont}{% + \normalfont\Large\bfseries\sffamily}% + \renewcommand*{\printchapternum}{% + \chapnumfont \resizebox{!}{3ex}{\thechapter}% + }% + \renewcommand*{\chaptitlefont}{% + \normalfont\Huge\bfseries\sffamily\raggedleft}% + \renewcommand*{\afterchapternum}{% + \par\hspace{1.5cm}\hrule\vskip\midchapskip}% +}% + +\chapterstyle{morrow} % 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. +\setlength{\cftfigurenumwidth}{4em} % memoir class, more space between figure number and text. \renewcommand{\nomname}{Glossary} % glossary name + + +% Define the Cinnelerr-GG wordmark - a rough draft that can be +% adapted at any time. To be used in the text with \CGG{} +% or % \CGGI{} +\def\GG{\textsc{G\kern-0.1em G}} +\def\CGG{\textsc{Cinelerra-\GG}} +\def\INF{\textsc{Infinity}} +\def\CGGI{\CGG\;\INF}