Fix style, list formatting

This commit is contained in:
AVAtarMod 2023-08-09 13:55:00 +03:00
parent dcbdd6fb2e
commit c942ad80ab

View File

@ -63,23 +63,22 @@
\titleformat{\paragraph}[runin] \titleformat{\paragraph}[runin]
{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{} {\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}
\titlespacing*{\paragraph} {\parindent}{3.25ex plus 1ex minus .2ex}{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} \titleformat{\section}
{\normalfont\large\bfseries}{\thesection}{5mm}{} {\normalfont\large\bfseries}{\thesection}{5mm}{}
\makeatletter \makeatletter
% NormalTeXSyntaxON % NormalTeXSyntaxON
\def\@makechapterhead#1{% \def\@makechapterhead#1{%
\vspace*{0\p@}% \vspace*{0\p@}%
{\parindent \z@ \raggedright \normalfont {\parindent \z@ \raggedright \normalfont \setstretch{1.2}
\interlinepenalty\@M \interlinepenalty\@M
\Large \bfseries \space \thechapter. #1\par\nobreak \large \bfseries \space \thechapter. #1\par\nobreak
\vskip 0\p@
}} }}
% NormalTeXSyntaxOFF % NormalTeXSyntaxOFF
\titlespacing{\chapter}{0pt}{-5mm}{0cm} \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} \definecolor{dkgreen}{rgb}{0,0.6,0}
@ -170,3 +169,6 @@
% URL --------------- % URL ---------------
\urlstyle{same} \urlstyle{same}
% ОФОРМЛЕНИЕ ТЕКСТА
\renewcommand{\baselinestretch}{1.5}