% !TeX encoding = UTF-8
% !TeX spellcheck = sl_SI
\documentclass[]{article}
\usepackage[utf8]{inputenc}
\usepackage{etoolbox}
\usepackage[hidelinks]{hyperref}
\usepackage[a4paper, total={7in, 10in}]{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{listings}
% \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{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{\snovdn}{Raztopine }
\newcommand{\predmdn}{kem}
\newcommand{\stevilkadn}{2}
\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{8. oktober 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 Kemija, Gimnazija Bežigrad}
\author{\begin{tabular}{rl}
		\textbf{Profesor:} & prof. Gašper Pernek \\
		\textbf{Avtor:} & Anton Luka Šijanec, 2. a
%		\textbf{Avtor:} & Anton Luka Šijanec \\ & Member 2 \\ & Member 3
\end{tabular}}


% \everymath{\displaystyle} % https://tex.stackexchange.com/a/32847/212260
\begin{document}
\maketitle

\begin{abstract}

	Ta dokument obsega naloge, naročene dijakom 6. oktobra 2020, in njihove
	rešitve, ki sem jih spisal sam. Naloge obsegajo snov \textit{\snovdn}in so
	iz glave profesorja Perneka.
\end{abstract}
\tableofcontents

\section{Naloga}
V \SI{5}{\liter} vode uvedemo \SI{10}{L} vodikovega klorida (HCl\textsubscript{(g)}), merjenega pri temperaturi \SI{22}{\degreeCelsius} in tlaku \SI{101,3}{\kilo\pascal}. $V_R$ se ne spremeni. Izračunaj množinsko in molsko/masno koncentracijo topljenca. ($C_T$ in $\gamma_T$)
\begin{multicols}{3}
	$$C_T=\ddfrac{n_T}{V_R}=\ddfrac{\gamma_T}{M_T}; n_T: \ddfrac{m}{M}$$

	$$\gamma_T: [\SI{}{\mole\per\liter}]; M: [\SI{}{\gram\per\mole}]$$

	$$pV=\ddfrac{m}{M}RT; R=\SI{8,144598}{\joule\per\mole\per\kelvin}$$

\end{multicols}
$$m_T=\ddfrac{pVM}{RT}=\ddfrac{
\SI{101,3}{\kilo\pascal}\cdot\SI{0,1}{\cubed\meter}\cdot\SI[parse-numbers=false]{(1,01+35,45)}{\gram\per\mole}}{
\SI{8,314}{\joule\per\mole\per\kelvin}\cdot\SI{295,15}{\kelvin}
}=\SI{0,1505}{\kilogram}$$
\begin{multicols}{2}
	$$C_T=\ddfrac{\ddfrac{\SI{1505}{\gram}}{\SI{36,46}{\gram\per\mole}}}{\SI{1}{\liter}}=\SI{41,27}{\mol\per\liter}$$

	$$\gamma_T=\ddfrac{\SI{1505}{\gram}}{\SI{10}{\liter}}=\SI{150,5}{\gram\per\liter}$$

\end{multicols}
\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 mojem šolskem Git repozitoriju na
\url{https://github.com/sijanec/sola-gimb-2} v mapi 
\href{https://github.com/sijanec/sola-gimb-2/tree/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://github.com/sijanec/sola-gimb-2/raw/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: \input|"date -Ins"
\fi
%	\item $$$$
\end{document}
