\documentclass[12pt,a4paper]{scrreprt}
\usepackage[utf8x]{inputenc}
\usepackage[T2A]{fontenc}
%\usepackage{amsfonts}
%\usepackage{lmodern}
\usepackage{graphicx}
\usepackage{listings}
\usepackage{fancyhdr}
%\usepackage{titlesec}
%\usepackage{mathptmx}% http://ctan.org/pkg/mathptmx
\usepackage{caption}
\usepackage{subcaption}
% Overleaf support: Fix for TeX Live 2016: the acm bibliography style uses the old font command \sc, so bring it back temporarily. See
% https://www.overleaf.com/blog/435
\makeatletter
\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
\makeatother
%definicije
\newcommand{\naziv}{Концепт проширене стварности}
\newcommand{\tema}{Концепт проширене стварности}
\newcommand{\kljucnerijeci}{Kljucne rijeci}
\newcommand{\komisija}{чланови комисије}
\newcommand{\kandidat}{Име и презиме}
\newcommand{\sta}{дипломски рад}
\newcommand{\univerzitet}{Универзитет у Бањој Луци}
\newcommand{\fakultet}{Електротехнички факултет}
\newcommand{\katedra}{катедра}
\newcommand{\mentor}{Име и презиме ментора}
\newcommand{\predmet}{предмет}
\newcommand{\zadatak}{текст задатка}
\newcommand{\mjestodatum}{Бања Лука, фебруар 2016.}
%nazivi
%\renewcommand{\cleardoublepage}{}
\renewcommand{\bibname}{Литература:}
\renewcommand\contentsname{Садржај:}
\renewcommand\figurename{Слика}
\renewcommand\chaptername{}
% zaglavlje
\pagestyle{fancy}
\lhead{\naziv}
\chead{}
\rhead{\leftmark}
\rfoot{}
\cfoot{\thepage}
\lfoot{}
\title{\naziv}
%ubacivanje koda...
\usepackage{color}
\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}
\lstdefinestyle{mystyle}{
backgroundcolor=\color{backcolour},
commentstyle=\color{codegreen},
keywordstyle=\color{magenta},
numberstyle=\tiny\color{codegray},
stringstyle=\color{codepurple},
basicstyle=\footnotesize\ttfamily,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
keepspaces=true,
numbers=left,
numbersep=5pt,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2
}
\usepackage[bookmarks=false]{hyperref}
\usepackage[hmarginratio=1:1,top=20mm,left=20mm,columnsep=10pt]{geometry}
\hypersetup{
% show bookmarks bar?
pdftitle={\tema}, % title
pdfauthor={\kandidat}, % author
pdfsubject={diplomski rad}, % subject of the document
pdfkeywords={\kljucnerijeci}, % list of keywords
colorlinks=true, % false: boxed links; true: colored links
linkcolor=black, % color of internal links
citecolor=black, % color of links to bibliography
filecolor=black, % color of file links
urlcolor=black, % color of external links
linktoc=all, % only page is linkedm
}
\usepackage{multicol}
\usepackage{indentfirst}
\usepackage{enumitem}
\setlist{nolistsep}
\begin{document}
\pagenumbering{roman}
\input{titlepage.tex}
\input{prem_list.tex}
\input{zadatak.tex}
\tableofcontents
\pagenumbering{arabic}
\chapter{Увод}
Примјер цитирања \cite{book:1}.
\chapter{Закључак}
\bibliographystyle{acm}
\bibliography{literatura.bib}
\end{document}