\documentclass[12pt,a4paper,openright]{book}
\usepackage[round]{natbib}
\usepackage[acronym]{glossaries} % make a separate list of acronyms
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{url}
\usepackage[T2A,T1]{fontenc}
\usepackage[utf8x]{inputenc}
\usepackage{acronym}
\usepackage{makeidx}
\usepackage{times}
\usepackage{latexsym}
\usepackage{epsf}
\usepackage{covington}
\usepackage{algpseudocode}
\usepackage{algorithmicx}
\usepackage{algorithm}
\usepackage[utf8x]{inputenc}
\usepackage{amssymb,amsmath}
\usepackage[all]{xy}
\usepackage[T1]{fontenc}
\usepackage{latexsym}
\usepackage[russian,german,english,slovene]{babel}
\usepackage{glossaries}
\usepackage{array} 
\usepackage{indentfirst}
\usepackage{amsthm}
\usepackage{float}

\renewcommand{\algorithmicforall}{\textbf{for each}}


\makeatletter
\setlength{\abovecaptionskip}{6pt}   % 0.5cm as an example
\setlength{\belowcaptionskip}{6pt}   % 0.5cm as an example

%Velikost strani - dvostransko
\oddsidemargin 1.4cm
\evensidemargin 0.35cm
\textwidth 14cm
\topmargin 0.26cm
\headheight 0.6cm
\headsep 1.5cm
\textheight 20cm

%Nastavitev glave in repa strani
\pagestyle{fancy}
\fancyhead{}
\newenvironment{definicija}[1][Definicija]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}}
\newtheorem{definic}{definicija}[section]
\renewcommand{\chaptermark}[1]{\markboth{\small{Poglavje \thechapter:\ #1}}{}}
\renewcommand{\sectionmark}[1]{\markright{\small{\thesection\  #1}}{}}
\fancyhead[RE]{\leftmark}
\fancyhead[LO]{\rightmark}
\fancyhead[LE,RO]{\thepage}
\fancyfoot{}
\renewcommand{\headrulewidth}{0.0pt}
\renewcommand{\footrulewidth}{0.0pt}
\numberwithin{examplecounter}{chapter} 
\renewcommand{\ALG@name}{Algoritem}
\renewcommand{\listofalgorithms}{ 
  \begingroup 
    \listof{algorithm}{Algoritmi} 
  \endgroup 
}
\floatstyle{plain}
\newfloat{unbreakableexample}{thp}{lop}
\floatname{unbreakableexample}{unbreakableexample}
\makeindex
%********************************************

\begin{document}
%
% Naslovnica
%
  \begin{titlepage}
    \Large \centering
    Univerza v Ljubljani \\ Fakulteta za računalništvo in informatiko \\ \vfill
    Jernej Vičič \\
    \vspace{1cm}
    {\Huge\bf Hitra postavitev prevajalnih sistemov na osnovi pravil\index{pravilo} za sorodne naravne jezike} \\ 
 \vspace{1cm}
	\MakeUppercase{Doktorska disertacija} \\ \vspace{1cm}
\vfill
%    \vspace{1cm} Ver.\ 0.9$\alpha$ / \today  \\ \vspace{2cm}
    
    Ljubljana, 2012
  \end{titlepage}

%********************************************

% 3zahvala




\end{document}