-
Notifications
You must be signed in to change notification settings - Fork 0
/
kody.tex
62 lines (44 loc) · 1.28 KB
/
kody.tex
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
\documentclass[a4paper, 11pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[slovak]{babel}
\usepackage{amssymb} % matematické symboly
\usepackage{amsmath} % matematické prostredia
\usepackage{graphicx} % obrázky
\usepackage{wrapfig} % wrap obrázkov
\usepackage{tikz} % tikz obrázky
\usepackage{calc} % tikz pocitanie
\usetikzlibrary{positioning} % tikz kreslenie
\usepackage[noshellescape,latex,clean=mp]{gmp} % metapost obrázky
\usepackage{siunitx}
\usepackage[shortlabels]{enumitem}
\setlist[enumerate]{nosep}
\setlist[itemize]{nosep}
\parskip=0pt
\parindent=0pt
\newcount\timy
\timy=57
%--------------------------- Makrá ----------------------------%
\input{makra-kody.tex}
\begin{document}
%-------------------------- Zadania --------------------------%
\newcount\p
\newcount\u
\newcount\t
\t=100
\u=1
\loop
\p=\the\t
{\loop
{\loop
\input{zadania/zadanie\the\u.tex}
\advance\p by 1
\ifnum\p<\numexpr\t+4
\repeat}
\advance\u by 1
\ifnum\u<49
\repeat}
\advance\t by 4
\ifnum\t<\numexpr\timy+100
\repeat
\end{document}