74 lines
2.0 KiB
TeX
74 lines
2.0 KiB
TeX
\usepackage{fancyhdr}
|
||
\usepackage{graphicx}
|
||
\usepackage{xcolor,colortbl}% http://ctan.org/pkg/xcolor
|
||
\usepackage{titlesec}
|
||
\usepackage{indentfirst}
|
||
\usepackage{datetime2}
|
||
\usepackage{geometry,lscape}
|
||
\usepackage{enumitem}
|
||
\usepackage{caption,subcaption}
|
||
\usepackage{multicol,multirow}
|
||
\usepackage{float,adjustbox}
|
||
\usepackage{fontawesome}
|
||
\usepackage{longtable}
|
||
\usepackage{tikz}
|
||
\usepackage{hyperref}
|
||
\usepackage{forest}
|
||
\usepackage{nomencl,imakeidx}
|
||
\usetikzlibrary{mindmap,trees}
|
||
\usepackage{booktabs}% http://ctan.org/pkg/booktabs
|
||
\newcommand{\tabitem}{~~\llap{\textbullet}~~}
|
||
\usepackage{setspace,fontspec}
|
||
\usepackage{amsmath}
|
||
|
||
\spacing{1.15}
|
||
\babelfont{rm}{IBM Plex Sans}
|
||
\babelfont{tt}{PT Mono}
|
||
|
||
\titlelabel{\thetitle. \quad}
|
||
\setcounter{tocdepth}{2}
|
||
\renewcommand{\nomname}{Термины, определения и сокращения}
|
||
\makeindex
|
||
\makenomenclature
|
||
|
||
\newcommand\hrf[1]{\hyperref[#1]{\ref{#1}}}
|
||
\newcommand\hRf[1]{\hyperref[#1]{\nameref{#1}}}
|
||
\newcommand{\wordcount}{\input{/tmp/wordcount.tex}}
|
||
\newcommand{\code}[1]{\small{\texttt{\detokenize{#1}}}\normalsize}
|
||
\newcommand*{\nom}[2]{#1\nomenclature{#1}{#2}}
|
||
\renewcommand\labelitemi{\textemdash}
|
||
\newenvironment{frm}
|
||
{ \begin{center} \renewcommand*{\arraystretch}{2} \begin{tabular}{|p{0.9\textwidth}|} \hline }
|
||
{ \\\hline \end{tabular} \end{center} }
|
||
|
||
\newcommand{\info}{\cellcolor{green!20}{\Huge \faInfoCircle \quad}}
|
||
\newcommand{\excl}{\cellcolor{red!20}{\Huge \faExclamationTriangle \quad}}
|
||
|
||
\makeatletter
|
||
\newcommand{\setword}[2]{%
|
||
\phantomsection
|
||
#1\def\@currentlabel{\unexpanded{#1}}\label{#2}%
|
||
}
|
||
\makeatother
|
||
|
||
\fancypagestyle{plain}{
|
||
\setlength{\headheight}{33pt}
|
||
\fancyhf{}
|
||
\lhead{\includegraphics[height=5mm]{logo.png}}
|
||
\rhead{И.И. Овчинников \\ \href{https://t.me/ivanigorevichfeed}{Telegram: ivanigorevichfeed}}
|
||
\chead{\thepage}
|
||
% \cfoot{\faRocket}
|
||
\rfoot{Всего слов: \wordcount}
|
||
}
|
||
|
||
\geometry{
|
||
left=2cm,
|
||
right=1cm,
|
||
top=2cm,
|
||
bottom=2cm
|
||
}
|
||
|
||
\setlist{nolistsep}
|
||
\setlist[itemize]{leftmargin=10mm}
|
||
\setlist[enumerate]{leftmargin=10mm}
|