add in Andrea's fixes to Configuration; working on Windows and replacing non-Cakewalk...
[goodguy/cin-manual-latex.git] / common / settings.tex
1 %\usepackage[sfdefault]{noto}
2 %====================== Page geometry
3 \usepackage{geometry}               % page geometry
4 \geometry{left=2.0cm}
5 \geometry{right=2.0cm}
6 \geometry{top=2.0cm}
7 \geometry{bottom=2.0cm}
8 \parindent=0.0cm                    % first indent in section
9 \righthyphenmin=2                   % hyphen last charecter
10
11 \setsecnumdepth{subsubsection}          % section numeration depth
12
13 % Redefine Chapters and Sections\r
14 % https://tex.stackexchange.com/questions/476735/change-chapter-and-section-color-memoir-class\r
15 \usepackage{xcolor}\r
16 % define colors\r
17 \definecolor{chaptercolour}{RGB}{23,85,142}\r
18 \definecolor{sectioncolour}{RGB}{23,85,142}\r
19 \definecolor{subsectioncolour}{RGB}{23,85,142}\r
20 %\definecolor{subsubsectioncolour}{RGB}{23,85,142}\r
21
22 \setparaheadstyle{\Large\bfseries\color{sectioncolour}}%\r
23 \setsecheadstyle{\Large\bfseries\color{sectioncolour}}% Set \section style\r
24 \setsubsecheadstyle{\large\bfseries\color{subsectioncolour}}% Set \subsection style
25
26 %\pagestyle{plain}
27 %\pagenumbering{roman}
28 %\renewcommand{\chapterheadstart}{
29 %%\vspace*{\beforechapskip}
30 %\hrule\medskip}
31 %\renewcommand{\chapnamefont}{\normalfont\large\scshape}
32 %\renewcommand{\chapnumfont}{\normalfont\large\scshape}
33 %\renewcommand{\chaptitlefont}{\normalfont\large\scshape}
34 %\renewcommand{\printchaptername}{\normalfont\large\scshape История}
35 %\renewcommand{\chapternamenum}{ }
36 %\renewcommand{\printchapternum}{\chapnumfont \thechapter}
37 %\renewcommand{\afterchapternum}{. }
38 %\renewcommand{\afterchapskip}{\vspace{2ex}}
39 %\renewcommand{\afterchaptertitle}{\par\nobreak\medskip\hrule\vskip 
40 %\afterchapskip}
41 %}
42 %\chapterstyle{madsen}          % one of chapter header style for memoir documentclass
43 \makechapterstyle{morrow}{% requires graphicx package
44   \chapterstyle{default}%
45   \renewcommand*{\chapnamefont}{%
46     \normalfont\Large\scshape\raggedleft}%
47   \renewcommand*{\chapnumfont}{%
48     \normalfont\Large\bfseries\sffamily}%
49   \renewcommand*{\printchapternum}{%
50     \chapnumfont \resizebox{!}{3ex}{\thechapter}%
51   }%
52   \renewcommand*{\chaptitlefont}{%
53     \normalfont\Huge\bfseries\sffamily\raggedleft}%
54   \renewcommand*{\afterchapternum}{%
55     \par\hspace{1.5cm}\hrule\vskip\midchapskip}%
56 }%
57
58 \chapterstyle{morrow}           % one of chapter header style for memoir documentclass
59 %\renewcommand{\printchaptername}{\normalfont\large\scshape Chapter}
60 \renewcommand{\chapterheadstart}{}
61 %\renewcommand{\beforechapskip}{\vspace{2pt}}
62
63 %\renewcommand{\@pnumwidth}{3em}  % memoir class, more space between chapter number and text.
64 \setlength{\cftfigurenumwidth}{4em} % memoir class, more space between figure number and text.
65
66 \renewcommand{\nomname}{Glossary}                  % glossary name