add Olaf Workmark
[goodguy/cin-manual-latex.git] / common / settings.tex
index b144fbad10f3beb0768bf2d3414240e705d10977..fa927323e9920b22b12910900f599db93186ddcb 100644 (file)
@@ -1 +1,81 @@
-%\usepackage{noto}
+%\usepackage[sfdefault]{noto}
+%====================== Page geometry
+\usepackage{geometry}               % page geometry
+\geometry{left=2.0cm}
+\geometry{right=2.0cm}
+\geometry{top=2.0cm}
+\geometry{bottom=2.0cm}
+\parindent=0.0cm                    % first indent in section
+\righthyphenmin=2                   % hyphen last charecter
+
+\setsecnumdepth{subsubsection}                 % section numeration depth
+
+% Redefine Chapters and Sections\r
+% https://tex.stackexchange.com/questions/476735/change-chapter-and-section-color-memoir-class\r
+\usepackage{xcolor}\r
+% define colors\r
+\definecolor{chaptercolour}{RGB}{23,85,142}\r
+\definecolor{sectioncolour}{RGB}{23,85,142}\r
+\definecolor{subsectioncolour}{RGB}{23,85,142}\r
+%\definecolor{subsubsectioncolour}{RGB}{23,85,142}\r
+
+\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}}%\r
+\setsecheadstyle{\Large\bfseries\color{sectioncolour}}% Set \section style\r
+\setsubsecheadstyle{\large\bfseries\color{subsectioncolour}}% Set \subsection style
+
+%\pagestyle{plain}
+%\pagenumbering{roman}
+%\renewcommand{\chapterheadstart}{
+%%\vspace*{\beforechapskip}
+%\hrule\medskip}
+%\renewcommand{\chapnamefont}{\normalfont\large\scshape}
+%\renewcommand{\chapnumfont}{\normalfont\large\scshape}
+%\renewcommand{\chaptitlefont}{\normalfont\large\scshape}
+%\renewcommand{\printchaptername}{\normalfont\large\scshape История}
+%\renewcommand{\chapternamenum}{ }
+%\renewcommand{\printchapternum}{\chapnumfont \thechapter}
+%\renewcommand{\afterchapternum}{. }
+%\renewcommand{\afterchapskip}{\vspace{2ex}}
+%\renewcommand{\afterchaptertitle}{\par\nobreak\medskip\hrule\vskip 
+%\afterchapskip}
+%}
+%\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}{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}