Script makearchive pour dépot sur CTAN, suppression des CR-LF sur les fichiers metap...
[bclogo.git] / dev / latex / sources_MetaPost / bc-calendrier.mp
1 prologues:=3;
2 vardef showtext(expr origin)(expr angle)(expr string) =
3   draw string infont defaultfont scaled defaultscale
4     rotated angle shifted origin;
5 enddef;
6 outputtemplate:="%j.mps";
7 beginfig(1);
8 linecap := butt;
9 linejoin := mitered;
10 drawoptions (withcolor (1.000000,1.000000,1.000000));
11 linejoin := rounded;
12 fill (72.046898,703.862976)--(72.046898,720.054993)--(84.191399,720.054993)
13     --cycle;
14 drawoptions (withcolor (0.000000,0.000000,0.000000));
15 pickup pencircle scaled 0.199253bp;
16 linecap := rounded;
17 draw (72.046898,703.862976)--(72.046898,720.054993)--(84.191399,720.054993);
18 drawoptions (withcolor (1.000000,1.000000,1.000000));
19 pickup pencircle scaled 0.000000bp;
20 linecap := butt;
21 fill (72.335899,703.578003)--(72.335899,719.770020)--(84.476601,719.770020)
22     --cycle;
23 drawoptions (withcolor (0.502000,0.502000,0.502000));
24 pickup pencircle scaled 0.099626bp;
25 linecap := rounded;
26 draw (72.335899,703.578003)--(72.335899,719.770020)--(84.476601,719.770020);
27 drawoptions (withcolor (1.000000,1.000000,1.000000));
28 pickup pencircle scaled 0.000000bp;
29 linecap := butt;
30 fill (72.621101,703.293030)--(72.621101,719.484009)--(84.765602,719.484009)
31     --cycle;
32 drawoptions (withcolor (0.502000,0.502000,0.502000));
33 pickup pencircle scaled 0.099626bp;
34 linecap := rounded;
35 draw (72.621101,703.293030)--(72.621101,719.484009)--(84.765602,719.484009);
36 drawoptions (withcolor (1.000000,1.000000,1.000000));
37 pickup pencircle scaled 0.000000bp;
38 linecap := butt;
39 fill (72.906303,703.004028)--(72.906303,719.195007)--(85.050797,719.195007)
40     --cycle;
41 drawoptions (withcolor (0.502000,0.502000,0.502000));
42 pickup pencircle scaled 0.099626bp;
43 linecap := rounded;
44 draw (72.906303,703.004028)--(72.906303,719.195007)--(85.050797,719.195007);
45 drawoptions (withcolor (1.000000,1.000000,1.000000));
46 pickup pencircle scaled 0.000000bp;
47 linecap := butt;
48 fill (73.191399,702.718994)--(73.191399,718.909973)--(85.335899,718.909973)
49     --cycle;
50 drawoptions (withcolor (0.502000,0.502000,0.502000));
51 pickup pencircle scaled 0.099626bp;
52 linecap := rounded;
53 draw (73.191399,702.718994)--(73.191399,718.909973)--(85.335899,718.909973);
54 drawoptions (withcolor (1.000000,1.000000,1.000000));
55 pickup pencircle scaled 0.000000bp;
56 linecap := butt;
57 fill (73.480499,710.526978)--(73.480499,702.434021)--(85.625000,702.434021)
58     --(85.625000,718.625000)--(73.480499,718.625000)--cycle;
59 drawoptions (withcolor (0.000000,0.000000,0.000000));
60 pickup pencircle scaled 0.199253bp;
61 linecap := rounded;
62 draw (73.480499,710.526978)--(73.480499,702.434021)--(85.625000,702.434021)
63     --(85.625000,718.625000)--(73.480499,718.625000)--cycle;
64 drawoptions (withcolor (1.000000,1.000000,1.000000));
65 pickup pencircle scaled 0.000000bp;
66 linecap := butt;
67 fill (73.480499,718.625000)..controls (74.320297,716.151978) and (75.070297,705.668030)..(76.906303,704.676025)
68     --(76.906303,704.676025)--(89.050797,704.676025)--(89.050797,704.676025)
69     ..controls (87.214798,705.668030) and (86.460899,716.151978)..(85.625000,718.625000)
70     --cycle;
71 drawoptions (withcolor (0.000000,0.000000,0.000000));
72 pickup pencircle scaled 0.199253bp;
73 linecap := rounded;
74 draw (73.480499,718.625000)..controls (74.320297,716.151978) and (75.070297,705.668030)..(76.906303,704.676025)
75     --(76.906303,704.676025)--(89.050797,704.676025)--(89.050797,704.676025)
76     ..controls (87.214798,705.668030) and (86.460899,716.151978)..(85.625000,718.625000);
77 drawoptions (withcolor (1.000000,1.000000,1.000000));
78 pickup pencircle scaled 0.000000bp;
79 linecap := butt;
80 fill (72.046898,703.862976)--(73.480499,702.434021)--cycle;
81 drawoptions (withcolor (0.000000,0.000000,0.000000));
82 pickup pencircle scaled 0.199253bp;
83 linecap := rounded;
84 draw (72.046898,703.862976)--(73.480499,702.434021);
85 drawoptions (withcolor (1.000000,1.000000,1.000000));
86 pickup pencircle scaled 0.000000bp;
87 linecap := butt;
88 fill (72.046898,720.054993)--(73.480499,718.625000)--cycle;
89 drawoptions (withcolor (0.000000,0.000000,0.000000));
90 pickup pencircle scaled 0.199253bp;
91 linecap := rounded;
92 draw (72.046898,720.054993)--(73.480499,718.625000);
93 drawoptions (withcolor (1.000000,1.000000,1.000000));
94 pickup pencircle scaled 0.000000bp;
95 linecap := butt;
96 fill (84.191399,720.054993)--(85.625000,718.625000)--cycle;
97 drawoptions (withcolor (0.000000,0.000000,0.000000));
98 pickup pencircle scaled 0.199253bp;
99 linecap := rounded;
100 draw (84.191399,720.054993)--(85.625000,718.625000);
101 drawoptions (withcolor (1.000000,1.000000,1.000000));
102 pickup pencircle scaled 0.000000bp;
103 linecap := butt;
104 fill (76.906303,704.676025)--(89.050797,704.676025)--cycle;
105 drawoptions (withcolor (0.000000,0.000000,0.000000));
106 pickup pencircle scaled 0.199253bp;
107 linecap := rounded;
108 draw (76.906303,704.676025)--(89.050797,704.676025);
109 defaultfont := "cmtt10";
110 defaultscale := 9.962640/fontsize defaultfont;
111 showtext ((77.720802,711.338013), 0.000000, "1");
112 defaultfont := "cmtt8";
113 defaultscale := 5.977580/fontsize defaultfont;
114 showtext ((76.962997,705.482971), 0.000000, "JAN");
115 r:=17pt/(xpart(urcorner(currentpicture))-xpart(ulcorner(currentpicture)));
116 picture pic;
117 pic:=currentpicture;
118 currentpicture:=nullpicture;
119 drawoptions();
120 draw pic scaled(r);
121 z0=.5*urcorner(currentpicture)+.5*ulcorner(currentpicture);
122 z1=.5*lrcorner(currentpicture)+.5*llcorner(currentpicture);
123 draw (z0+(10.5,2));
124 draw (z1-(10.5,2));
125 clip currentpicture to ((z0-(8.5pt,0))--(z0+(8.5pt,0))--(z1+(8.5pt,-1pt))--(z1-(8.5pt,1pt))--cycle);
126 endfig;
127 end

Licence Creative Commons Les fichiers de Syracuse sont mis à disposition (sauf mention contraire) selon les termes de la
Licence Creative Commons Attribution - Pas d’Utilisation Commerciale - Partage dans les Mêmes Conditions 4.0 International.