a few corrections from MatN
[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 %\renewcommand{\printchaptername}{\normalfont\large\scshape Chapter}
44 \renewcommand{\chapterheadstart}{}
45 %\renewcommand{\beforechapskip}{\vspace{2pt}}
46
47 %\renewcommand{\@pnumwidth}{3em}  % memoir class, more space between chapter number and text.
48 \setlength{\cftfigurenumwidth}{3.5em} % memoir class, more space between figure number and text.
49
50 \renewcommand{\nomname}{Glossary}                  % glossary name