summaryrefslogtreecommitdiffstats
path: root/mat/domace_naloge/12/dokument.tex
blob: 55dd846aa16f54142e0e7c46779dd960c04e1893 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
% !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{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}

\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}{Trikotnik --- konstrukcije }
\newcommand{\predmdn}{mat}
\newcommand{\stevilkadn}{12}
\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{12. 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 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}}


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

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

\section{Učni list \textit{\snovdn}}
Načrtaj trikotnik s podatki:

\begin{enumerate}[label=\textbf{\alph*)}]
	\setcounter{enumi}{6}
	\item $c=\cm{10}, t_c=\cm{10}, v_a=\cm{8}$
		\begin{center}
			\begin{tikzpicture}
				\def\c{10} \def\sx{0} \def\sy{0} \def\va{8} \def\tc{10}
				\tkzDefPoint(\sx,\sy){A} \tkzDefPoint(\sx+\c,\sy){B}
				\tkzDefPoint(\sx+\va,\sy){VH} % višinaA helper = b v pr.tr.
				\tkzDefPoint(\sx+(\c-sqrt(\c^2-\va^2)),\sy){CPH} % C helper v prav.trik.
				\tkzDefPoint(\sx+\c/2+\tc,\sy){TCH} % težiščnicaC helper
				\tkzDrawLine(A,B) \tkzLabelLine[above](A,B){$c$} \tkzCompass(A,B)
				\tkzInterCC(A,VH)(B,CPH) \tkzGetPoints{CP}{CPX}
				\tkzDrawLine(B,CP)
				\tkzDefMidPoint(A,B) \tkzGetPoint{M} \tkzCompass(A,M) \tkzCompass(B,M)
				\tkzInterLC(B,CP)(M,TCH) \tkzGetPoints{C}{CX}
				\tkzDrawLine(A,CP)
				\tkzDrawLine(A,C) \tkzLabelLine[above left](A,C){$b$}
				\tkzDrawLine(B,C) \tkzLabelLine[below left](C,B){$a$}
				\tkzCompass(M,C)
				\tkzCompass(B,CP) \tkzCompass(A,CP)
				\tkzDrawPoints(A,CP) \tkzLabelPoints(A,B,C)
				\tkzMarkRightAngles(A,CP,B)
			\end{tikzpicture}
		\end{center}
\end{enumerate}
\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"

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