-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout_4000.tex
84 lines (71 loc) · 1.3 KB
/
layout_4000.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}
{
Bananova_laborator,
Bila_kralovna,
Cerna_sila,
Drin_japonsky,
Ekvadorsky_farmar,
Hodnej_polda,
Horka_davka,
Javsky_farmar,
Jedlik_Vetrniku,
Magicka_formule,
Mapa_bananoveho_souostrovi,
Modra_sila,
Nadrz_plna_leklych_bananu,
Praci_prasek_Arijec,
Ruda_sila,
Skliba,
Spekbrasnak,
Stado_falesnych_prasat,
Stylar,
Taboriste,
Thajsky_farmar,
Tradice_z_krabice,
Vetrna_elektrarna,
Vlajka_Francie}
\newcommand{\type}{4000}
\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}