<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%% bmstu.cls
%% Copyright 2023 Mikael Novikov
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
%
% This work has the LPPL maintenance status `maintained'.
%
% The Current Maintainer of this work is Mikael Novikov.
%
% This work consists of all files listed in manifest.txt.

\NeedsTeXFormat{LaTeX2e}

\ProvidesClass{bmstu}[2023/01/28 v2.0.0 BMSTU class]

% ĐŁŃŃ‚Đ°Đ˝ĐľĐ˛ĐşĐ° Đ±Đ°Đ·ĐľĐ˛ĐľĐłĐľ ĐşĐ»Đ°ŃŃĐ°
\LoadClass[a4paper,oneside,14pt]{extreport}

% ĐťĐ°ŃŃ‚Ń€ĐľĐąĐşĐ° ĐşĐľĐ´Đ¸Ń€ĐľĐ˛ĐşĐ¸ Đ¸ ŃŹĐ·Ń‹ĐşĐľĐ˛
\RequirePackage[T1,T2A]{fontenc}
\RequirePackage[utf8]{inputenc}
\RequirePackage[english,main=russian]{babel}
\RequirePackage{fix-cm}

% ĐťĐ°ŃŃ‚Ń€ĐľĐąĐşĐ° ĐżĐľĐ»ĐµĐą
\RequirePackage[
	left=30mm,
	right=10mm, % ĐŻĐ˛Đ»ŃŹĐµŃ‚ŃŃŹ Ń‚Ń€ĐµĐ±ĐľĐ˛Đ°Đ˝Đ¸ĐµĐĽ ĐśĐ“Đ˘ĐŁ, Đ˝Đµ ŃĐľĐľŃ‚Đ˛ĐµŃ‚ŃŃ‚Đ˛ŃĐµŃ‚ Đ“ĐžĐˇĐ˘ 7.32-2017
	top=20mm,
	bottom=20mm,
]{geometry}

% ĐťĐ°ŃŃ‚Ń€ĐľĐąĐşĐ° ĐżĐµŃ€ĐµĐ˝ĐľŃĐľĐ˛
\RequirePackage{microtype}
\sloppy

% ĐťĐ°ŃŃ‚Ń€ĐľĐąĐşĐ° ĐĽĐµĐ¶ŃŃ‚Ń€ĐľŃ‡Đ˝ĐľĐłĐľ Đ¸Đ˝Ń‚ĐµŃ€Đ˛Đ°Đ»Đ°
\RequirePackage{setspace}
\onehalfspacing

% ĐťĐ°ŃŃ‚Ń€ĐľĐąĐşĐ° Đ°Đ±Đ·Đ°Ń†Đ˝ĐľĐłĐľ ĐľŃ‚ŃŃ‚ŃĐżĐ°
\RequirePackage{indentfirst}
\setlength{\parindent}{12.5mm}

% ĐťĐ°ŃŃ‚Ń€ĐľĐąĐşĐ° Đ·Đ°ĐłĐľĐ»ĐľĐ˛ĐşĐľĐ˛
\makeatletter
\renewcommand\LARGE{\@setfontsize\LARGE{22pt}{20}}
\renewcommand\Large{\@setfontsize\Large{20pt}{20}}
\renewcommand\large{\@setfontsize\large{16pt}{20}}
\makeatother
\RequirePackage{titlesec}
\titleformat{\chapter}[block]{\hspace{\parindent}\large\bfseries}{\thechapter}{0.5em}{\large\bfseries\raggedright}
\titleformat{name=\chapter,numberless}[block]{\hspace{\parindent}}{}{0pt}{\large\bfseries\centering}
\titleformat{\section}[block]{\hspace{\parindent}\large\bfseries}{\thesection}{0.5em}{\large\bfseries\raggedright}
\titleformat{\subsection}[block]{\hspace{\parindent}\large\bfseries}{\thesubsection}{0.5em}{\large\bfseries\raggedright}
\titleformat{\subsubsection}[block]{\hspace{\parindent}\large\bfseries}{\thesubsection}{0.5em}{\large\bfseries\raggedright}
\titlespacing{\chapter}{12.5mm}{-22pt}{10pt}
\titlespacing{\section}{12.5mm}{10pt}{10pt}
\titlespacing{\subsection}{12.5mm}{10pt}{10pt}
\titlespacing{\subsubsection}{12.5mm}{10pt}{10pt}

% ĐźĐľĐ´ĐşĐ»ŃŽŃ‡ĐµĐ˝Đ¸Đµ ĐżĐ°ĐşĐµŃ‚Đ° Ń†Đ˛ĐµŃ‚ĐľĐ˛
\RequirePackage{xcolor}

\RequirePackage{bmstu-figure}
\RequirePackage{bmstu-listing}

% ĐźĐľĐ´ĐşĐ»ŃŽŃ‡ĐµĐ˝Đ¸Đµ ĐżĐ°ĐşĐµŃ‚ĐľĐ˛ Ń‚Đ°Đ±Đ»Đ¸Ń†
\RequirePackage{tabularx}
\RequirePackage{booktabs}

% ĐťĐ°ŃŃ‚Ń€ĐľĐąĐşĐ° ĐżĐľĐ´ĐżĐ¸ŃĐµĐą
\RequirePackage[
	labelsep=endash,
	figurename=Đ&nbsp;Đ¸ŃŃĐ˝ĐľĐş,
	singlelinecheck=false,
]{caption}
\captionsetup[figure]{justification=centering}

% ĐźĐľĐ´ĐşĐ»ŃŽŃ‡ĐµĐ˝Đ¸Đµ ĐżĐ°ĐşĐµŃ‚ĐľĐ˛ Đ´Đ»ŃŹ Đ°Đ»ŃŚĐ±ĐľĐĽĐ˝ĐľĐą ĐľŃ€Đ¸ĐµĐ˝Ń‚Đ°Ń†Đ¸Đ¸
\RequirePackage{lscape}
\RequirePackage{afterpage}

% ĐźĐľĐ´ĐşĐ»ŃŽŃ‡ĐµĐ˝Đ¸Đµ ĐĽĐ°Ń‚ĐµĐĽĐ°Ń‚Đ¸Ń‡ĐµŃĐşĐ¸Ń… ĐżĐ°ĐşĐµŃ‚ĐľĐ˛
\RequirePackage{amsmath}
\RequirePackage{amssymb}

% ĐťĐ°ŃŃ‚Ń€ĐľĐąĐşĐ° Đ±Đ¸Đ±Đ»Đ¸ĐľĐłŃ€Đ°Ń„Đ¸Đ¸
\RequirePackage[
	style=gost-numeric,
	language=auto,
	autolang=other,
	sorting=none,
]{biblatex}
\RequirePackage{csquotes}
\DeclareFieldFormat{urldate}{(Đ´Đ°Ń‚Đ° ĐľĐ±Ń€Đ°Ń‰ĐµĐ˝Đ¸ŃŹ:\addspace\thefield{urlday}\adddot \thefield{urlmonth}\adddot\thefield{urlyear})}

% ĐźĐľĐ´ĐşĐ»ŃŽŃ‡ĐµĐ˝Đ¸Đµ ĐżĐ°ĐşĐµŃ‚Đ° ĐłĐ¸ĐżĐµŃ€ŃŃŃ‹Đ»ĐľĐş
\RequirePackage[unicode,hidelinks]{hyperref}

% ĐźĐľĐ´ĐşĐ»ŃŽŃ‡ĐµĐ˝Đ¸Đµ ĐżĐ°ĐşĐµŃ‚Đ° ŃĐżŃ€Đ°Đ˛Đ»ŃŹŃŽŃ‰Đ¸Ń… ĐşĐľĐ˝ŃŃ‚Ń€ŃĐşŃ†Đ¸Đą
\RequirePackage{xifthen}

\RequirePackage{bmstu-title}
\RequirePackage{bmstu-essay}
\RequirePackage{bmstu-toc}
\RequirePackage{bmstu-defabbr}
\RequirePackage{bmstu-biblio}
\RequirePackage{bmstu-appendix}
</pre></body></html>