\documentclass[12pt, a4paper]{report}

\usepackage[utf8]{inputenc}
\usepackage[a-2u]{pdfx} % PDF-A output

\usepackage[a4paper, top=25mm, bottom=30mm, left=30mm, right=25mm]{geometry}
\usepackage[czech]{babel}
\usepackage{csquotes}
\usepackage{hyperref}
\hypersetup{unicode}
\hypersetup{breaklinks=true}
\usepackage{graphicx}
\usepackage{cmap}
\usepackage{enumitem}
\setlist{noitemsep}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{xcolor}
\usepackage{listings}
\renewcommand{\lstlistingname}{Kód}
\lstset{basicstyle=\footnotesize,
		numbers=left,
		numberstyle=\tiny,
		captionpos=b,
		frame=single,
		breaklines=true,
		postbreak=\mbox{{$\hookrightarrow$}\space}
}

% Typography
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt}
\usepackage{setspace}
	\setstretch{1.5} % Better alterative to \baselinestretch
%\renewcommand{\baselinestretch}{1.5}
\frenchspacing
\usepackage{lmodern}

% Citations
\usepackage{natbib}
\bibliographystyle{csplainnat}
\renewcommand{\bibname}{Seznam použité literatury}

% Size of title margins
\usepackage{titlesec}
\titleformat{\chapter}[display]
	{\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter}{20pt}{\Huge}
	\titlespacing*{\chapter}{0pt}{0pt}{40pt}

% Better multiline footnotes
\usepackage{scrextend}
\deffootnote[1em]{3em}{1em}{\textsuperscript{\thefootnotemark}}
\setlength{\footnotesep}{0.5cm}
\renewcommand{\footnoterule}{\vfill\kern -3pt \hrule width 0.4\columnwidth \kern 2.6pt}


\def\Title{Nasazení, správa a monitoring rozsáhlých přístupových Wi-Fi sítí s~využitím open-source technologií}
\def\TitleEN{Deployment, management and monitoring of large-scale access Wi-Fi networks using open-source technologies}
\def\Author{David Zálešák}
\def\Study{Specializace v~pedagogice}
\def\StudyField{Informační technologie se zaměřením na vzdělávání}
\def\Department{Katedra informačních technologií a technické výchovy}
\def\Supervisor{PhDr. Martin Stejskal}
\def\Year{2024}
\def\Date{10. 4.}


\begin{document}

\include{titulka}
\include{podekovani}
\include{abstrakt}
\tableofcontents
\include{uvod}

\input{chapters/site}
\input{chapters/wifi}
\input{chapters/hardware}
\input{chapters/sprava}
\input{chapters/pozadavky}
\input{chapters/implementace}
\input{chapters/zhodnoceni}

\include{zaver}

% Citations
\newpage
{\raggedright
	%\nocite{*} % List all entries from bibliography even if not cited in text.
	\bibliography{bibliografie}
}

\end{document}
