-
Notifications
You must be signed in to change notification settings - Fork 1
/
discrete-math.tex
195 lines (161 loc) · 5.63 KB
/
discrete-math.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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
%%%% NORMAL dimensions %%%%%%%%%%%%%%%%%
\documentclass[a4paper,10pt,fleqn]{report}
\setlength{\marginparsep}{0.5cm}
\setlength{\oddsidemargin}{0.3cm}
\setlength{\hoffset}{0cm}
\setlength{\marginparwidth}{110pt}
\let\oldmarginpar\marginpar
% \renewcommand\marginpar[1]{\-\oldmarginpar[\raggedleft\scriptsize #1]%
% {\raggedright\scriptsize #1}}
\renewcommand\marginpar[1]{\oldmarginpar{\raggedleft\scriptsize #1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% 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}
%%%%%%%%%%%%%%%%%%%%%%%%%%
% \setlength{\oddsidemargin}{4cm}
% \setlength{\evensidemargin}{4cm}
%\usepackage{ucs}
% \usepackage[bindingoffset=2cm]{geometry}
\usepackage[bulgarian,english]{babel}
\usepackage[T2C]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[]{hyperref}
\hypersetup{
pdftitle={Exercises in Discrete mathematics},
pdfauthor={Stefan Vatev},
colorlinks=true,
linkcolor=blue,
pdfstartview=FitV,
citecolor=green,
pdfpagemode=UseOutlines, % this is the option you were lookin for
urlcolor=blue
}
% \usepackage[pdftex,colorlinks=true,linkcolor=blue,pdfstartview=FitV,citecolor=green,urlcolor=blue]{hyperref}
% \usepackage{hypcap}
\usepackage{pifont}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{mathrsfs}
\usepackage{latexsym}
\usepackage{amsthm}
\usepackage{makeidx}
\usepackage{layout}
\usepackage{framed}
\usepackage{bussproofs}
\usepackage{paralist}
\usepackage[shortlabels]{enumitem}
\setlist{leftmargin=*}
% \newenvironment{compactenum}{%
% \enumerate[topsep=0pt,partopsep=0pt,parsep=0pt,itemsep=0pt]%
% }{\endenumerate}
% \usepackage[inline]{enumitem}
\usepackage{algorithm}
\floatname{algorithm}{Алгоритъм}
%\usepackage{algorithmic}
\usepackage[noend]{algpseudocode}
%\usepackage{algpseudocode}
%%%%%%%%%%%%%%% TIKZ Package %%%%%%%%%%%%%%%%%%%%%%%
\usepackage{tikz}
\usepackage{pgf}
\usetikzlibrary{arrows,automata}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{caption}
\usepackage{subcaption}
\theoremstyle{definition}
\newtheorem{thm}{Теорема}
\newtheorem{crl}{Следствие}
\newtheorem{cor}{Следствие}
\newtheorem{lemma}{Лема}
\newtheorem{prop}{Твърдение}
\newtheorem{dfn}{Определение}
\newtheorem{problem}{Задача}
\newtheorem{example}{Пример}
\newtheorem{question}{Въпрос}
\newtheorem*{remark}{Забележка}
\renewenvironment{proof}{\noindent{\bf Доказателство.}\hspace*{1em}}{\qed\par}
\newenvironment{solution}{\noindent{\bf Решение.}\hspace*{1em}}{\qed\par}
\newenvironment{hint}{\noindent{\bf Упътване.}\hspace*{1em}}{\qed\par}
\newcommand{\A}{\mathcal{A}}
\newcommand{\B}{\mathcal{B}}
\renewcommand{\C}{\mathcal{C}}
\newcommand{\M}{\mathcal{M}}
\renewcommand{\L}{\mathcal{L}}
\newcommand{\D}{\mathcal{D}}
\newcommand{\R}{\mathbb{R}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\N}{\mathcal{N}}
\newcommand{\Q}{\mathbb{Q}}
\newcommand{\Ls}{\mathscr{L}}
\newcommand{\Fs}{\mathscr{F}}
\newcommand{\Rs}{\mathscr{R}}
\newcommand{\Ps}{\mathscr{P}}
\newcommand{\As}{\mathscr{A}}
\newcommand{\Bs}{\mathscr{B}}
\newcommand{\Es}{\mathscr{E}}
\newcommand{\Is}{\mathscr{I}}
\newcommand{\Ss}{\mathscr{S}}
\newcommand{\xn}{x_{1},\dots,x_{n}}
\newcommand{\Nat}{\mathbb{N}}
\newcommand{\Int}{\mathbb{Z}}
\newcommand{\Real}{\mathbb{R}}
\newcommand{\xs}{overline{x}}
\newcommand{\ys}{overline{y}}
\newcommand{\zs}{overline{z}}
\newcommand{\ov}[1]{\overline{#1}}
\newcommand{\abs}[1]{\lvert{#1}\rvert}
\newcommand{\pair}[1]{\langle{#1}\rangle}
\newcommand{\FA}{\langle{Q,\Sigma,s,\delta,F}\rangle}
\newcommand{\FAn}[1]{\langle{Q_#1,\Sigma,s_#1,\delta_#1,F_#1}\rangle}
\newcommand{\NFA}{\langle{Q,\Sigma,s,\Delta,F}\rangle}
\newcommand{\NFAn}[1]{\langle{Q_#1,\Sigma,s_#1,\Delta_#1,F_#1}\rangle}
\newcommand{\PDA}{\langle{Q,\Sigma,\Gamma,\#,s,\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,s,\bot,F}\rangle}
\renewcommand{\iff}{\ \leftrightarrow\ }
\newcommand{\todo}{\ding{45} }
\newcommand{\dff}{\stackrel{\text{\footnotesize{дeф}}}{=}}
\newcommand{\Th}[1]{{\em Теорема~\ref{th:#1}}}
\newcommand{\Lem}[1]{{\em Лема~\ref{lem:#1}}}
\newcommand{\Prob}[1]{{\em Задача~\ref{pr:#1}}}
\newcommand{\Prop}[1]{{\em Твърдение~\ref{pr:#1}}}
% \setlist[itemize]{leftmargin=*}
%\renewcommand\marginpar[1]{\oldmarginpar{\scriptsize #1}}
% \fontfamily{garamond}
\title{Ръководство по дискретна математика}
\author{Стефан Вътев\thanks{ел. поща: \href{[email protected]}{[email protected]}}}
%, Факултет по математика и информатика, Софийски университет ,,Св. Климент Охридски''}}
% \usepackage{breqn} % automatic equation breaking
\makeindex
\begin{document}
\maketitle
% \layout
\tableofcontents
\include{propositional/propositional}
\include{predicate/predicate}
\include{sets/sets}
\include{relations/relations}
\include{functions/functions}
\include{cardinality/cardinality}
\include{proofs/proofs}
\include{combinatorics/combinatorics}
\include{boolean/boolean}
% \include{automata}
% \include{context-free}
% \include{turing}
%\include{graphs}
% \include{graph-alg}
% \backmatter
% \bibliographystyle{amsalpha}
\bibliographystyle{amsplain}
\bibliography{discrete-math}
\printindex
% \listofalgorithms
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "discrete-math"
%%% End: