%%%
%%% MASTER'S THESIS TEMPLATE - ENGLISH
%%%
%%% * the master file
%%%
%%% This template requites compilation by the sequence
%%% latex -> bibtex -> latex (2x) -> dvips -> ps2pdf
%%% cslatex can be used instead of latex
%%% pdflatex or pdfcslatex can be used if certain parts are adjusted
%%%
%%% AUTHORS: Martin Mares (mares@kam.mff.cuni.cz)
%%% Arnost Komarek (komarek@karlin.mff.cuni.cz), 2011
%%% Michal Kulich (kulich@karlin.mff.cuni.cz), 2013
%%%
%%% LAST UPDATED: 20130318
%%%
%%% ===========================================================================
%%%%% Single page layout:
%%%%% ----------------------------------------------------
\documentclass[12pt, a4paper]{report}
\setlength\textwidth{145mm}
\setlength\textheight{247mm}
\setlength\oddsidemargin{15mm}
\setlength\evensidemargin{15mm}
\setlength\topmargin{0mm}
\setlength\headsep{0mm}
\setlength\headheight{0mm}
\let\openright=\clearpage
%%%%% Double page layout
%%%%% ----------------------------------------------------
% \documentclass[12pt, a4paper, twoside, openright]{report}
% \setlength\textwidth{145mm}
% \setlength\textheight{247mm}
% \setlength\oddsidemargin{15mm}
% \setlength\evensidemargin{0mm}
% \setlength\topmargin{0mm}
% \setlength\headsep{0mm}
% \setlength\headheight{0mm}
% \let\openright=\cleardoublepage
%%% Additional useful packages
%%% ----------------------------------------------------------------
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{bm}
\usepackage{graphicx}
\usepackage{psfrag}
\usepackage{fancyvrb}
\usepackage[round]{natbib}
\usepackage{bbding}
\usepackage{dcolumn}
\usepackage{booktabs}
\usepackage{paralist}
\usepackage{indentfirst}
\usepackage[nottoc]{tocbibind}
\usepackage[unicode]{hyperref}
\hypersetup{pdftitle=Thesis Title,
pdfauthor=Name Surname,
ps2pdf,
colorlinks=false,
urlcolor=blue,
pdfstartview=FitH,
pdfpagemode=UseOutlines,
pdfnewwindow,
breaklinks
}
%%% -------------------------------------
\newcommand{\FIGDIR}{./Obrazky} %%% directory containing figures
\theoremstyle{plain}
\newtheorem{veta}{Theorem}
\newtheorem{lemma}[veta]{Lemma}
\newtheorem{tvrz}[veta]{Proposition}
\theoremstyle{plain}
\newtheorem{definice}{Definition}
\theoremstyle{remark}
\newtheorem*{dusl}{Corollary}
\newtheorem*{pozn}{Note}
\newtheorem*{prikl}{Example}
\newenvironment{dukaz}{
\par\medskip\noindent
\textit{Proof}.
}{
\newline
\rightline{\SquareCastShadowBottomRight}
}
\bibliographystyle{plainnat} %% Author (year) style
%\bibliographystyle{unsrt} %% [number] style
%%%%% ------------------------------------------------------------
\DefineVerbatimEnvironment{PCinout}{Verbatim}{fontsize=\small, frame=single}
\newcommand{\R}{\mathbb{R}}
\newcommand{\N}{\mathbb{N}}
\DeclareMathOperator{\pr}{\textsf{P}}
\DeclareMathOperator{\E}{\textsf{E}\,}
\DeclareMathOperator{\var}{\textrm{var}}
\DeclareMathOperator{\sd}{\textrm{sd}}
\newcommand{\T}[1]{#1^\top}
\newcommand{\goto}{\rightarrow}
\newcommand{\gotop}{\stackrel{P}{\longrightarrow}}
\newcommand{\maon}[1]{o(n^{#1})}
\newcommand{\abs}[1]{\left|{#1}\right|}
\newcommand{\dint}{\int_0^\tau\!\!\int_0^\tau}
\newcommand{\isqr}[1]{\frac{1}{\sqrt{#1}}}
\newcommand{\pulrad}[1]{\raisebox{1.5ex}[0pt]{#1}}
\newcommand{\mc}[1]{\multicolumn{1}{c}{#1}}
%%%%% Main document
%%%%% ---------------------
\begin{document}
\include{Mgr_titulni}
\include{Mgr_kap01}
\include{Mgr_kap02}
\include{Mgr_kap03}
%%% References
%%% References are sought in the database priklady_literatury.bib.
%%% Requires the compilation sequence latex->bibtex->latex->latex
\bibliography{priklady_literatury}
%%% List of figures
\listoffigures
%%% List of tables
\listoftables
%%%
%\chapter*{List of abbreviations}
%\addcontentsline{toc}{chapter}{List of abbreviations}
%%% The Appendix.
%\chapter*{Appendix}
%\addcontentsline{toc}{chapter}{Appendix}
\end{document}