% !TeX encoding = UTF-8
% !TeX spellcheck = sl_SI
% do-vimlatex-onwrite
\documentclass[]{article}
\usepackage[utf8]{inputenc}
\usepackage{etoolbox}
\usepackage[hidelinks]{hyperref}
\usepackage[a4paper, total={7in, 10in}]{geometry}
\usepackage{graphicx}
\usepackage{hologo}
\usepackage{amssymb}
\usepackage{calculator}
\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[ddMMyyyy]{datetime}
\usepackage{ccicons}
\usepackage{chemformula}
\usepackage{gensymb}
\usepackage[normalem]{ulem}
\usepackage[slovene]{babel}
\usepackage{cancel}
% \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}
\sisetup{output-decimal-marker = {,}, quotient-mode=fraction,per-mode=fraction} % per-mode=symbol
\newcommand\ddfrac[2]{\frac{\displaystyle #1}{\displaystyle #2}}
\newcommand{\functionSamples}{100} % fix to fancier value upon release, keep low during development
\newcommand{\razhroscevanje}{1}
\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codered}{rgb}{1,0,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}
\renewcommand{\dateseparator}{. }
\settimeformat{hhmmsstime}
\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{\snovdn}{Koti }
\newcommand{\predmdn}{mat}
\newcommand{\stevilkadn}{../advent/1}
\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}
\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}}
}
% \renewcommand\abstractname{Povzetek}
% \date{17. november 2020}
% \renewcommand\contentsname{Kazalo vsebine}
% \renewcommand\figurename{Slika}
% \renewcommand\abstractname{Povzetek}
\newcommand{\iic}{I\textsuperscript{2}C }
% \patchcmd{\thebibliography}{\section*{\refname}}{}{}{}
\title{%
	\snovdn% --- \stevilkadn. domača naloga
	\\
	\large Matematika, Gimnazija Bežigrad}
\author{\begin{tabular}{rl}
		%\textbf{Profesor:} & prof. Vilko Domajnko\\
		\textbf{Avtor:} & Anton Luka Šijanec, 2. a
%		\textbf{Avtor:} & Anton Luka Šijanec \\ & Member 2 \\ & Member 3
\end{tabular}}
\newcommand\hcancel[2][black]{\setbox0=\hbox{$#2$}%
\rlap{\raisebox{.45\ht0}{\textcolor{#1}{\rule{\wd0}{1pt}}}}#2} 
% \everymath{\displaystyle} % https://tex.stackexchange.com/a/32847/212260
\begin{document}
\maketitle
\begin{abstract}
Dokument za obrazložitev elektronske pošte.
\end{abstract}
\tableofcontents
\section{Skica}
\begin{center}
	\begin{tikzpicture}
		\newcommand\stranica{6}
		\tkzDefPoint(0,0){A} \tkzDefPoint(\stranica,0){B}
		\tkzDefPoint(\stranica,\stranica){C} \tkzDefPoint(0,\stranica){D}
		\tkzDefPoint(90+26:\stranica){EH} \tkzDefPoint(90-26:\stranica){26}
		\tkzDrawPolygon[fill=red!30, opacity=.3](A,B,C,D)
		\tkzDrawLine(A,EH)
		\tkzDrawLine(A,26)
		\tkzLabelAngle[pos=3, shift={({0},{0})}, red](D,A,EH){$\angle DAE$}
		\tkzLabelAngle[pos=3, shift={({0},{0})}](26,A,E){$\angle EAD$}
		\tkzDrawPolygon[fill=red!30, opacity=.3](A,B,C,D)
		\tkzDrawCircle(B,A)
		\tkzInterLC(A,26)(B,A) \tkzGetPoints{AAGAIN}{E}
		\tkzDrawLine(A,C) \tkzDrawLine(B,E)
		\tkzInterLL(A,C)(B,E) \tkzGetPoint{F}
		\tkzFindAngle(F,C,B) \tkzGetAngle{aFCB}
		\tkzFindAngle(B,F,C) \tkzGetAngle{aBFC}
		\tkzFindAngle(C,B,F) \tkzGetAngle{aCBF}
		\sisetup{round-mode=places}
		\tkzLabelAngle(F,C,B){$\ang[round-precision=0]{\aFCB}$}
		\tkzLabelAngle(B,F,C){$\ang[round-precision=0]{\aBFC}$}
		\tkzLabelAngle(C,B,F){$\ang[round-precision=0]{\aCBF}$}
		\tkzDrawPoints(A,B,C,D,E,F) \tkzLabelPoints(A,B,C,D,E,F)
	\end{tikzpicture}
\end{center}
\section{Zaključek}
Ta dokument je informativne narave in se lahko še spreminja. Najnovejša različica, torej PDFji in
\hologo{LaTeX}
izvorna koda, zgodovina sprememb in prejšnje različice, je na voljo v mojem šolskem Git repozitoriju na
\url{https://git.sijanec.eu/sijanec/sola-gimb-2} v mapi 
\href{https://git.sijanec/sola-gimb-2/src/branch/master/\predmdn/domace\_naloge/\stevilkadn/}{/\predmdn/domace\_naloge/\stevilkadn/}. Povezava za ogled zadnje različice tega dokumenta v PDF obliki je  \url{http://razor.arnes.si/~asija3/files/sola/gimb/2/\predmdn/domace\_naloge/\stevilkadn/dokument.pdf} in/ali \url{https://git.sijanec.eu/sijanec/sola-gimb-2/raw/branch/master/\predmdn/domace\_naloge/\stevilkadn/dokument.pdf}.

\if\razhroscevanje1
\section*{Razhroščevalne informacije}
Te informacije so generirane, ker je omogočeno razhroščevanje. Pred objavo dokumenta izklopite razhroščevanje. To naredite tako, da nastavite ukaz \texttt{razhroscevanje} na 0 v začetku dokumenta.

Grafi imajo natančnost \functionSamples\space točk na graf.

Konec generiranja dokumenta: \today\ ob \currenttime\footnote{To ne nakazuje dejanskega časa, ko je bil dokument napisan, temveč čas, ko je bi dokument generiran v PDF/DVI obliko. Isto velja za datum v glavi dokumenta. Če berete direktno iz LaTeX datoteke, bo to vedno današnji datum.}%\input|"date -Ins"

Dokument se je generiral R0qK1KR2 \SI{}{\second}.
\fi
%	\item $$$$ aaasecgeninsaaa R0qK1KR2
\end{document}
