-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy patheai-kindle.tex
163 lines (123 loc) · 5.07 KB
/
eai-kindle.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
% \documentclass[a4paper, 11pt, oneside]{report}
\documentclass[a5paper]{report}
% Lets make the text nice and big
\usepackage[14pt]{extsizes}
\usepackage[kerning=true]{microtype}
% \usepackage[charter]{mathdesign}
% \usepackage[normalmargins]{savetrees}
\sloppy
\pagestyle{empty}
% Make the borders really small
\usepackage[left=1cm,
top=1cm,
right=1cm,
bottom=1cm,
marginparwidth=0mm,
marginparsep=0mm]{geometry}
% \documentclass[12pt, oneside]{report}
% \usepackage[paperwidth=9cm, paperheight=12cm, top=0.5cm, bottom=0.5cm, left=0.0cm, right=0.5cm]{geometry}
% \special{papersize=9cm,12cm}
%%%% KINDLE DIMENSIONS %%%%
% \documentclass[10pt]{extreport}
% \usepackage[papersize={3.6in,4.8in},hmargin=0.1in,vmargin={0.1in,0.1in}]{geometry} % page geometry
% \renewcommand\marginpar[1]{}
% \usepackage{extsizes}
%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{cmap}
\usepackage{gitinfo2}
%%%%%%%%%%%%%
%% MARGINS %%
%%%%%%%%%%%%%
% \setlength{\marginparsep}{0.5cm}
% \setlength{\oddsidemargin}{0.3cm}
% \setlength{\hoffset}{0cm}
% \setlength{\marginparwidth}{110pt}
% \let\oldmarginpar\marginpar
% \renewcommand\marginpar[1]{\leavevmode\oldmarginpar{\raggedright\scriptsize #1}}
\renewcommand\marginpar[1]{}
% \renewcommand\marginpar[1]{\-\oldmarginpar[\raggedleft\scriptsize #1]%
% {\raggedright\scriptsize #1}}
%\renewcommand\marginpar[1]{\oldmarginpar{\scriptsize #1}}
%%%%%%%%%%%%%%
\usepackage[bulgarian]{babel}
\usepackage[OT2,T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[colorlinks=true, linkcolor=blue,pdfstartview=FitV,citecolor=green, urlcolor=blue]{hyperref}
\usepackage{pifont}
\usepackage{amssymb, amsmath, amsthm, mathrsfs, latexsym}
\usepackage{makeidx}
\usepackage{layout, framed}
\usepackage{bussproofs, algorithm}
\usepackage{minted}
\usepackage[noend]{algpseudocode}
\usepackage{float}
\usepackage{paralist}
\usepackage[shortlabels]{enumitem}
\setlist{leftmargin=*}
%%%%%%%%%%%%%%% TIKZ Package %%%%%%%%%%%%%%%%%%%%%%%
\usepackage{tikz, pgf}
\usetikzlibrary{arrows,automata}
\usetikzlibrary{positioning}
\usetikzlibrary{backgrounds}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{caption, subcaption}
\theoremstyle{definition}
\newtheorem{thm}{Теорема}[chapter]
\newtheorem{cor}{Следствие}[chapter]
\newtheorem{lemma}{Лема}[chapter]
\newtheorem{prop}{Твърдение}[chapter]
\newtheorem{dfn}{Определение}[chapter]
\newtheorem{problem}{Задача}[chapter]
\newtheorem{example}{Пример}[chapter]
\newtheorem{question}{Въпрос}[chapter]
\newtheorem*{remark}{Забележка}
\renewenvironment{proof}{\noindent{\bf Доказателство.}\hspace*{1em}}{\qed\par}
\newenvironment{hint}{\noindent{\bf Упътване.}\hspace*{1em}}{\qed\par}
\newenvironment{solution}{\noindent{\bf Решение.}\hspace*{1em}}{\qed\par}
\usepackage{mysymbols}
\newcommand{\writedown}{\ding{45}\ }
\newcommand{\qstart}{q_{\texttt{start}}}
\newcommand{\qaccept}{q_{\texttt{accept}}}
\newcommand{\qreject}{q_{\texttt{reject}}}
\newcommand{\FA}{\langle{\Sigma,Q,\qstart,\delta,F}\rangle}
\newcommand{\FAn}[1]{\langle{\Sigma,Q_#1,s_#1,\delta_#1,F_#1}\rangle}
\newcommand{\NFA}{\langle{\Sigma,Q,\qstart,\Delta,F}\rangle}
\newcommand{\NFAn}[1]{\langle{\Sigma,Q_#1,s_#1,\Delta_#1,F_#1}\rangle}
\newcommand{\PDA}{\langle{Q,\Sigma,\Gamma,\#,\qstart,\Delta,F}\rangle}
\newcommand{\PDAn}[1]{\langle{Q_#1,\Sigma,\Gamma,\#,s_#1,\Delta_#1,F_#1}\rangle}
\newcommand{\CFG}{\langle{V,\Sigma,R,S}\rangle}
\newcommand{\TM}{\langle{Q,\Sigma,\Gamma,\delta,\blank,\qstart,\qaccept, \qreject}\rangle}
\newcommand{\Th}[1]{{\em Теорема~\ref{th:#1}}}
\newcommand{\Lem}[1]{{\em Лема~\ref{lem:#1}}}
\newcommand{\Cor}[1]{{\em Следствие~\ref{cor:#1}}}
\newcommand{\Prob}[1]{{\em Задача~\ref{prob:#1}}}
\newcommand{\Prop}[1]{{\em Твърдение~\ref{pr:#1}}}
\newcommand{\Ex}[1]{{\em Пример~\ref{ex:#1}}}
\newif\ifhints
\newif\ifcode
% \hintstrue
% \setsecheadstyle{\large\usefont{T2A}{fag}{b}{r}} %\scshape
% \setsubsecheadstyle{\bfseries\sffamily}
% \renewcommand\familydefault{\sfdefault}
\title{Записки по ,,Езици, автомати, изчислимост''}
\author{Стефан Вътев\thanks{Това е чернова. Възможни са неточности и грешки, а също и несъответсвия с терминологията въведена на лекции. За забележки и коментари: \href{mailto:stefanv@fmi.uni-sofia.bg}{stefanv@fmi.uni-sofia.bg}.
Конкретната версия на \LaTeX файловете, от които е компилиран този файл, може да бъде намерена \href{https://github.com/stefk0/eai/commit/\gitHash}{тук}.}}
\makeindex
\begin{document}
\maketitle
% \layout
\include{front}
\tableofcontents
\include{intro/intro}
\include{regular/regular}
\include{context-free/context-free}
\include{turing/turing}
% \include{outro}
\bibliographystyle{amsalpha}
\bibliography{eai}
\printindex
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End: