2021-08-20 15:57:50 +03:00
|
|
|
|
%%% Работа с русским языком
|
|
|
|
|
\usepackage{cmap} % поиск в PDF
|
|
|
|
|
\usepackage[T2A]{fontenc} % кодировка
|
|
|
|
|
\usepackage[utf8]{inputenc} % кодировка исходного текста
|
|
|
|
|
\usepackage[english,russian]{babel} % локализация и переносы
|
|
|
|
|
\usepackage[printwatermark]{xwatermark}
|
|
|
|
|
\usepackage{xcolor}
|
|
|
|
|
\usepackage{multicol}
|
|
|
|
|
|
|
|
|
|
\usepackage{setspace}
|
|
|
|
|
% XeLaTeX
|
|
|
|
|
%\usepackage{fontspec}
|
|
|
|
|
%\setmainfont{Times New Roman}
|
|
|
|
|
\onehalfspacing
|
|
|
|
|
\usepackage{titlesec}
|
|
|
|
|
\usepackage{indentfirst}
|
|
|
|
|
|
|
|
|
|
\newcommand{\frm}[1]{
|
|
|
|
|
\newline
|
|
|
|
|
\newline
|
|
|
|
|
\indent
|
|
|
|
|
\fbox{%
|
|
|
|
|
\parbox{0.9\textwidth}{%
|
|
|
|
|
#1
|
|
|
|
|
}%
|
|
|
|
|
}
|
|
|
|
|
\newline
|
|
|
|
|
\newline
|
|
|
|
|
}
|
|
|
|
|
\newcommand{\office}{(LibreOffice, OpenOffice, Microsoft Office, iWork и другие)}
|
|
|
|
|
|
|
|
|
|
\hbadness=99999
|
|
|
|
|
|
|
|
|
|
\def\code#1{\texttt{#1}}
|
|
|
|
|
|
|
|
|
|
\author{Иван Овчинников}
|
|
|
|
|
\date{\today}
|
|
|
|
|
|
|
|
|
|
\usepackage{amsmath,amsfonts,amssymb,amsthm,mathtools} % AMS
|
|
|
|
|
\usepackage{icomma} % "Умная" запятая: $0,2$ --- число, $0, 2$ --- перечисление
|
|
|
|
|
%% Перенос знаков в формулах (по Львовскому)
|
|
|
|
|
\newcommand*{\hm}[1]{#1\nobreak\discretionary{}
|
|
|
|
|
{\hbox{$\mathsurround=0pt #1$}}{}}
|
|
|
|
|
\usepackage{layout}
|
|
|
|
|
\usepackage{titlesec}
|
|
|
|
|
\newcommand{\sectionbreak}{\clearpage}
|
2021-08-20 18:26:33 +03:00
|
|
|
|
\usepackage{hyperref}
|
|
|
|
|
\hypersetup{
|
|
|
|
|
colorlinks=false, %set true if you want colored links
|
|
|
|
|
linktoc=all %set to all if you want both sections and subsections linked
|
|
|
|
|
}
|
|
|
|
|
|
2021-08-20 15:57:50 +03:00
|
|
|
|
|
|
|
|
|
\addto{\captionsrussian}{\renewcommand{\figurename}{}}
|
2021-08-20 18:26:33 +03:00
|
|
|
|
\usepackage[cache=false]{minted}
|
2021-08-20 15:57:50 +03:00
|
|
|
|
|
|
|
|
|
\usepackage[lmargin=1.5cm,rmargin=2.5cm,tmargin=2.5cm,bmargin=2.5cm,paperheight=240mm,paperwidth=170mm]{geometry}
|
|
|
|
|
%\setlength{\marginparwidth}{0pt}
|
|
|
|
|
% \begin{multicols}{2}
|
|
|
|
|
% \columnbreak
|
|
|
|
|
% \end{multicols}
|