X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=common%2Fsettings.tex;h=f4a0d8a32772e52352db66111ded180b835e92c6;hb=c12b65da5a4547090ca2eb2ebae164e473776af5;hp=d626072203bd6a0271f1211aafc0d0c6345f521f;hpb=1a582ca94b7102bb9df2628379f682b6e53cfa83;p=goodguy%2Fcin-manual-latex.git diff --git a/common/settings.tex b/common/settings.tex index d626072..f4a0d8a 100644 --- a/common/settings.tex +++ b/common/settings.tex @@ -1,2 +1,50 @@ %\usepackage[sfdefault]{noto} -%\renewcommand{\rmdefault}{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 +% https://tex.stackexchange.com/questions/476735/change-chapter-and-section-color-memoir-class +\usepackage{xcolor} +% define colors +\definecolor{chaptercolour}{RGB}{23,85,142} +\definecolor{sectioncolour}{RGB}{23,85,142} +\definecolor{subsectioncolour}{RGB}{23,85,142} +%\definecolor{subsubsectioncolour}{RGB}{23,85,142} + +\setparaheadstyle{\Large\bfseries\color{sectioncolour}}% +\setsecheadstyle{\Large\bfseries\color{sectioncolour}}% Set \section style +\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 +%\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}{3.5em} % memoir class, more space between figure number and text. + +\renewcommand{\nomname}{Glossary} % glossary name