\documentclass[a4paper]{report}

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

\usepackage[a4paper, top=25mm, bottom=30mm, left=30mm, right=25mm]{geometry}
\usepackage[czech]{babel}
\usepackage[backend=biber,style=iso-authoryear]{biblatex}
\addbibresource{bibliografie.bib}
\usepackage{csquotes}
\hypersetup{unicode}
\hypersetup{breaklinks=true}
\usepackage{graphicx}
\usepackage{cmap}
\usepackage{enumitem}
\setlist{noitemsep}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{xcolor}
\usepackage{booktabs}
\usepackage{pifont}
\usepackage{tabularx}
\usepackage{multicol}
\usepackage{wrapfig}
\usepackage{mdframed}
\usepackage{xurl}  % Line-break URLs in footnotes

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

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

% Tables
\setlength{\tabcolsep}{10pt} % Default value: 6pt
\renewcommand{\arraystretch}{1.5} % Default value: 1

% 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}

% Colors
\definecolor{green}{RGB}{0,128,0}
\definecolor{red}{RGB}{128,0,0}
\definecolor{gray}{RGB}{200,200,200}

% Symbols
\newcommand{\symbolcheck}{\textcolor{green}{\ding{51}}}
\newcommand{\symbolcross}{\textcolor{red}{\ding{55}}}

% Source code
\usepackage{minted}
\setminted{
    frame=single,
    framesep=3mm,
    framerule=0.2pt, % Default value: 0.4pt
    rulecolor=gray,
    baselinestretch=1.2,
    fontsize=\footnotesize,
}
\renewcommand{\listingscaption}{Kód}
\renewcommand\listoflistingscaption{Seznam ukázek zdrojového kódu}


\def\Title{Jednočipové počítače ve výuce}
\def\TitleEN{Single-board Computers in Education}
\def\Author{Bc. Emil Miler}
\def\Study{Učitelství informačních a~komunikačních technologií pro 2. stupeň základní školy a~střední školy}
\def\StudyField{Informační a komunikační technologie}
\def\Department{Katedra informačních technologií a technické výchovy}
\def\Supervisor{PhDr. Josef Procházka, Ph.D.}
\def\Year{2024}
\def\Date{2. prosince}

\begin{document}

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

\input{kapitoly/1-uvod-do-problematiky}
\input{kapitoly/2-analyza}
\input{kapitoly/3-stanoveni-hodnoticich-kriterii}
\input{kapitoly/4-nastroje}
\input{kapitoly/5-implementace}
\input{kapitoly/6-didakticke-materialy}
\input{kapitoly/7-webova-dokumentace}
\input{kapitoly/8-overeni-v-praxi}
\input{kapitoly/9-reflexe}

\include{zaver}

\newpage
\printbibliography
%\listoflistings

% OPATŘENÍ DĚKANA Č.: 28/ 2024; Č. j.: UKPedF/540417/2024
\include{prohlaseni-ai}

\end{document}