diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..17559f96b6701bd25b981a961d72377839c1ab98
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,13 @@
+*.aux
+*.bbl
+*.blg
+*.fdb_latexmk
+*.fls
+*.lof
+*.log
+*.lol
+*.lot
+*.out
+*.pdf
+*.run.xml
+*.toc
diff --git a/ctufit-thesis.cls b/ctufit-thesis.cls
new file mode 100644
index 0000000000000000000000000000000000000000..bfded7694ab4cb59ec4569807ce230deeabf6252
--- /dev/null
+++ b/ctufit-thesis.cls
@@ -0,0 +1,478 @@
+%% This is the ctufit-thesis document class. It is used to produce theses
+%% for submission to Czech Technical University, Faculty of Information Technology.
+%%
+%% Get the newest version from
+%% https://gitlab.fit.cvut.cz/theses-templates/FITthesis-LaTeX
+%%
+%%
+%% Copyright 2021, Eliska Sestakova and Ondrej Guth
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public Licenese, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%%  https://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The current maintainer of this work is Ondrej Guth.
+%% Contact ondrej.guth@fit.cvut.cz for bug reports.
+%% Alternatively, submit bug reports into the tracker at
+%% https://gitlab.fit.cvut.cz/theses-templates/FITthesis-LaTeX/issues
+%%
+%%
+
+% identification
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{ctufit-thesis}[2021/08/06 CTU FIT thesis template]
+
+% preliminary declarations
+
+% options
+\DeclareOption{bachelor}{\def\@ctufitthesistype{B}}
+\DeclareOption{master}{\def\@ctufitthesistype{M}}
+\DeclareOption{dissertation}{\def\@ctufitthesistype{D}}
+\DeclareOption{czech}{
+	\AtBeginDocument{\selectlanguage{czech}}
+	\PassOptionsToPackage{english,main=czech}{babel}
+	\def\@ctufitlang{C}
+}
+\DeclareOption{english}{
+	\AtBeginDocument{\selectlanguage{english}}
+	\PassOptionsToPackage{czech,main=english}{babel}
+	\def\@ctufitlang{E}
+}
+\DeclareOption{slovak}{
+	\AtBeginDocument{\selectlanguage{slovak}}
+	\PassOptionsToPackage{english,main=slovak}{babel}
+	\def\@ctufitlang{S}
+}
+\ExecuteOptions{a4paper,unicode,twoside}
+\ProcessOptions
+
+% main declarations, loading files
+
+\LoadClass{book}[2020/04/10]
+\RequirePackage{babel}[2021/03/03]
+\RequirePackage[bottom=4cm,footskip=4em]{geometry}[2020/01/02] %page layout
+\RequirePackage{setspace}[2011/12/19] %line spacing in title page
+\RequirePackage{xcolor}[2016/05/11]
+\RequirePackage[labelsep=space,singlelinecheck=false,font={up,small},labelfont={sf,bf}]{caption}[2020/05/30]
+\RequirePackage{fancyhdr}[2019/01/31]
+\RequirePackage{multicol}[2019/12/09] % summary page
+\RequirePackage{titlesec}[2019/10/16]
+
+% colors
+ \definecolor{decoration}{RGB}{0, 122, 195} %CTU blue
+ \definecolor{heading}{RGB}{0, 122, 195}
+ \definecolor{headbackgroundgray}{RGB}{199, 219, 241} %light blue
+ \definecolor{backgroundgray}{RGB}{199, 219, 241} %CTU light blue
+ \definecolor{headgray}{rgb}{0.50,0.50,0.51}
+ \definecolor{enumgray}{RGB}{0, 122, 195} %CTU blue
+% colors end
+
+\DeclareRobustCommand{\ctufittitle}[1]{
+	\def\thectufittitle{#1}
+	\title{#1}
+}
+\DeclareRobustCommand{\ctufitauthorfull}[1]{
+	\def\thectufitauthorfull{#1}
+	\author{#1}
+}
+\DeclareRobustCommand{\ctufitauthorsurnames}[1]{
+	\def\thectufitauthorsurnames{#1}
+	\author{#1}
+}
+\DeclareRobustCommand{\ctufitauthorgivennames}[1]{
+	\def\thectufitauthorgivennames{#1}
+	\author{#1}
+}
+\DeclareRobustCommand{\ctufitsupervisor}[1]{
+	\def\thectufitsupervisor{#1}
+}
+\DeclareRobustCommand{\ctufitdepartment}[1]{
+	\def\thectufitdepartment{#1}
+}
+\DeclareRobustCommand{\ctufityear}[1]{
+	\def\thectufityear{#1}
+	\date{#1}
+}
+\DeclareRobustCommand{\ctufitdeclarationplace}[1]{
+	\def\thectufitdeclarationplace{#1}
+}
+\DeclareRobustCommand{\ctufitdeclarationdate}[1]{
+	\def\thectufitdeclarationdate{#1}
+}
+\DeclareRobustCommand{\ctufitabstraktCZE}[1]{
+	\def\thectufitabstrakt{#1}
+}
+\DeclareRobustCommand{\ctufitabstractENG}[1]{
+	\def\thectufitabstract{#1}
+}
+\DeclareRobustCommand{\ctufitkeywordsCZE}[1]{
+	\def\thectufitklicovaslova{#1}
+}
+\DeclareRobustCommand{\ctufitkeywordsENG}[1]{
+	\def\thectufitkeywords{#1}
+}
+\DeclareRobustCommand{\thectufitthesistype}{
+	\if\@ctufitthesistype B{%
+		\if\@ctufitlang C{Bakal{\' a}{\v r}sk{\' a} pr{\' a}ce}\else\if\@ctufitlang S{Bakal{\' a}rska pr{\' a}ca}\else{Bachelor's thesis}\fi\fi
+	}\else\if\@ctufitthesistype M{%
+		\if\@ctufitlang C{Diplomov{\' a} pr{\' a}ce}\else\if\@ctufitlang S{Diplomov{\' a} pr{\' a}ca}\else{Master's thesis}\fi\fi
+	}\else\if\@ctufitthesistype D{Dissertation thesis}\else{\ClassError{ctufit-thesis}{Thesis type not specified}{Add either `bachelor', `master', or `dissertation' option to this document class}}\fi\fi\fi
+}
+
+\DeclareRobustCommand{\thectufituniversity}{\if\@ctufitlang C{{\v C}esk{\' e} vysok{\' e} u{\v c}en{\' i} technick{\' e} v~Praze}\else\if\@ctufitlang S{{\v C}esk{\' e} vysok{\' e} u{\v c}en{\' i} technick{\' e} v~Praze}\else{Czech Technical University in Prague}\fi\fi}
+
+\DeclareRobustCommand{\thectufitfaculty}{\if\@ctufitlang C{Fakulta informa{\v c}n{\' i}ch technologi{\' i}}\else\if\@ctufitlang S{Fakulta informa{\v c}n{\' i}ch technologi{\' i}}\else{Faculty of Information Technology}\fi\fi}
+
+\DeclareRobustCommand{\thectufitsupervisorlabelcapital}{\if\@ctufitlang C{Vedouc{\' i}}\else\if\@ctufitlang S{Ved\'uci}\else{Supervisor}\fi\fi}
+
+\DeclareRobustCommand{\thectufitcitationlabel}{\if\@ctufitlang C{Odkaz na tuto pr{\' a}ci}\else\if\@ctufitlang S{Odkaz na t\'uto pr{\' a}cu}\else{Citation of this thesis}\fi\fi}
+
+\DeclareRobustCommand{\thectufitallrightsreservedlabel}{\if\@ctufitlang C{Odkaz na tuto pr{\' a}ci}\else\if\@ctufitlang S{Odkaz na t\'uto pr{\' a}cu}\else{Citation of this thesis}\fi\fi}
+
+\DeclareRobustCommand{\thectufitlistinglabel}{\if\@ctufitlang C{V{\'y}pis k{\'o}du}\else\if\@ctufitlang S{V{\'y}pis k{\'o}du}\else{Code listing}\fi\fi}
+
+\DeclareRobustCommand{\thectufitlollabel}{\if\@ctufitlang C{Seznam v{\'y}pis{\r u} k{\'o}du}\else\if\@ctufitlang S{Zoznam v{\'y}pisov k{\'o}du}\else{List of code listings}\fi\fi}
+
+
+\DeclareRobustCommand{\thectufitcopyrighttext}{\if\@ctufitlang C{Tato pr{\' a}ce vznikla jako {\v s}koln{\' i} d{\' i}lo na {\v C}esk{\' e}m vysok{\' e}m u{\v c}en{\' i} technick{\' e}m v~Praze, Fakult{\v e} informa{\v c}n{\' i}ch technologi{\' i}. Pr{\' a}ce je chr{\' a}n{\v e}na pr{\' a}vn{\' i}mi p{\v r}edpisy a mezin{\' a}rodn{\' i}mi {\' u}mluvami o~pr{\' a}vu autorsk{\' e}m a pr{\' a}vech souvisej{\' i}c{\' i}ch s~pr{\' a}vem autorsk{\' y}m. K~jej\'\i{}mu u\v zit\'\i{}, s~v\'yjimkou bez\'uplatn\'ych z\'akonn\'ych licenc\'\i{} a nad r\'amec opr\'avn\v en\'\i{} uveden\'ych v~Prohl\'a\v sen\'\i{} na p\v redchoz\'\i{} stran\v e, je nezbytn\'y souhlas autora.}\else\if\@ctufitlang S{T\'ato pr\'aca vznikla ako \v skolsk\'e dielo na  FIT \v CVUT v Prahe. Pr\'aca je chr\'anen\'a medzin\'arodn\'ymi predpismi a zmluvami o autorskom pr\'ave a pr\'avach s\'uvisiacich s autorsk\'ym pr\'avom. Na jej vyu\v zitie, s~v\'ynimkou bezplatn\'ych z\'akonn\'ych licenci\'\i, je nutn\'y s\'uhlas autora.}\else{This thesis is school work as defined by Copyright Act of the Czech Republic. It has been submitted at Czech Technical University in Prague, Faculty of Information Technology. The thesis is protected by the Copyright Act and its usage without author's permission is prohibited (with exceptions defined by the Copyright Act).}\fi\fi}
+
+% title page
+\renewcommand{\maketitle}{\begin{titlepage}%
+\newgeometry{left=67mm,top=80mm,right=40mm}%\thispagestyle{empty}%
+\noindent{\large\noindent\thectufitthesistype}
+\vskip 3mm
+\noindent{\noindent\huge\bfseries\color{black}\begin{flushleft}\begin{onehalfspace}\MakeUppercase{\thectufittitle}\end{onehalfspace}\end{flushleft}}
+\vskip 35mm
+\noindent{\large  \bfseries \thectufitauthorfull}
+
+\vfill
+
+\noindent{\thectufitfaculty\\
+\thectufitdepartment\\
+\thectufitsupervisorlabelcapital: \thectufitsupervisor\\
+\today}\end{titlepage}
+\restoregeometry
+}
+%title page end
+
+% IMPRINT
+\DeclareRobustCommand{\imprintpage}{
+	\clearpage
+	\thispagestyle{empty}
+	
+
+		~
+	\vfill
+	
+	{\small
+			\noindent \thectufituniversity \\
+		\noindent \thectufitfaculty \\
+	\noindent \textcopyright{} \thectufityear{} \thectufitauthorfull. \thectufitallrightsreservedlabel.\\
+		\noindent \textit{\thectufitcopyrighttext}
+	
+	\vspace{1em}
+	
+	\noindent \thectufitcitationlabel: \thectufitauthorsurnames{} \thectufitauthorgivennames. \textit{\thectufittitle}. \thectufitthesistype. \thectufituniversity, \thectufitfaculty, \thectufityear.
+   }
+}
+% IMPRINT END
+
+% captions settings
+\@ifpackagelater{hyperref}{2009/12/09}
+  {\captionsetup{compatibility=false}}%cf. http://groups.google.de/group/comp.text.tex/browse_thread/thread/db9310eb540fbbd8/42e30f3b7b3aa17a?lnk=raot
+  {}
+\DeclareCaptionLabelFormat{boxed}{%0.61,0.61,0.61
+  \kern0.05em{\color{decoration}\rule{0.73em}{0.73em}}%
+  \hspace*{0.67em}\bothIfFirst{#1}{~}#2}
+\captionsetup{labelformat=boxed}
+\captionsetup[table]{position=top}
+% captions settings end
+
+% lists settings
+\setlength\leftmargini  \parindent
+\setlength\leftmarginii {1.2em}
+\setlength\leftmarginiii{1.2em}
+\setlength\leftmarginiv {1.2em}
+\setlength\leftmarginv  {1.2em}
+\setlength\leftmarginvi {1.2em}
+\renewcommand\labelenumi{%
+  \textcolor{enumgray}{\bfseries\upshape\mathversion{bold}\theenumi.}}
+\renewcommand\labelenumii{%
+  \textcolor{enumgray}{\bfseries\upshape\mathversion{bold}\theenumii.}}
+\renewcommand\labelenumiii{%
+  \textcolor{enumgray}{\bfseries\upshape\mathversion{bold}\theenumiii.}}
+\renewcommand\labelenumiv{%
+  \textcolor{enumgray}{\bfseries\upshape\mathversion{bold}\theenumiv.}}
+% \makeatletter
+\renewcommand\labelitemi{%
+  \textcolor{enumgray}{\ifnum\@listdepth=\@ne
+                                  \rule{0.67em}{0.33em}%
+                                \else
+                                  \rule{0.45em}{0.225em}%
+                                \fi}}
+% \makeatother
+\renewcommand\labelitemii{%
+  \textcolor{enumgray}{\rule{0.45em}{0.225em}}}
+\renewcommand\labelitemiii{%
+  \textcolor{enumgray}{\bfseries\textasteriskcentered}}
+\renewcommand\labelitemiv{%
+  \textcolor{enumgray}{\bfseries\textperiodcentered}}
+\renewcommand*\descriptionlabel[1]{%
+  \hspace\labelsep\textcolor{enumgray}{\bfseries\mathversion{bold}#1}}
+% lists settings end
+
+%%%%%%%%%%%%%%
+% FRONTMATTER SETTINGS
+% no need to modify this part
+%%%%%%%%%%%%%%
+\DeclareRobustCommand{\frontmatterinit}{
+\titleformat
+{\chapter} % command
+% [display] % shape
+{} % format
+{} % label
+{} % sep
+{\color{heading}\frontchapterfont \raggedleft} % before-code
+[\vskip -2em] % after-code
+
+\titleformat
+{\section}
+{\frontsectionfont\color{heading}}
+{}
+{}
+{}
+
+  
+% \titleformat{\subsection}
+%   {\frontsubsectionfont\color{heading}}{{{\color{black}\thesubsection}}}{1em}{}[\vskip -1em]
+  
+% \titleformat{\subsubsection}
+%   {\frontsubsubsectionfont\color{heading}}{{{\color{black}\thesubsubsection}}}{1em}{}[\vskip -1em]
+
+% \makeatletter
+\@openrightfalse
+% \makeatother
+}
+%%%%%%%%%%%%%%
+% FRONTMATTER SETTINGS END
+%%%%%%%%%%%%%%
+
+
+% frontmatter headings
+\def\frontchapterfont{\Large \bfseries}
+\def\frontsectionfont{\large\bfseries}
+\def\frontsubsectionfont{\large}
+\def\frontsubsubsectionfont{\bfseries}
+% frontmatter headings end
+
+% frontmatter pseudochapters: named part without printing actual chapter heading
+% \makeatletter
+\newcommand{\frontchapternotprinted}[1]{%
+  \begingroup
+  \let\@makechapterhead\@gobble % make \@makechapterhead do nothing
+  \let\cleardoublepage\clearpage
+  \chapter{#1}
+  \endgroup
+}
+% \makeatother
+% frontmatter pseudochapters end
+
+% table of contents colored chapters
+% \makeatletter
+\let\stdl@chapter\l@chapter
+\renewcommand*{\l@chapter}[2]{%
+  \stdl@chapter{\textcolor{heading}{#1}}{\textcolor{heading}{#2}}}
+% \makeatother
+% table of contents colored chapters end
+
+% headers and footers
+% \makeatletter
+\def\ps@plain{%chapter beginning
+    \let\@evenhead\@empty%
+    \let\@oddhead\@empty%
+    \def\@evenfoot{\bfseries\color{headgray}\hfill\thepage\hfill}%
+    \def\@oddfoot{\bfseries\color{headgray}\hfill\thepage\hfill}}
+% \makeatother
+\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
+\renewcommand{\sectionmark}[1]{\markright{#1}}
+\pagestyle{fancy}
+\fancyhf{}
+\fancyhead[LE]{\leavevmode\smash{\llap{\color{headgray} \bfseries \thepage \hspace*{4em}}}}
+\fancyhead[RE]{\color{headgray}\bfseries\nouppercase{\leftmark}}
+\fancyhead[RO]{\leavevmode\smash{\rlap{\hspace*{4em}\color{headgray}\bfseries\thepage}}}
+\fancyhead[LO]{\color{headgray}\bfseries\nouppercase{\rightmark}}
+\renewcommand{\headrulewidth}{0pt}
+% headers and footers end
+
+
+\newenvironment{abstrakt}{%
+  \vspace*{18mm}
+  \noindent
+  {{\frontchapterfont\begin{flushleft}{\color{heading}Abstrakt}\end{flushleft}}}%
+  \bigskip
+  \noindent\ignorespaces}
+
+\newenvironment{abstract}{%
+  \vskip\bigskipamount
+  \noindent
+  {{\frontchapterfont\begin{flushleft}{\color{heading}Abstract}\end{flushleft}}}%
+  \bigskip
+  \noindent\ignorespaces}
+  
+\newenvironment{declaration}{}
+
+% acknowledgment page
+\newenvironment{acknowledgmentpage}{\frontchapternotprinted{Poděkování}
+~
+\vfill
+\hskip 0cm \begin{minipage}{0.7\textwidth}\itshape}{
+\end{minipage}
+
+\vfill
+
+\vfill}
+% acknowledgment page END
+
+% declaration page
+\newenvironment{declarationpage}{\frontchapternotprinted{Prohlášení}
+~
+\vfill
+
+  {{\frontchapterfont\begin{flushright}{\color{heading}Prohlášení}\end{flushright}}}%
+  \bigskip
+  \noindent\ignorespaces
+}{\vskip 1cm
+\noindent
+\if\@ctufitlang E{In}\else{V}\fi~\thectufitdeclarationplace{} \if\@ctufitlang C{dne}\else\if\@ctufitlang S{dne}\else{on}\fi\fi~\thectufitdeclarationdate{} \hspace{.3\textwidth} \dotfill}
+% declaration page END
+
+% abstract page
+\newenvironment{abstractpage}{\frontchapternotprinted{Abstrakt}
+}{}
+% abstract page END
+
+\newenvironment{summarypage}{\chapter{ShrnutĂ­}
+\setlength{\columnsep}{1cm}
+\begin{multicols}{2}\small
+}{\end{multicols}}
+
+%%%%%%%%%%%%%%%%%%%%
+% MAINMATTER SETTINGS
+% no need to modify this part
+%%%%%%%%%%%%%%%%%%%%
+\DeclareRobustCommand{\mainmatterinit}{
+% \makeatletter
+\@openrighttrue
+% \makeatother
+
+\titleformat
+{\chapter} % command
+[display] % shape
+{ \LARGE \bfseries \raggedleft} % format
+{ \textcolor{headbackgroundgray}{{\titlerule*[1pc]{\rule{0.25em}{0.25em}}}} \hspace{0.5ex} \color{black} Kapitola \thechapter } % label
+{-0.3cm} % sep
+{\color{heading} \Huge \vskip 0.5cm} % before-code
+[\vskip 1cm] % after-code
+
+%vzhled nadpisĹŻ sekcĂ­
+\titleformat{\section}
+  {\Large\bfseries\color{heading}}{\colorbox{headbackgroundgray}{{\color{black}\thesection}}}{1em}{}%[\vskip -1em]
+  
+\titleformat{\subsection}
+  {\Large\bfseries\color{heading}}{{{\color{black}\thesubsection}}}{1em}{}%[\vskip -1em]
+  
+\titleformat{\subsubsection}
+  {\large\bfseries\color{heading}}{{{\color{black}\thesubsubsection}}}{1em}{}%[\vskip -1em]
+}
+%%%%%%%%%%%%%%%%%%%%
+% MAINMATTER SETTINGS END
+%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%
+% APPENDIX SETTINGS 
+% no need to modify this part
+%%%%%%%%%%%%%%%%%%%%
+\DeclareRobustCommand{\appendixinit}{
+\titleformat
+{\chapter} % command
+[display] % shape
+{ \LARGE \bfseries \raggedleft} % format
+{ \textcolor{headbackgroundgray}{{\titlerule*[1pc]{\rule{0.25em}{0.25em}}}} \hspace{0.5ex} \color{black} Příloha \thechapter } % label
+{-0.3cm} % sep
+{\color{heading} \Huge \vskip 0.5cm} % before-code
+[\vskip 1cm] % after-code
+}
+%%%%%%%%%%%%%%%%%%%%
+% APPENDIX SETTINGS END
+%%%%%%%%%%%%%%%%%%%%
+
+% theorems, proofs, definitions, etc.
+\RequirePackage{amsthm}[2020/05/29]
+\RequirePackage{mathtools}[2020/03/24]
+\RequirePackage{amssymb}[2013/01/14]
+
+\thm@headfont{%
+  \textcolor{decoration}{$\blacktriangleright$}\nobreakspace\bfseries}
+\def\th@remark{%
+  \thm@headfont{%
+    \textcolor{decoration}{$\blacktriangleright$}\nobreakspace}%
+  \normalfont % body font
+  \thm@preskip\topsep \divide\thm@preskip\tw@
+  \thm@postskip\thm@preskip
+}
+\def\@endtheorem{\endtrivlist}%\@endpefalse
+\renewcommand\qedsymbol{\textcolor{decoration}{\ensuremath{\blacktriangleleft}}}
+\renewenvironment{proof}[1][\proofname]{\par
+  \pushQED{\qed}%
+  \normalfont \topsep6\p@\@plus6\p@\relax
+  \trivlist
+  \item[\hskip\labelsep
+        \color{black}\bfseries
+    #1\@addpunct{.}]\ignorespaces
+}{%
+  \popQED\endtrivlist%\@endpefalse
+}
+\theoremstyle{plain}
+\newtheorem{theorem}{Věta}
+\newtheorem{lemma}[theorem]{TvrzenĂ­}
+\newtheorem{corollary}[theorem]{DĹŻsledek}
+\newtheorem{proposition}[theorem]{Návrh}
+\newtheorem{definition}[theorem]{Definice}
+\theoremstyle{definition}
+\newtheorem{example}[theorem]{Příklad}
+\theoremstyle{remark}
+\newtheorem{note}[theorem]{Poznámka}
+\newtheorem*{note*}{Poznámka}
+\newtheorem{remark}[theorem]{Pozorování}
+\newtheorem*{remark*}{Pozorování}
+\numberwithin{theorem}{chapter}
+% theorems, proofs, definitions, etc. end
+
+\DeclareRobustCommand{\printabstractpage}{%
+\begin{abstractpage}
+\begin{abstrakt}% Enter abstract in CZECH.
+\thectufitabstrakt
+\end{abstrakt}
+
+\vskip 0.5cm
+
+{\noindent\color{heading}\bfseries Klíčová slova\hspace{1em}}{\thectufitklicovaslova}
+
+\vskip 1cm
+
+\begin{abstract}% Enter abstract in ENGLISH.
+\thectufitabstract
+\end{abstract}
+
+\vskip 0.5cm
+
+{\noindent\color{heading}\bfseries Keywords\hspace{1em}}{\thectufitkeywords}
+\end{abstractpage}
+}
diff --git a/ctufit-thesis.tex b/ctufit-thesis.tex
new file mode 100644
index 0000000000000000000000000000000000000000..d8ddbbb62cab0810c0979ae246c4dc8db149d525
--- /dev/null
+++ b/ctufit-thesis.tex
@@ -0,0 +1,220 @@
+%% This is the ctufit-thesis example file. It is used to produce theses
+%% for submission to Czech Technical University, Faculty of Information Technology.
+%%
+%% Get the newest version from
+%% https://gitlab.fit.cvut.cz/theses-templates/FITthesis-LaTeX
+%%
+%%
+%% Copyright 2021, Eliska Sestakova and Ondrej Guth
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public Licenese, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%%  https://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The current maintainer of this work is Ondrej Guth.
+%% Contact ondrej.guth@fit.cvut.cz for bug reports.
+%% Alternatively, submit bug reports into the tracker at
+%% https://gitlab.fit.cvut.cz/theses-templates/FITthesis-LaTeX/issues
+%%
+%%
+
+\documentclass[czech,master]{ctufit-thesis}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% FILL IN THIS INFORMATION
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\ctufittitle{Název příkladné závěrečné práce}
+\ctufitauthorfull{Bc. Jiří Nebozíz} 
+\ctufitauthorsurnames{NebozĂ­z}
+\ctufitauthorgivennames{Jiří}
+\ctufitsupervisor{doc.\,Ing.\,Damien Zlo,\,Ph.D.}
+\ctufitdepartment{Katedra teoretické informatiky}
+\ctufityear{2021}
+\ctufitdeclarationplace{Praze}
+\ctufitdeclarationdate{\today}
+\ctufitabstraktCZE{Fill in abstract of this thesis in Czech language. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Cras pede libero, dapibus nec, pretium sit amet, tempor quis. Sed vel lectus. Donec odio tempus molestie, porttitor ut, iaculis quis, sem. Suspendisse sagittis ultrices augue.}
+\ctufitabstractENG{Fill in abstract of this thesis in English language. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Cras pede libero, dapibus nec, pretium sit amet, tempor quis. Sed vel lectus. Donec odio tempus molestie, porttitor ut, iaculis quis, sem. Suspendisse sagittis ultrices augue.}
+\ctufitkeywordsCZE{Fill in keywords of this thesis in Czech.}
+\ctufitkeywordsENG{Fill in keywords of this thesis in English.}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% END FILL IN
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\RequirePackage{iftex}[2020/03/06]
+\iftutex
+    \RequirePackage{ellipsis}[2020/05/22] %ellipsis workaround for XeLaTeX
+\else
+    \RequirePackage[utf8]{inputenc}[2018/08/11] %this file encoding
+    \RequirePackage{lmodern}[2009/10/30]
+\fi
+
+\RequirePackage[pdfpagelayout=TwoPageRight]{hyperref}[2020-05-15] % optional package
+\RequirePackage{pdfpages}[2020/01/28]
+% \RequirePackage{emptypage}[2010/05/30]
+
+
+\bibliographystyle{plainurl}% the mandatory bibstyle
+
+\setcounter{secnumdepth}{4} % numbering sections; 4: subsubsection
+
+% code listings settings
+\RequirePackage{listings}[2020/03/24] % typesetting of sources
+% 	\@ifpackageloaded{listings}{%
+		\DeclareRobustCommand{\lstlistingname}{\thectufitlistinglabel}%
+		\DeclareRobustCommand{\lstlistlistingname}{\thectufitlollabel}%
+		\lstset{basicstyle=\small\ttfamily,keywordstyle=\bfseries,%
+				backgroundcolor=\color{backgroundgray},%
+				frame=single,framerule=0pt,xleftmargin=\fboxsep,xrightmargin=\fboxsep}%
+% 	}{}%
+% code listings settings END
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% TEMPLATE SETTINGS END
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%%%%
+% DEMO CONTENTS SETTINGS
+% You may choose to modify this part.
+%%%%%%%%%%%%%%%%%%%%%%
+\usepackage{dirtree}
+\usepackage{lipsum,tikz}
+%%%%%%%%%%%%%%%%%%%%%%
+% DEMO CONTENTS SETTINGS END
+%%%%%%%%%%%%%%%%%%%%%%
+
+\begin{document} 
+\frontmatter\frontmatterinit
+
+\includepdf{assignment-include.pdf}
+
+\thispagestyle{empty}
+\cleardoublepage
+
+\maketitle
+
+\imprintpage
+
+\tableofcontents
+\listoffigures
+\begingroup
+\let\clearpage\relax
+\listoftables
+\lstlistoflistings
+\endgroup
+
+%%%%%%%%%%%%%%%%%%%
+% ACKNOWLEDGMENT
+% FILL IN / MODIFY
+%%%%%%%%%%%%%%%%%%%
+\begin{acknowledgmentpage}
+	Chtěl bych poděkovat především sit amet, consectetuer adipiscing elit. Curabitur sagittis hendrerit ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Cras pede libero, dapibus nec, pretium sit amet, tempor quis. Sed vel lectus. Donec odio tempus molestie, porttitor ut, iaculis quis, sem. Suspendisse sagittis ultrices augue.
+\end{acknowledgmentpage} 
+%%%%%%%%%%%%%%%%%%%
+% ACKNOWLEDGMENT END
+%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%
+% DECLARATION
+% FILL IN / MODIFY
+%%%%%%%%%%%%%%%%%%%
+% INSTRUCTIONS
+% ENG: choose one of approved texts of the declaration. DO NOT CREATE YOUR OWN. Find the approved texts at https://courses.fit.cvut.cz/SFE/download/index.html#_documents (document Declaration for FT in English)
+% CZE/SLO: Vyberte jedno z fakultou schvalenych prohlaseni. NEVKLADEJTE VLASTNI TEXT. Schvalena prohlaseni najdete zde: https://courses.fit.cvut.cz/SZZ/dokumenty/index.html#_dokumenty (prohlášení do ZP)
+\begin{declarationpage}
+FILL IN ACCORDING TO THE INSTRUCTIONS.
+
+Vyplňte v souladu s pokyny.
+
+Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur sagittis hendrerit ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Cras pede libero, dapibus nec, pretium sit amet, tempor quis. Sed vel lectus. Donec odio tempus molestie, porttitor ut, iaculis quis, sem. Suspendisse sagittis ultrices augue. Donec ipsum massa, ullamcorper in, auctor et, scelerisque sed, est. In sem justo, commodo ut, suscipit at, pharetra vitae, orci. Pellentesque pretium lectus id turpis.
+\end{declarationpage}
+%%%%%%%%%%%%%%%%%%%
+% DECLARATION END
+%%%%%%%%%%%%%%%%%%%
+
+\printabstractpage
+
+%%%%%%%%%%%%%%%%%%%
+% SUMMARY
+% FILL IN / MODIFY
+% OR REMOVE ENTIRELY (upon agreement with your supervisor)
+% (apropriate to remove in most theses)
+%%%%%%%%%%%%%%%%%%%
+\begin{summarypage}
+\section*{Motivace}
+
+\lipsum[1][1-8]
+
+\section*{Cíl práce}
+
+\lipsum[2][1-6]
+
+\section*{Postup}
+
+\lipsum[3]
+
+\section*{Výsledky práce}
+
+\lipsum[2]
+
+\section*{Závěr}
+
+\lipsum[1][1-8] Lorem lorem lorem.
+\end{summarypage}
+%%%%%%%%%%%%%%%%%%%
+% SUMMARY END
+%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%
+% ABBREVIATIONS
+% FILL IN / MODIFY
+% OR REMOVE ENTIRELY
+%%%%%%%%%%%%%%%%%%%
+\chapter{Seznam zkratek}
+	
+\begin{tabular}{rl}
+DFA & Deterministic Finite Automaton\\
+FA & Finite Automaton\\
+LPS & Labelled PrĂĽfer Sequence\\
+NFA & Nondeterministic Finite Automaton\\
+NPS & Numberef PrĂĽfer Sequence\\
+TPA & Tree Paths Automaton\\
+TSPA & Tree String Paths Subsequences Automaton\\
+XML & Extensible Markup Language\\
+XPath & XML Path Language\\
+XSLT & eXtensible Stylesheet Language Transformations\\
+W3C & World Wide Web Consortium
+\end{tabular}
+%%%%%%%%%%%%%%%%%%%
+% ABBREVIATIONS END
+%%%%%%%%%%%%%%%%%%%
+
+\mainmatter
+\mainmatterinit
+
+%%%%%%%%%%%%%%%%%%%
+% THE THESIS
+% MODIFY ANYTHING BELOW THIS LINE
+%%%%%%%%%%%%%%%%%%%
+\include{text}
+
+\appendix
+\appendixinit
+
+\include{appendix}
+
+\backmatter
+
+\bibliography{bib-database}
+
+\include{medium}
+
+\end{document}