\usepackage{amsmath,amssymb,amsthm,amsfonts}
\usepackage[T2A]{fontenc}
\usepackage[cp1251]{inputenc}
\usepackage[english,russian]{babel}
\usepackage{graphicx}
%\usepackage{cite}
\usepackage[noadjust]{cite}
%noadjust =  не добавлять пробел перед цитированием
\usepackage{pdfpages}

\usepackage{multicol}

\usepackage{tabularx}
\usepackage{setspace}

\usepackage[left=15mm,right=15mm,top=10mm,bottom=20mm]{geometry}

\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=black,
citecolor=black,
urlcolor=black,
filecolor=black,
pdfpagemode=UseNone,
pdfstartview=FitH,
pdfhighlight=/N,
hypertexnames=false
}

%\newcommand*{\fullref}[2]{\hyperref[{#2}]{\MakeUppercase #1 \ref*{#2}}}
\newcommand*{\fullref}[2]{\hyperref[{#2}]{#1 \ref*{#2}}}

% no forced upper-case
\newcommand*{\smallref}[2]{\hyperref[{#2}]{#1 \ref*{#2}}}

\renewcommand\UrlFont{\color{black}\rmfamily}


\usepackage{tocloft}

% font for section name
\renewcommand{\cftsecfont}{\normalfont}
% font for section page
\renewcommand{\cftsecpagefont}{\normalfont}
% sections with dots
\renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}


% flushleft
\cftsetindents{section}{0em}{2em}
% display no section numbers
\setlength{\cftsecnumwidth}{0pt}

% title
%\renewcommand{\cftZtitlefont}{\hfill\bfseries}
%\renewcommand{\cftafterZtitle}{\hfill} 
%
%
%
%\renewcommand{\contentsname}{СОДЕРЖАНИЕ}
\addto\captionsrussian{\def\contentsname{СОДЕРЖАНИЕ}}
\renewcommand{\cfttoctitlefont}{
\phantom{a}

\phantom{a}

\hfill\bfseries}      % Blank space before title
\renewcommand{\cftaftertoctitle}{\hfill\hfill}              % Blank space after title


%
% https://tex.stackexchange.com/questions/15989/toc-entries-and-labels-for-included-pdf-pages
%
% Добавление pdf-файла и ссылки на него в оглавление
% первый аргумент -- путь до файла
% второй аргумент -- отображаемое имя в оглавлении
\newcommand*{\includePDFpaper}[2]{
\includepdf[pages=1,pagecommand={\phantomsection\addcontentsline{toc}{section}{\protect\numberline{}#2}}]{#1}
\includepdf[pages=2-,pagecommand={}]{#1}
}


%
% https://tex.stackexchange.com/questions/234159/how-can-i-add-inject-text-into-a-toc-with-the-scope-being-a-specific-table-of-co
%
\newcommand*\SpecialDocumentsTocHeading
{
\phantom{a}
\vspace{1em}

\begin{center}
НАУЧНЫЕ РАБОТЫ СТУДЕНТОВ
\end{center}

\global\let\SpecialDocumentsTocHeading\empty }

%\usepackage{indentfirst}
\renewcommand{\baselinestretch}{1.15}
\parindent=2.5em

\newif\if@revision
\@revisionfalse


\makeatletter


\def\year#1{\def\@year{#1}}
\def\volume#1{\def\@volume{#1}}
\def\issue#1{\def\@issue{#1}}



\year{2022}
\volume{1}
\issue{1}



\raggedbottom

\Russian

% не разбивать формулы
\binoppenalty=\maxdimen
\relpenalty=\maxdimen

% не разбивать слова
\hyphenpenalty=10000




\def\maketitle{
\noindent{\small
\begin{tabularx}{\textwidth}{Xr}
  \textsc{Том \@volume, Номер \@issue} & \textsc{УДК \@UDC} \\
  \textsc{Стр. \@firstpage---\pageref*{LastPage} (\@year)} & \textsc{MSC \@MSC}
\end{tabularx}
}
}

\def\makeengtitle{
\noindent{\small
\begin{tabularx}{\textwidth}{Xr}
  \textsc{Volume \@volume, Issue \@issue} & \textsc{UDC \@UDC} \\
  \textsc{pp. \@firstpage---\pageref*{LastPage} (\@year)} & \textsc{MSC \@MSC}\\
\end{tabularx}
}
}



\makeatother