This repository has been archived by the owner on Jul 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
docs.tex
99 lines (86 loc) · 2.14 KB
/
docs.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
\documentclass[10pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,russian]{babel}
\usepackage{xcolor}
\usepackage{listings}
\usepackage{hyperref}
\usepackage{float}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{textcmds}
\definecolor{dkgreen}{rgb}{0,0.6,0}
\definecolor{lghtgray}{rgb}{0.97,0.97,0.97}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{kwblue}{rgb}{0.2,0.6,1.0}
\lstdefinestyle{lua}{
defaultdialect=[5.0]Lua,
deletekeywords={type},
frame=single,
language=Lua,
aboveskip=3mm,
belowskip=3mm,
showstringspaces=false,
columns=flexible,
backgroundcolor=\color{lghtgray},
basicstyle={\small\ttfamily},
numbers=left,
numberstyle=\footnotesize\color{black},
keywordstyle=\color{kwblue}\bfseries,
commentstyle=\color{dkgreen},
stringstyle=\color{brown},
breaklines=true,
breakatwhitespace=true,
tabsize=4,
extendedchars=false,
inputencoding=utf8
}
\lstset{style=lua}
\usepackage{geometry}
\geometry{
a4paper,
total={170mm,257mm},
left=20mm,
top=20mm,
}
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=teal,
urlcolor=blue,
}
% In case you want watermark on each page!
%\usepackage{draftwatermark}
%\SetWatermarkText{Черновик}
%\SetWatermarkScale{2}
%\SetWatermarkColor{red}
\author{mak}
\title{\selectlanguage{Russian}Генератор случайных сценариев Disciples 2\\Документация для версии 0.7.0}
\begin{document}
\pagestyle{fancy}
% clear all header fields
\fancyhead{}
% clear all footer fields
\fancyfoot{}
% page number in the center for even and odd pages
\fancyfoot[CE,CO]{\thepage}
\fancyhead[RO,RE]{\textcolor{gray}{Версия генератора 0.7.0}}
\maketitle
\newpage
\tableofcontents
\newpage
\listoffigures
\selectlanguage{Russian}
% Differences against previous version
\include{differences.tex}
% Introduction
\include{introduction.tex}
% GUI app usage
\include{usage.tex}
% Template format description
\include{templateFormat.tex}
% Key concepts and data types
\include{keyConcepts.tex}
% Example of template creation and testing
\include{templateExample.tex}
\end{document}