\documentclass[12pt]{article}

\usepackage[czech]{babel}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}

\usepackage[a4paper]{geometry}
\usepackage{fancyhdr,fancyvrb,lastpage,setspace,enumitem}
\usepackage{eso-pic,calc,pdfpages,multicol}
\usepackage{ifpdf,graphicx,pstricks,picture,float,subfigure}
\usepackage{mathtools,physics,siunitx,amssymb,mflogo}
\usepackage{hyperref}
%\usepackage[all]{hypcap}
\usepackage[numbers]{natbib}
\usepackage[noprefix]{nomencl}
\usepackage[center,labelsep=endash]{caption}
\usepackage[subfigure,caption2]{ccaption}

% hhline pro horizontalni cary v tabulkach v  kombinaci s multirow
\usepackage{multirow,hhline}

\usepackage{url}
\DeclareUrlCommand\url{\def\UrlLeft{<}\def\UrlRight{>} \urlstyle{tt}}

% pro vyhledavani diakritiky v PDF
\usepackage{lmodern}
\input{glyphtounicode}
\pdfgentounicode=1

\geometry{hmargin={3cm,2cm},vmargin=2cm,includeheadfoot,head=16pt,footskip=1cm}
\hypersetup{
	unicode=true,
	colorlinks=true,
	linktoc=page,
	linkcolor=black,
	citecolor=black,
	urlcolor=black
}
\sisetup{ 
    abbreviations = false,
	number-unit-separator=\text{~},
	exponent-product = \ensuremath{{}\cdot{}},
	output-decimal-marker = {,},
	inter-unit-product = \ensuremath{{}\cdot{}}
}

\makenomenclature
\renewcommand{\nomname}{Seznam použitých symbolů}

\mathcode`\,="013B

\renewcommand{\arraystretch}{1.1}
\newcommand{\smskip}{\\[0,5cm]}		% small mat h skip
\newcommand{\dunderline}[1]{\underline{\underline{#1}}}

\newcommand{\degree}{\ensuremath{^\circ}}

\newcommand{\figb}[3]{%
\begin{figure}[H]
	\begin{center}
		\fbox{\includegraphics[width=12cm]{#1}}
	\end{center}
	\caption{#2}
	\label{#3}
\end{figure}}

\newcommand{\fig}[3]{%
\begin{figure}[H]
	\begin{center}
		\includegraphics[width=12cm]{#1}
	\end{center}
	\caption{#2}
	\label{#3}
\end{figure}}

\numberwithin{figure}{section}
\numberwithin{table}{section}
\numberwithin{equation}{section}

\tolerance=10000


\begin{document}
%\singlespacing
\onehalfspacing
%\doublespacing
\shorthandoff{-}

%\renewcommand{\figurename}{Obr.}
\renewcommand{\bibsection}{\section{Použitá literatura}\label{sec:reference}}

\pagestyle{empty}
\includepdf[fitpaper]{00Titulni.pdf}
\includepdf[fitpaper,pages={1,2}]{00Zadani.pdf}
\pagestyle{plain}
\setcounter{page}{1}
\pagenumbering{roman}

\input{00Abstract.tex}
\tableofcontents

\bigskip 
\listoftables

\cleardoublepage
\listoffigures

\newpage
\pagenumbering{arabic}
\setcounter{page}{1}
\pagestyle{fancy}

\input{01Uvod.tex}
\input{01ChladiciVeze.tex}
\input{02Metodika.tex}
\input{03MKPModel.tex}
\input{04CFD.tex}
\input{05Analyza.tex}
\input{07Zaver.tex}

\cleardoublepage
\bibliographystyle{czechiso}
\bibliography{citace}

\cleardoublepage
\let\stdsection\section
\def\section*#1{\stdsection{#1}}
\printnomenclature
\let\section\stdsection

\input{09Prilohy.tex}

\end{document}
