2017-08-06 08:21:33 +03:00
|
|
|
#include "documentclass"
|
2020-05-28 11:02:42 +03:00
|
|
|
\usepackage{fourier-orns}
|
2017-08-06 08:21:33 +03:00
|
|
|
\usepackage{fontspec}
|
|
|
|
\defaultfontfeatures{Ligatures=TeX, Scale=MatchLowercase}
|
2020-05-28 10:30:58 +03:00
|
|
|
\newfontfamily\cyrillicfont{PT Serif}[Script=Cyrillic]
|
2020-05-28 11:02:42 +03:00
|
|
|
\setmainfont{PT Serif}
|
2017-08-06 08:21:33 +03:00
|
|
|
\usepackage{polyglossia}
|
2020-05-28 11:02:42 +03:00
|
|
|
\setdefaultlanguage{russian}
|
2017-08-06 08:21:33 +03:00
|
|
|
|
2020-05-28 11:02:42 +03:00
|
|
|
\usepackage[russian]{hyperref}
|
2017-08-06 08:21:33 +03:00
|
|
|
\usepackage{graphicx}
|
|
|
|
|
|
|
|
\usepackage{indentfirst}
|
|
|
|
|
|
|
|
\usepackage{color}
|
|
|
|
\usepackage[nopagecolor=white]{pagecolor}
|
|
|
|
\pagecolor{yellow!10}
|
|
|
|
|
|
|
|
#include "geometry"
|
|
|
|
|
|
|
|
\usepackage{gamebook}
|
|
|
|
\renewcommand{\gbturntext}{\hfill перейдите на }
|
|
|
|
\renewcommand{\gbitem}[2]{\item #1 \gbturn{\directlua{
|
|
|
|
tex.print(#2)
|
|
|
|
}}.}
|
|
|
|
|
|
|
|
\renewcommand{\gbheadtext}{%(title)s}
|
|
|
|
\title{\gbheadtext}
|
|
|
|
\author{%(author)s}
|
2020-05-28 11:02:42 +03:00
|
|
|
\date{\vfill \hfill \textit{\today}}
|
2017-08-06 08:21:33 +03:00
|
|
|
|
|
|
|
\usepackage{fancyhdr}
|
|
|
|
\setlength{\parskip}{1.3ex plus 0.2ex minus 0.2ex}
|
|
|
|
|
|
|
|
\pagestyle{fancy}
|
|
|
|
|
2020-05-09 15:18:07 +03:00
|
|
|
\renewcommand{\chaptermark}[1]{\markboth{\sffamily\normalsize\bfseries\chaptername\ \thechapter.\ #1}{}}
|
|
|
|
\renewcommand{\sectionmark}[1]{\markright{\sffamily\normalsize\thesection\hspace{5pt}#1}{}}
|
|
|
|
|
|
|
|
\fancyhf{}
|
|
|
|
\fancyhead[LE,RO]{\sffamily\normalsize\thepage}
|
|
|
|
\fancyhead[LO]{\decothreeright}
|
|
|
|
\fancyhead[RE]{\decothreeleft}
|
|
|
|
\fancyfoot[C]{\thepage}
|
|
|
|
|
|
|
|
\renewcommand{\headrulewidth}{0.5pt}
|
|
|
|
|
|
|
|
\fancypagestyle{plain}{\fancyhead{}\renewcommand{\headrulewidth}{0pt}}
|
|
|
|
|
2017-08-06 08:21:33 +03:00
|
|
|
\renewcommand{\thesection}{\arabic{section}}
|
|
|
|
|
|
|
|
\makeatletter
|
|
|
|
\providecommand*\setfloatlocations[2]{\@namedef{fps@#1}{#2}}
|
|
|
|
\makeatother
|
|
|
|
\setfloatlocations{table}{ht}
|
|
|
|
|
2020-05-28 11:02:42 +03:00
|
|
|
\usepackage{titling}
|
|
|
|
\pretitle{
|
|
|
|
\par\begin{center}
|
|
|
|
\rule{\textwidth}{1.6pt}
|
|
|
|
\Large \par
|
|
|
|
}
|
|
|
|
|
|
|
|
\posttitle{
|
|
|
|
\end{center}
|
|
|
|
\vspace*{-0.5\baselineskip}
|
|
|
|
\rule{\textwidth}{1.6pt}
|
|
|
|
}
|
|
|
|
|
2020-05-28 11:38:27 +03:00
|
|
|
\usepackage[draft,nomargin,footnote,noindex]{fixme}
|
|
|
|
|
2017-08-06 08:21:33 +03:00
|
|
|
\begin{document}
|
|
|
|
|
|
|
|
#include "titlepage"
|