\documentclass[a4paper]{book}
\usepackage{makeidx}
\usepackage{natbib}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{float}
\usepackage{listings}
\usepackage{color}
\usepackage{ifthen}
\usepackage[table]{xcolor}
\usepackage{textcomp}
\usepackage{alltt}
\usepackage{ifpdf}
\ifpdf
\usepackage[pdftex,
            pagebackref=true,
            colorlinks=true,
            linkcolor=blue,
            unicode
           ]{hyperref}
\else
\usepackage[ps2pdf,
            pagebackref=true,
            colorlinks=true,
            linkcolor=blue,
            unicode
           ]{hyperref}
\usepackage{pspicture}
\fi
\usepackage[utf8]{inputenc}
\usepackage{mathptmx}
\usepackage[scaled=.90]{helvet}
\usepackage{courier}
\usepackage{sectsty}
\usepackage[titles]{tocloft}
\usepackage{doxygen}
\lstset{language=c++,inputencoding=utf8,basicstyle=\footnotesize,breaklines=true,breakatwhitespace=true,tabsize=8,numbers=left }
\makeindex
\setcounter{tocdepth}{3}
\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\familydefault}{\sfdefault}
\hfuzz=15pt
\setlength{\emergencystretch}{15pt}
\hbadness=750
\tolerance=750
\newcommand{\wikiHref}[1]{\hspace{0.3in}\href{http://opencv.willowgarage.com/documentation/c/search.html?q=#1}{(view full description)}}
\begin{document}
\hypersetup{
  pageanchor=false,
  citecolor=blue,
  colorlinks=true,
  urlcolor=blue
}
\begin{titlepage}
\vspace*{1cm}
\begin{center}
\includegraphics[width=0.5\linewidth]{logo.png} \\
\vspace*{1cm}
{\fontsize{70}{80}\selectfont\textbf{LuaCV}}\\
%\vspace*{1cm}
%{\Huge OpenCV wrapper for Lua}\\
\vspace*{1cm}
{\large \-Generated by Doxygen latex template and Lua interpreter from LuaCV source and OpenCV docs}\\
\vspace*{0.5cm}
{\large Made by Jiří Prymus}\\
\vspace*{0.5cm}
{\small #DATE#}\\

\end{center}
\end{titlepage}
\clearpage
\pagenumbering{roman}
\tableofcontents
\clearpage
%\clearemptydoublepage
\pagenumbering{arabic}
\hypersetup{pageanchor=true,citecolor=blue}
\let\cleardoublepage\clearpage
