Форматирование перечислений

This commit is contained in:
Andrei Astafev 2021-06-15 14:57:33 +03:00
parent 2c7dd2e3da
commit 8ea8563ec6

View File

@ -427,6 +427,51 @@ $if(csquotes)$
\usepackage{csquotes}
$endif$
\RequirePackage{enumitem} % убрать вертикальный отступ перед списками
\setlist[itemize]{%
topsep=0pt,
parsep=0pt,
leftmargin=0cm,
listparindent=\parindent{},
itemindent=\labelwidth{}
}
\setlist[enumerate]{%
topsep=0pt,
parsep=0pt,
leftmargin=0cm,
listparindent=\parindent{},
itemindent=\labelwidth{}
}
\AddEnumerateCounter{\asbuk}{\@asbuk}{\cyra}
\renewcommand{\theenumi}{\arabic{enumi}}
\renewcommand{\labelenumi}{\theenumi)}
\renewcommand{\theenumii}{\asbuk{enumi}}
\renewcommand{\labelenumii}{\theenumii)}
\renewcommand{\labelitemi}{\bfseries\textemdash}
\renewcommand{\labelitemii}{\bfseries\textemdash}
\renewcommand{\labelitemiii}{\bfseries\textemdash}
\renewcommand{\labelitemiv}{\bfseries\textemdash}
%\renewcommand{\@listi}{%
% \setlength{\itemsep}{0pt}}
%\renewcommand{\@listii}{%
% \setlength{\itemsep}{0pt}}
%\renewcommand{\@listiii}{%
% \setlength{\itemsep}{0pt}}
%\renewcommand{\@listiv}{%
% \setlength{\itemsep}{0pt}}
%\let\@listI\@listi
%\@listi
\setlength{\labelwidth}{\parindent+.7em+\labelsep}
\setlength{\itemindent}{0pt}
\setlength{\leftmargin}{\labelwidth}
$if(title)$
\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
$endif$
@ -490,6 +535,7 @@ $include-before$
$endfor$
$if(toc)$
\cleardoublepage
$if(toc-title)$
\renewcommand*\contentsname{$toc-title$}
$endif$
@ -509,6 +555,7 @@ $endif$
\tableofcontents
}
$endif$
\cleardoublepage
$endif$
$if(lot)$
\listoftables