-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout_6000.tex
84 lines (71 loc) · 1.26 KB
/
layout_6000.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
\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}
{
Banadin,
Bedna_od_bananu,
Bedna_od_bananu_1,
Bily_vlk,
Cernobylsky_vagus,
Cernokneznik,
Doktor_Watson,
Dumpster_diver,
Fukusimska_posila,
Hra_nefer,
John_McLane,
Levak,
Mapa_bananove_plantaze,
Mynarova_zabijacka,
Nateraci,
Nocni_mury_pana_Hudopa,
Pneumatika,
Postak_snu,
Procitnuti,
Sennes,
SKWAT_tym,
Ukradena_vlajka,
Vagus_popelar,
Ve_znameni_lva}
\newcommand{\type}{6000}
\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}