1 %\usepackage[sfdefault]{noto}
2 %====================== Page geometry
3 \usepackage{geometry} % page geometry
7 \geometry{bottom=2.0cm}
8 \parindent=0.0cm % first indent in section
9 \righthyphenmin=2 % hyphen last charecter
11 \setsecnumdepth{subsubsection} % section numeration depth
13 % Redefine Chapters and Sections
\r
14 % https://tex.stackexchange.com/questions/476735/change-chapter-and-section-color-memoir-class
\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
22 \definecolor{CinBlueText}{RGB}{23,85,142}
23 % \definecolor{CinBlue}{RGB}{35,134,220}
24 \definecolor{CinRed}{RGB}{205,38,11}
25 % \definecolor{CinOrange}{RGB}{250,125,0}
26 % \definecolor{CinGreen}{RGB}{205,38,11}
28 \setparaheadstyle{\Large\bfseries\color{sectioncolour}}%
\r
29 \setsecheadstyle{\Large\bfseries\color{sectioncolour}}% Set \section style
\r
30 \setsubsecheadstyle{\large\bfseries\color{subsectioncolour}}% Set \subsection style
33 %\pagenumbering{roman}
34 %\renewcommand{\chapterheadstart}{
35 %%\vspace*{\beforechapskip}
37 %\renewcommand{\chapnamefont}{\normalfont\large\scshape}
38 %\renewcommand{\chapnumfont}{\normalfont\large\scshape}
39 %\renewcommand{\chaptitlefont}{\normalfont\large\scshape}
40 %\renewcommand{\printchaptername}{\normalfont\large\scshape История}
41 %\renewcommand{\chapternamenum}{ }
42 %\renewcommand{\printchapternum}{\chapnumfont \thechapter}
43 %\renewcommand{\afterchapternum}{. }
44 %\renewcommand{\afterchapskip}{\vspace{2ex}}
45 %\renewcommand{\afterchaptertitle}{\par\nobreak\medskip\hrule\vskip
48 %\chapterstyle{madsen} % one of chapter header style for memoir documentclass
49 \makechapterstyle{morrow}{% requires graphicx package
50 \chapterstyle{default}%
51 \renewcommand*{\chapnamefont}{%
52 \normalfont\Large\scshape\raggedleft}%
53 \renewcommand*{\chapnumfont}{%
54 \normalfont\Large\bfseries\sffamily}%
55 \renewcommand*{\printchapternum}{%
56 \chapnumfont \resizebox{!}{3ex}{\thechapter}%
58 \renewcommand*{\chaptitlefont}{%
59 \normalfont\Huge\bfseries\sffamily\raggedleft}%
60 \renewcommand*{\afterchapternum}{%
61 \par\hspace{1.5cm}\hrule\vskip\midchapskip}%
64 \chapterstyle{morrow} % one of chapter header style for memoir documentclass
65 %\renewcommand{\printchaptername}{\normalfont\large\scshape Chapter}
66 \renewcommand{\chapterheadstart}{}
67 %\renewcommand{\beforechapskip}{\vspace{2pt}}
69 %\renewcommand{\@pnumwidth}{3em} % memoir class, more space between chapter number and text.
70 \setlength{\cftfigurenumwidth}{4em} % memoir class, more space between figure number and text.
72 \renewcommand{\nomname}{Glossary} % glossary name