-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout_criminals.tex
101 lines (88 loc) · 1.58 KB
/
layout_criminals.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
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
\documentclass{article}
\usepackage{subfigure}
\usepackage{lipsum}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage{lscape}
\usepackage{pdfpages}
\usepackage{pgffor}
\usepackage[pass]{geometry}
\newgeometry{margin=0pt}
\usepackage[font=tiny,skip=0pt]{caption}
\extrafloats{1}
\begin{document}
\begin{landscape}
\newcommand*{\samples}
{
Brad_Brodak,
Breznakova_nocni_mura,
Cervi,
Danielle_diSiuccare,
Dick_OMyPrick,
Don_Panzani,
Freddy_Krueger,
Gamblerova_nocni_mura,
Karantena,
Kmotr,
Kromerizske_trvanlive_salamy,
Lobo,
Margherita_Mafian,
Najemny_vrah,
Narkobaron,
Narkozombie,
Nicic_enchantmentu,
Nocni_mura_kaderniku,
Nocni_mura_pradelen,
Nocni_mura_z_Elk_Street,
Nocni_mura_z_Shadow_Street,
Nocni_mura_z_Tepesvar_street,
Palac_nocnich_mur,
Pazelvova_manzelka,
Pazelv,
Prisera_s_takovejma_tesakama,
Profesor_Moriarty,
PVS,
Santova_nocni_mura,
Sila_pozitivniho_vagusismu,
Skunk_pruhovany,
Skurut-Hai,
Smazka,
Tlusta_Berta,
Tlustoch_Johny,
Usaty_torpedo,
Vetrnik_zla,
Vyberci,
Zakopy,
Zlej_polda,
Zlodejicek}
\newcommand{\type}{criminals}
\newcounter{cards_line}
\newcounter{cards_page}
\newcounter{copy}
\setcounter{cards_line}{3}
\setcounter{cards_page}{6}
\setcounter{copy}{0}
\centering
\tiny{\type}
\loop
\foreach \x in \samples
{
\includegraphics[scale=0.75]{cards/\type/\x.png}
%
\addtocounter{cards_line}{-1}
\addtocounter{cards_page}{-1}
\ifnum\value{cards_line} < 1
\setcounter{cards_line}{3}
\fi
%
\ifnum\value{cards_page} < 1
\clearpage
\tiny{\type}
\setcounter{cards_page}{6}
\fi
}
\addtocounter{copy}{1}
\ifnum\value{copy} < 3
\repeat
\end{landscape}
\end{document}