Skip to content

Commit

Permalink
Fix author style in bibliography and bibliography spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
RKulagin committed Aug 29, 2024
1 parent bd4e781 commit 015e16f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 26 deletions.
17 changes: 9 additions & 8 deletions tex/latex/bmstu-iu8/styles/IU8-02-construction.sty
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,10 @@
\renewcommand{\thestructure}{} % Убрать появление счётчика в содержании
\titleclass{\structure}{straight}[\section]
\titleformat{\structure}[hang]{\clearpage\normalfont\bfseries\centering}{}{0em}{}
\titlespacing*{\structure}{0pt}{0pt}{2\baselineskip}
\titlespacing*{\structure}{0pt}{0pt}{1em}
\titlecontents{structure}{}{}{}{}
\renewcommand*\l@structure{\@dottedtocline{0}{0mm}{0em}}

\makeatletter
\renewcommand*\l@section{\@dottedtocline{0}{12.5mm}{2em}}
\renewcommand*\l@structure{\@dottedtocline{0}{12.5mm}{0em}}
\renewcommand*\l@subsection{\@dottedtocline{1}{12.5mm}{3em}}
\renewcommand*\l@subsubsection{\@dottedtocline{2}{12.5mm}{4em}}
\renewcommand*\l@paragraph{\@dottedtocline{3}{12.5mm}{5em}}
\makeatother

\newcommand{\structurebreak}{\clearpage}
\newcommand{\sectionbreak}{\clearpage}
Expand All @@ -62,6 +55,14 @@
\titlespacing*{\paragraph}{0pt}{2ex}{2ex}[2ex]
\titlespacing*{\subparagraph}{0pt}{2ex}{2ex}[2ex]

\makeatletter
\renewcommand*\l@section{\@dottedtocline{0}{12.5mm}{2em}}
\renewcommand*\l@structure{\@dottedtocline{0}{12.5mm}{0em}}
\renewcommand*\l@subsection{\@dottedtocline{1}{12.5mm}{3em}}
\renewcommand*\l@subsubsection{\@dottedtocline{2}{12.5mm}{4em}}
\renewcommand*\l@paragraph{\@dottedtocline{3}{12.5mm}{5em}}
\makeatother

% 6.2.4 Если заголовок включает несколько предложений, их разделяют точками.
% Переносы слов в заголовках не допускаются.

Expand Down
28 changes: 10 additions & 18 deletions tex/latex/bmstu-iu8/styles/IU8-16-references.sty
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,14 @@
]{biblatex}

\defbibenvironment{bibliography}
{
\list
{\list
{}
{\setlength{\leftmargin}{1.25cm}%
\setlength{\itemindent}{0em}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}
}
{
\endlist
}
{
\item
\printtext[labelnumberwidth]{
\printfield{labelprefix}
\printfield{labelnumber}
}
\addspace
}
{\setlength{\leftmargin}{1.25cm}
\setlength{\itemindent}{0em}
\setlength{\itemsep}{\bibitemsep}
\setlength{\parsep}{\bibparsep}}}
{\endlist}
{\item\printtext[labelnumberwidth]{\printfield{labelprefix}\printfield{labelnumber}}\addspace}

\defbibheading{bibliography}[СПИСОК~ИСПОЛЬЗОВАННЫХ~ИСТОЧНИКОВ]{\structure{#1}}
\addto{\captionsrussian}{%
Expand All @@ -45,3 +34,6 @@

% Специально изменим шрифт для URL, чтобы он соответсвовал ГОСТ и остальному тексту документа
\renewcommand{\UrlFont}{\normalfont}

% Изменяем шрифт для авторов в списке литературы на обычный
\renewcommand{\mkgostheading}[1]{\normalfont{#1}}

0 comments on commit 015e16f

Please sign in to comment.