summaryrefslogblamecommitdiffstats
path: root/oiv/osnutek/tex/headers.tex
blob: 5edc2bd3a7681a2a648ba1e0183a6cab5d410d8f (plain) (tree)
1
2
3
4
5
6
7
8
                             
                           
                           
                                                                          

                                

                                                  












                             
                       





                        

                                
                     





                                                                
                             

                                                                                                 
                                                                              
                                                                                                   
                               



                                             

















                                          




































                                                                                                           
                                                 

                                    
                       







                                                      


                                                                                             
                       

                                      
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[slovene]{babel}
\usepackage[backend=biber,style=iso-authoryear,sortlocale=sl_SI]{biblatex}
\usepackage{etoolbox}
\usepackage[hidelinks]{hyperref}
%\usepackage[a4paper, total={7in, 10in}]{geometry}
\usepackage[a4paper]{geometry}
\usepackage{graphicx}
\usepackage{hologo}
\usepackage{amssymb}
\usepackage{pgfplots}
\usepackage[inline]{enumitem}
\usepackage{amsmath}
\usepackage{siunitx}
\usepackage{multicol}
\usepackage{tabularcalc}
\usepackage{amsmath}
\usepackage{float}
\usepackage{tasks}
\usepackage{filecontents}
% \usepackage{textcomp}
\usepackage{tkz-euclide}
\usepackage{dirtytalk}
\usepackage{csquotes}
\usepackage{listings}
\usepackage{fancyhdr}
\usepackage{nameref}
\usepackage[T1]{fontenc}
\usepackage{newtxmath,newtxtext}
\usepackage{titlesec}
% \usepackage{multienum} % weird with labels
\usetikzlibrary{calc} %% not really needed............. idk.
%\usetikzlibrary{external}
% \usetkzobj{all} % tkz-euclide > 3.02 tega ne potrebuje več (:
%\tikzexternalize
\usepackage{xcolor}
\addbibresource{dokument.bib}
\sisetup{output-decimal-marker = {,}, quotient-mode=fraction,per-mode=fraction} % per-mode=symbol
\newcommand\ddfrac[2]{\frac{\displaystyle #1}{\displaystyle #2}}
\newcommand\shortlink[1]{\href{https://xn--jha/#1}{\texttt{https://ž.ga/#1}}}
\newcommand{\functionSamples}{100} % fix to fancier value upon release, keep low during development
\newcommand{\razhroscevanje}{0}
\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=\ttfamily\footnotesize,
    breakatwhitespace=false,         
    breaklines=true,                 
    captionpos=b,                    
    keepspaces=true,                 
    numbers=left,                    
    numbersep=5pt,                  
    showspaces=false,                
    showstringspaces=false,
    showtabs=false,                  
    tabsize=2
}
\lstset{style=mystyle}
\def\@maketitle{%
	\newpage
	\null
	\vskip 2em%
	\begin{center}%
		\let \footnote \thanks
		{\LARGE \@title \par}%
		\vskip 1.5em%
		{\large
			\lineskip .5em%
			\begin{tabular}[t]{c}% <------
				\@author%            <------ Authors
			\end{tabular}\par}%    <------
		\vskip 1em%
		{\large \@date}%
	\end{center}%
	\par
	\vskip 1.5em}
%opening
\newcommand{\cm}[1]{\SI{#1}{\centi\meter}}
\newcommand{\kmh}[1]{\SI{#1}{\kilo\meter\per\hour}}
\makeatletter
\newcommand{\xslalph}[1]{\expandafter\@xslalph\csname c@#1\endcsname}
\newcommand{\@xslalph}[1]{%
	\ifcase#1\or a\or b\or c\or \v{c}\or d\or e\or f\or g\or h\or i%
	\or j\or k\or l\or m\or n\or o\or p\or r\or s\or \v{s}%
	\or t\or u\or v\or z\or \v{z}
	\else\@ctrerr\fi%
}
\AddEnumerateCounter{\xslalph}{\@xslalph}{m}
\def\input@path{{tex/}}
\makeatother
\newcommand\gauss[2]{1/(#2*sqrt(2*pi))*exp(-((x-#1)^2)/(2*#2^2))} % Gauss function, parameters mu and sigma
\newcommand*\textfrac[2]{
	\frac{\text{#1}}{\text{#2}}
}
% \newcommand{\footcite}[1]{\footnote{\cite{#1}}}
\graphicspath{{img/}}
\renewcommand\abstractname{Povzetek}
\date{6. november 2020}
\renewcommand\contentsname{Kazalo vsebine}
\renewcommand\figurename{Slika}
\renewcommand\abstractname{Povzetek}
\newcommand{\iic}{I\textsuperscript{2}C }
\patchcmd{\thebibliography}{\section*{\refname}}{}{}{}

\pagestyle{fancy}
\fancyhf{}
\rhead{Šijanec, A. L. in Marn, J. \textit{Slovenski parlament: celostna umetnina}% (osnutek)
}
\lhead{GimB, 2020/21}
\rfoot{\thepage. stran}
\newcommand{\sectionbreak}{\clearpage}
\renewcommand{\baselinestretch}{1.5}