69 lines
2.0 KiB
TeX
69 lines
2.0 KiB
TeX
\usepackage{fancyhdr}
|
||
\usepackage{graphicx}
|
||
\usepackage{titlesec}
|
||
\usepackage{tikz}
|
||
\usepackage{indentfirst}
|
||
\usepackage{datetime2}
|
||
\usepackage{geometry,lscape}
|
||
\usepackage{enumitem}
|
||
\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}~~}
|
||
|
||
\titlelabel{\thetitle. \quad}
|
||
\setcounter{tocdepth}{1}
|
||
\renewcommand{\nomname}{Термины, определения и сокращения}
|
||
\makeindex
|
||
\makenomenclature
|
||
\babelfont{rm}{PT Astra Serif}
|
||
\babelfont{sf}{PT Astra Serif}
|
||
\babelfont{tt}{PT Mono}
|
||
|
||
\newcounter{slidenum}
|
||
\setcounter{slidenum}{1} % set to 2 if want to exclude title page of presentation
|
||
\newcommand{\showslide}[1]{
|
||
\noindent\makebox[\linewidth]{\rule{.90\paperwidth}{1.4pt}}
|
||
\begin{center}
|
||
\framebox{\includegraphics[page=\arabic{slidenum},width=.85\textwidth]{#1}}
|
||
\stepcounter{slidenum}
|
||
\end{center}
|
||
}
|
||
\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} \begin{tabular}{|p{0.9\textwidth}|} \hline\\ }
|
||
{ \\\\\hline \end{tabular} \end{center} }
|
||
|
||
\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}
|