-
Notifications
You must be signed in to change notification settings - Fork 0
/
kartei.a6printstylerotation.tex
89 lines (89 loc) · 2.83 KB
/
kartei.a6printstylerotation.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
%
% * ----------------------------------------------------------------
% * "THE BEER-WARE LICENSE" (Revision 42/023):
% * Ronny Bergmann <[email protected]> wrote this file. As long as
% * you retain this notice you can do whatever you want with this
% * stuff. If we meet some day and you think this stuff is worth it,
% * you can buy me a beer or a coffee in return.
% * ----------------------------------------------------------------
%
%
% Kartei Source Code of A6 page style definition with rotation of rear
% side.
%
% Last Change: Kartei 1.9, 2012/01/04
%
\pgfpagesdeclarelayout{cardprintA6rotation}
{%
\edef\pgfpageoptionheight{\the\paperheight}%
\edef\pgfpageoptionwidth{\the\paperwidth}%
\edef\pgfpageoptionborder{1pt}%
}
{%
\pgfpagesphysicalpageoptions{%
logical pages=8,%
physical height=\pgfpageoptionheight,%
physical width=\pgfpageoptionwidth,%
}%
\pgfpageslogicalpageoptions{1} % 1st Card
{%
border shrink=\pgfpageoptionborder,%
original width=.5\pgfpageoptionheight,%
original height=.5\pgfpageoptionwidth,%
center=\pgfpoint{0\pgfphysicalwidth}{\pgfphysicalheight}%
}%
\pgfpageslogicalpageoptions{3} % 2nd Card
{%
border shrink=\pgfpageoptionborder,%
original width=.5\pgfpageoptionheight,%
original height=.5\pgfpageoptionwidth,%
center=\pgfpoint{.5\pgfphysicalwidth}{\pgfphysicalheight}%
}%
\pgfpageslogicalpageoptions{5} % 3rd Card
{%
border shrink=\pgfpageoptionborder,%
original width=.5\pgfpageoptionheight,%
original height=.5\pgfpageoptionwidth,%
center=\pgfpoint{0\pgfphysicalwidth}{.5\pgfphysicalheight}%
}%
\pgfpageslogicalpageoptions{7} % 4th Card
{%
border shrink=\pgfpageoptionborder,%
original width=.5\pgfpageoptionheight,%
original height=.5\pgfpageoptionwidth,%
center=\pgfpoint{.5\pgfphysicalwidth}{.5\pgfphysicalheight}%
}%
%Rearsides
\pgfpageslogicalpageoptions{2} % 1st Card
{%
border shrink=\pgfpageoptionborder,%
original width=.5\pgfpageoptionheight,%
original height=.5\pgfpageoptionwidth,%
rotation=180,%
center=\pgfpoint{\pgfphysicalwidth}{.5\pgfphysicalheight},%
}%
\pgfpageslogicalpageoptions{4} % 2nd Card
{%
border shrink=\pgfpageoptionborder,%
original width=.5\pgfpageoptionheight,%
original height=.5\pgfpageoptionwidth,%
rotation=180,%
center=\pgfpoint{.5\pgfphysicalwidth}{.5\pgfphysicalheight},%
}%
\pgfpageslogicalpageoptions{6} % 3rd Card
{%
border shrink=\pgfpageoptionborder,%
original width=.5\pgfpageoptionheight,%
original height=.5\pgfpageoptionwidth,%
rotation=180,%
center=\pgfpoint{\pgfphysicalwidth}{0\pgfphysicalheight},%
}%
\pgfpageslogicalpageoptions{8} % 4th Card
{%
border shrink=\pgfpageoptionborder,%
original width=.5\pgfpageoptionheight,%
original height=.5\pgfpageoptionwidth,%
rotation=180,%
center=\pgfpoint{.5\pgfphysicalwidth}{0\pgfphysicalheight},%
}%
}%