-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.tex
160 lines (136 loc) · 3.96 KB
/
layout.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
% Copyright (c) 2002 Software in the Public Interest, Inc.
%
% This program is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; version 2 dated June, 1991.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program; if not, write to the Free Software
% Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
%% Layout for a Debian Flyer
%% By Jens Schmalzing <[email protected]> and
%% Michael Banck <[email protected]>
% some definitions, for brevity
\setlength{\Separation}{.02\textwidth}
\def\Itemizesymbol{\item[\textcolor{debianred}{$\blacktriangleright$}]}
\def\Descriptionsymbol{\item[\hspace{-\Separation}\textcolor{debianred}{$\blacksquare$}\hspace{.5\Separation}}
\definecolor{debianred}{rgb}{0.843137,0.027451,0.317647}
\def\Sponsor{%
\vspace*{\stretch{1}}
\vspace*{-14mm}
\hbox to\textwidth{%
\leavevmode\hspace{\Separation}%
\parbox{0.44\textwidth}{\raggedright
\MadeWith
}
\parbox{0.28\textwidth}{\raggedleft
\SponsoredBy\
\expandafter\boxurl\SponsorURL
}
\hspace*{0.5\Separation}\null
\lower8.5pt\hbox{\includegraphics[width=0.25\textwidth, height=0.85cm, keepaspectratio=true]{\SponsorLogo}}
}
\vspace*{1mm}
}
\def\SponsorDonations{%
\vspace*{\stretch{1}}
\vspace*{-14mm}
\hbox to\textwidth{%
\leavevmode\hspace{\Separation}%
\parbox{0.42\textwidth}{\raggedright
\MadeWith
}
\hspace*{0.02\textwidth}\null
\parbox{0.53\textwidth}{\raggedleft
\SponsoredBy
}
}
\vspace*{1mm}
}
\raggedleft
\def\DownloadLinkQRCode{%
\hspace*{0.2\Separation}\null
\lower8.5pt\hbox{\includegraphics[keepaspectratio=true]{\DownloadDebian}}
}
% a tiny minipage for the background swirl
\begin{minipage}{.01\textwidth}
%\MyRCS
\includegraphics[width=100.\textwidth]{swirl}
\end{minipage}
%
\hfill
%
% another minipage for everything else
\begin{minipage}{.98\textwidth}
%
% some rules around the text
\hspace{-\Separation}%
\smash{\rule[-\textheight]{1pt}{\textheight}}%
\hspace{-1pt}%
\rule{1.04\textwidth}{1pt}%
% Beware, below is a hack (tm). It might be better to use a
% \begin{picture}(0,0) construct to draw the lines around the text
\hbox to0pt{\raise1pt\vbox to0pt{\rule{1pt}{\textheight}%
\hskip-1.04\textwidth\rule[-1pt]{1.04\textwidth}{1pt}\rule[-1pt]{0.4pt}{1pt}%
\vss}\hss}%
\vspace*{\Separation}
%
\begin{minipage}{.39\textwidth}
\resizebox*{\textwidth}{!}{\colorbox{debianred}{\color{white}\bf \WhatIsDebianCaption}}
\vspace*{\Separation}
\WhatIsDebian
\end{minipage}
%
\hfill
%
\begin{minipage}{.59\textwidth}
\includegraphics[width=\textwidth]{debian} \\[1ex]
\resizebox*{\textwidth}{!}{\bf \Universal}
\end{minipage}
\vspace*{\Separation}
\hspace{-\Separation}%
\rule{1.04\textwidth}{1pt}
\vspace*{\Separation}
\begin{minipage}[t]{.44\textwidth}
%
\begin{description}\itemsep0cm
\Descriptionsymbol\FreedomCaption] \Freedom
\Descriptionsymbol\ContinuityCaption] \Continuity
\Descriptionsymbol\SecurityCaption] \Security
\Descriptionsymbol\QualityCaption] \Quality
%\Descriptionsymbol\DownloadCaption] \DownloadDebian \linebreak \DownloadLinkQRCode
\end{description}
%
\end{minipage}
%
\hfill
%
\begin{minipage}[t]{.54\textwidth}
%
\colorbox{debianred}{\textcolor{white}{\bf\Large \IncludedCaption}}
\vspace*{\Separation}
\Included
\begin{itemize}\itemsep0cm
\Itemizesymbol\Utilities
\Itemizesymbol\Networking
\Itemizesymbol\Programming
\Itemizesymbol\Windowsystem
\Itemizesymbol\Documents
\Itemizesymbol\Graphics
\Itemizesymbol\Office
\Itemizesymbol\Databases
\end{itemize}
%
\colorbox{debianred}{\textcolor{white}{\bf\Large \KnowMoreCaption}}
\vspace*{\Separation}
\KnowMore
\Install
\end{minipage}
\end{minipage}
%\Sponsor
\SponsorDonations