From c942ad80abd96312616913abd2d209662c3a135c Mon Sep 17 00:00:00 2001 From: AVAtarMod Date: Wed, 9 Aug 2023 13:55:00 +0300 Subject: [PATCH] Fix style, list formatting --- config.tex | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/config.tex b/config.tex index dde1ec5..ec4f7b4 100644 --- a/config.tex +++ b/config.tex @@ -63,23 +63,22 @@ \titleformat{\paragraph}[runin] {\normalfont\normalsize\bfseries}{\theparagraph}{1em}{} \titlespacing*{\paragraph} {\parindent}{3.25ex plus 1ex minus .2ex}{1em} -\titleformat{\chapter}[display]{\normalfont\large\bfseries}{}{0cm}{\Large\centering} +\titleformat{\chapter}[display]{\normalfont\large\bfseries}{}{0cm}{\large\centering} \titleformat{\section} {\normalfont\large\bfseries}{\thesection}{5mm}{} \makeatletter % NormalTeXSyntaxON \def\@makechapterhead#1{% \vspace*{0\p@}% - {\parindent \z@ \raggedright \normalfont + {\parindent \z@ \raggedright \normalfont \setstretch{1.2} \interlinepenalty\@M - \Large \bfseries \space \thechapter. #1\par\nobreak - \vskip 0\p@ + \large \bfseries \space \thechapter. #1\par\nobreak }} % NormalTeXSyntaxOFF \titlespacing{\chapter}{0pt}{-5mm}{0cm} % ОФОРМЛЕНИЕ СПИСКОВ -------------------- -\setlist{noitemsep,align=left,left=\parindent} +\setlist{noitemsep,align=left,left=\parindent,topsep=0pt} % ОФОРМЛЕНИЕ ЛИСТИНГОВ КОДА ----------------- \definecolor{dkgreen}{rgb}{0,0.6,0} @@ -170,3 +169,6 @@ % URL --------------- \urlstyle{same} + +% ОФОРМЛЕНИЕ ТЕКСТА +\renewcommand{\baselinestretch}{1.5}