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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
|
%%
%% Ein Beispiel der DANTE-Edition
%%
%%
%% Copyright (C) 2010 Herbert Voss
%%
%% It may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%%
%% See http://www.latex-project.org/lppl.txt for details.
%%
%%
%% ====
% Show page(s) 1
%%
\documentclass[]{exaarticle}
\pagestyle{empty}
\setlength\textwidth{352.81416pt}
\setlength\parindent{0pt}
\StartShownPreambleCommands
\usepackage{pstricks,pst-fill,graphicx}
\definecolor{case1}{cmyk}{0.102,0.176,0.204,0}
\definecolor{case2}{cmyk}{0.3413,0.592,0.3417,0}
\definecolor{case3}{cmyk}{0.341,0.475,0.42,0}
\definecolor{case4}{cmyk}{0.0275,0.043,0.047,0}
\def\SaintMarc{{%
\psset{unit=0.5}
\pspicture(2,2)
\pspolygon*[linecolor=case1](0,0)(1,1)(0,2)
\pspolygon*[linecolor=case2](0,2)(1,1)(2,2)
\pspolygon*[linecolor=case3](2,0)(1,1)(2,2)
\pspolygon*[linecolor=case4](0,0)(1,1)(2,0)
\endpspicture%
}}
%
\def\CyanBouteille{0.3}
\def\MagentaBouteille{0}
\def\YellowBouteille{0.5}
\def\KBouteille{0.15}
\def\KCulBouteille{0.30}
\def\MagentaVinInBouteille{0.9}
\definecolor{bouteille}{cmyk}{\CyanBouteille,\MagentaBouteille,\YellowBouteille,\KBouteille}
\def\bouteille{%
\psline(-0.75,0)(0.75,0)
\psarc(0.75,0.5){0.5}{-90}{0}
\psline(1.25,0.5)(1.25,4)
\psarc(-0.75,4){2}{0}{30}
\psarcn(5.31218,7.5){5}{210}{180}
\psline(0.31218,7.5)(0.31218,8.5)(-0.31218,8.5)(-0.31218,7.5)
\psarcn(-5.31218,7.5){5}{0}{-30}
\psarc(0.75,4){2}{150}{180}
\psline(-1.25,4)(-1.25,0.5)
\psarc(-0.75,0.5){0.5}{180}{270}}
%
\def\CulBouteille{%
\pscurve(0.75,0)(0,0.2)(-0.75,0)}
\definecolor{CulBouteille}{cmyk}{\CyanBouteille,\MagentaBouteille,\YellowBouteille,\KCulBouteille}
%
\def\FlaqueVin{%
\pscurve(0,8.5)(-0.3,9.5)(-1.5,10)(-1,11)(-1.2,12)(0,13)
(0.5,14)(1,13)(2,11.5)(2.5,10)(1,9.5)(0.1,8.7)(0,8.5)}
\definecolor{FlaqueVin}{cmyk}{0,0.9,0.1,0}
\makeatletter
% routine de Donald Arseneau
% dans RANDOM.TEX v.1
\def\pointless{\expandafter\PoinTless\the}
{\catcode`p=12 \catcode`t=12
\gdef\PoinTless#1pt{#1}}
%
\pst@dimc=0.102 pt
\advance\pst@dimc by \CyanBouteille pt
\ifdim\pst@dimc >1pt \pst@dimc=1pt \fi
\pst@dimd=0.176 pt
\advance\pst@dimd by \MagentaBouteille pt
\ifdim\pst@dimd >1pt \pst@dimd=1pt \fi
\pst@dimg=0.204 pt
\advance\pst@dimg by \YellowBouteille pt
\ifdim\pst@dimg >1pt \pst@dimg=1pt \fi
\definecolor{case11}{cmyk}{\pointless\pst@dimc,\pointless\pst@dimd,\pointless\pst@dimg,\KBouteille}
\definecolor{case11Cul}{cmyk}{\pointless\pst@dimc,\pointless\pst@dimd,\pointless\pst@dimg,\KCulBouteille}
\definecolor{case11Vin}{cmyk}{\pointless\pst@dimc,\MagentaVinInBouteille,\pointless\pst@dimg,\KBouteille}
\pst@dimc=0.3413 pt
\advance\pst@dimc by \CyanBouteille pt
\ifdim\pst@dimc >1pt \pst@dimc=1pt \fi
\pst@dimd=0.592 pt
\advance\pst@dimd by \MagentaBouteille pt
\ifdim\pst@dimd >1pt \pst@dimd=1pt \fi
\pst@dimg=0.3417 pt
\advance\pst@dimg by \YellowBouteille pt
\ifdim\pst@dimg >1pt \pst@dimg=1pt \fi
\definecolor{case22}{cmyk}{\pointless\pst@dimc,\pointless\pst@dimd,\pointless\pst@dimg,\KBouteille}
\definecolor{case22Cul}{cmyk}{\pointless\pst@dimc,\pointless\pst@dimd,\pointless\pst@dimg,\KCulBouteille}
\definecolor{case22Vin}{cmyk}{\pointless\pst@dimc,\MagentaVinInBouteille,\pointless\pst@dimg,\KBouteille}
\pst@dimc=0.341 pt
\advance\pst@dimc by \CyanBouteille pt
\pst@dimd=0.475 pt
\advance\pst@dimd by \MagentaBouteille pt
\ifdim\pst@dimd >1pt \pst@dimd=1pt \fi
\pst@dimg=0.42 pt
\advance\pst@dimg by \YellowBouteille pt
\ifdim\pst@dimg >1pt \pst@dimg=1pt \fi
\definecolor{case33}{cmyk}{\pointless\pst@dimc,\pointless\pst@dimd,\pointless\pst@dimg,\KBouteille}
\definecolor{case33Cul}{cmyk}{\pointless\pst@dimc,\pointless\pst@dimd,\pointless\pst@dimg,\KCulBouteille}
\definecolor{case33Vin}{cmyk}{\pointless\pst@dimc,\MagentaVinInBouteille,\pointless\pst@dimg,\KBouteille}
\pst@dimc=0.043 pt
\advance\pst@dimc by \CyanBouteille pt
\ifdim\pst@dimc >1pt \pst@dimc=1pt \fi
\pst@dimd=0.043 pt
\advance\pst@dimd by \MagentaBouteille pt
\pst@dimg=0.047 pt
\advance\pst@dimg by \YellowBouteille pt
\ifdim\pst@dimg >1pt \pst@dimg=1pt \fi
\definecolor{case44}{cmyk}{\pointless\pst@dimc,\pointless\pst@dimd,\pointless\pst@dimg,\KBouteille}
\definecolor{case44Cul}{cmyk}{\pointless\pst@dimc,\pointless\pst@dimd,\pointless\pst@dimg,\KCulBouteille}
\definecolor{case44Vin}{cmyk}{\pointless\pst@dimc,\MagentaVinInBouteille,\pointless\pst@dimg,\KBouteille}
% l'ombre de la bouteille
\pst@dimc=0.102 pt
\advance\pst@dimc by 0.15 pt
\ifdim\pst@dimc >1pt \pst@dimc=1pt \fi
\pst@dimd=0.176 pt
\advance\pst@dimd by 0.15 pt
\ifdim\pst@dimd >1pt \pst@dimd=1pt \fi
\pst@dimg=0.204 pt
\advance\pst@dimg by 0.15 pt
\ifdim\pst@dimg >1pt \pst@dimg=1pt \fi
\definecolor{shadow11}{cmyk}{\pointless\pst@dimc,\pointless\pst@dimd,\pointless\pst@dimg,\KBouteille}
\pst@dimc=0.3413 pt
\advance\pst@dimc by 0.15 pt
\ifdim\pst@dimc >1pt \pst@dimc=1pt \fi
\pst@dimd=0.592 pt
\advance\pst@dimd by 0.15 pt
\ifdim\pst@dimd >1pt \pst@dimd=1pt \fi
\pst@dimg=0.3417 pt
\advance\pst@dimg by 0.15 pt
\ifdim\pst@dimg >1pt \pst@dimg=1pt \fi
\definecolor{shadow22}{cmyk}{\pointless\pst@dimc,\pointless\pst@dimd,\pointless\pst@dimg,\KBouteille}
\pst@dimc=0.341 pt
\advance\pst@dimc by 0.15 pt
\pst@dimd=0.475 pt
\advance\pst@dimd by 0.15 pt
\ifdim\pst@dimd >1pt \pst@dimd=1pt \fi
\pst@dimg=0.42 pt
\advance\pst@dimg by 0.15 pt
\ifdim\pst@dimg >1pt \pst@dimg=1pt \fi
\definecolor{shadow33}{cmyk}{\pointless\pst@dimc,\pointless\pst@dimd,\pointless\pst@dimg,\KBouteille}
\pst@dimc=0.043 pt
\advance\pst@dimc by 0.15 pt
\ifdim\pst@dimc >1pt \pst@dimc=1pt \fi
\pst@dimd=0.043 pt
\advance\pst@dimd by 0.15 pt
\pst@dimg=0.047 pt
\advance\pst@dimg by 0.15 pt
\ifdim\pst@dimg >1pt \pst@dimg=1pt \fi
\definecolor{shadow44}{cmyk}{\pointless\pst@dimc,\pointless\pst@dimd,\pointless\pst@dimg,\KBouteille}
%
\def\SaintMarcBouteille{{%
\psset{unit=0.5}
\pspicture(2,2)
\pspolygon*[linecolor=case11](0,0)(1,1)(0,2)
\pspolygon*[linecolor=case22](0,2)(1,1)(2,2)
\pspolygon*[linecolor=case33](2,0)(1,1)(2,2)
\pspolygon*[linecolor=case44](0,0)(1,1)(2,0)
\endpspicture}}
%
\def\ShadowBouteille{{%
\psset{unit=0.5}
\pspicture(2,2)
\pspolygon*[linecolor=shadow11](0,0)(1,1)(0,2)
\pspolygon*[linecolor=shadow22](0,2)(1,1)(2,2)
\pspolygon*[linecolor=shadow33](2,0)(1,1)(2,2)
\pspolygon*[linecolor=shadow44](0,0)(1,1)(2,0)
\endpspicture}}
%
\def\VinInBouteille{{%
\psline(0.75,0)(0.75,4)
\pscurve(0.75,4)(0,5.5)(-0.75,4)
\psline(-0.75,4)(-0.75,0)}}
\definecolor{VinBouteille}{cmyk}{\CyanBouteille,\MagentaVinInBouteille,\YellowBouteille,\KBouteille}
%
\def\SaintMarcVinInBouteille{{%
\psset{unit=0.5}
\pspicture(2,2)
\pspolygon*[linecolor=case11Vin](0,0)(1,1)(0,2)
\pspolygon*[linecolor=case22Vin](0,2)(1,1)(2,2)
\pspolygon*[linecolor=case33Vin](2,0)(1,1)(2,2)
\pspolygon*[linecolor=case44Vin](0,0)(1,1)(2,0)
\endpspicture}}
\definecolor{VinBouteille}{cmyk}{\CyanBouteille,\MagentaVinInBouteille,\YellowBouteille,\KBouteille}
\def\SaintMarcCulBouteille{{%
\psset{unit=0.5}
\pspicture(2,2)
\pspolygon*[linecolor=case11Cul](0,0)(1,1)(0,2)
\pspolygon*[linecolor=case22Cul](0,2)(1,1)(2,2)
\pspolygon*[linecolor=case33Cul](2,0)(1,1)(2,2)
\pspolygon*[linecolor=case44Cul](0,0)(1,1)(2,0)
\endpspicture}}
\pst@dimd=0.176 pt
\advance\pst@dimd by 0.9 pt
\ifdim\pst@dimd >1pt \pst@dimd=1pt \fi
\pst@dimg=0.204 pt
\advance\pst@dimg by 0.1 pt
\ifdim\pst@dimg >1pt \pst@dimg=1pt \fi
\definecolor{case111}{cmyk}{0.102,\pointless\pst@dimd,\pointless\pst@dimg,0}
\pst@dimd=0.592 pt
\advance\pst@dimd by 0.9 pt
\ifdim\pst@dimd >1pt \pst@dimd=1pt \fi
\pst@dimg=0.3417 pt
\advance\pst@dimg by 0.1 pt
\ifdim\pst@dimg >1pt \pst@dimg=1pt \fi
\definecolor{case222}{cmyk}{0.3413,\pointless\pst@dimd,\pointless\pst@dimg,0}
\pst@dimd=0.475 pt
\advance\pst@dimd by 0.9 pt
\ifdim\pst@dimd >1pt \pst@dimd=1pt \fi
\pst@dimg=0.42 pt
\advance\pst@dimg by 0.1 pt
\ifdim\pst@dimg >1pt \pst@dimg=1pt \fi
\definecolor{case333}{cmyk}{0.341,\pointless\pst@dimd,\pointless\pst@dimg,0}
\pst@dimd=0.043 pt
\advance\pst@dimd by 0.9 pt
\ifdim\pst@dimd >1pt \pst@dimd=1pt \fi
\pst@dimg=0.047 pt
\advance\pst@dimg by 0.1 pt
\ifdim\pst@dimg >1pt \pst@dimg=1pt \fi
\definecolor{case444}{cmyk}{0.043,\pointless\pst@dimd,\pointless\pst@dimg,0}
\makeatother
\def\SaintMarcVin{{%
\psset{unit=0.5}
\pspicture(2,2)
\pspolygon*[linecolor=case111](0,0)(1,1)(0,2)
\pspolygon*[linecolor=case222](0,2)(1,1)(2,2)
\pspolygon*[linecolor=case333](2,0)(1,1)(2,2)
\pspolygon*[linecolor=case444](0,0)(1,1)(2,0)
\endpspicture}}
\def\ImageShadow{%
\psboxfill{\SaintMarc}
\psframe[linestyle=none,fillstyle=boxfill](16,14)
\psclip{\rput{-125}(1.9,9.9){\pscustom[linestyle=none]{\bouteille}}}
\psboxfill{\ShadowBouteille}
\psframe[linestyle=none,fillstyle=boxfill](16,14)
\endpsclip}
\def\ImageOne{%
\psboxfill{\SaintMarc}
\psclip{\rput{-120}(2,10){\pscustom[linestyle=none]{\bouteille}}}
\psboxfill{\SaintMarcBouteille}
\psframe[linestyle=none,fillstyle=boxfill](16,14)
\endpsclip}
\def\ImageFour{%
\psclip{\rput{-120}(2,10){\pscustom[linestyle=none]{\CulBouteille}}}
\psboxfill{\SaintMarcCulBouteille}
\psframe[linestyle=none,fillstyle=boxfill](16,14)
\endpsclip}
\def\ImageThree{%
\psclip{\rput{-120}(2,10){\pscustom[linestyle=none]{\VinInBouteille}}}
\psboxfill{\SaintMarcVinInBouteille}
\psframe[linestyle=none,fillstyle=boxfill](16,14)
\endpsclip}
\definecolor{DarkGreen}{cmyk}{1,0,1,0.6}
\StopShownPreambleCommands
\begin{document}
\resizebox{\textwidth}{!}{%
\begin{pspicture}*(0,3)(16,13.5)
\ImageShadow
\ImageOne
\ImageThree
\ImageFour
\rput{-120}(2,10){\psline[linecolor=white,linearc=0.5cm](0.7,1)(0.7,4.5)(0.2,6)(0.1,7)%
\psline[linecolor=white](0.2,8.3)(-0.2,8.3)
\psset{linecolor=DarkGreen}\bouteille\CulBouteille}
\end{pspicture}%
}
\end{document}
|