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 \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
27 %\pagenumbering{roman}
28 %\renewcommand{\chapterheadstart}{
29 %%\vspace*{\beforechapskip}
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
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}%
52 \renewcommand*{\chaptitlefont}{%
53 \normalfont\Huge\bfseries\sffamily\raggedleft}%
54 \renewcommand*{\afterchapternum}{%
55 \par\hspace{1.5cm}\hrule\vskip\midchapskip}%
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}}
63 %\renewcommand{\@pnumwidth}{3em} % memoir class, more space between chapter number and text.
64 \setlength{\cftfigurenumwidth}{3.5em} % memoir class, more space between figure number and text.
66 \renewcommand{\nomname}{Glossary} % glossary name