FIT Mostar Template
Author
Omar Žunić
Last Updated
há 3 anos
License
Creative Commons CC BY 4.0
Abstract
Latex template za fakultet informacijskih tehnologija.
%
\documentclass[12pt, oneside]{report}
\usepackage[margin=0.85in]{geometry}
\linespread{1}
\usepackage{xcolor}
\usepackage[colorlinks=false, linkbordercolor=white, citebordercolor=white,
filebordercolor=white, urlbordercolor=white]{hyperref}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[bosnian]{babel}
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0.4pt}
\fancyhead{}
\fancyhead[L]{Predmet}
\fancyhead[R]{Ime Prezime (IB000000)}
\fancyfoot[C]{\thepage}
\usepackage{titlesec}
\titlespacing{\chapter}{0pt}{*4}{*2.5}
\titleformat{\chapter}{\normalfont\huge\bf}{\thechapter}{20pt}{\huge\bf}
\usepackage{listings}
\definecolor{dgray}{gray}{0.35}
\definecolor{lgray}{gray}{0.95}
\lstset{
language=R,
basicstyle=\ttfamily\small,
backgroundcolor=\color{lgray},
commentstyle=\ttfamily\small\itshape\color{dgray},
showstringspaces=false,
numbers=left,
numberstyle=\ttfamily\small,
stepnumber=1,
firstnumber=last,
breaklines=T}
\begin{document}
\input{title-page}
\addtocontents{toc}{~\hfill\textbf{Page}\par}
\input{body}
\end{document}