Rev 13383 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 13383 | Rev 14667 | ||
|---|---|---|---|
| Line 7... | Line 7... | ||
| 7 | :\author{$wims_firstname,$wims_lastname} |
7 | :\author{$wims_firstname,$wims_lastname} |
| 8 | :\email{$wims_email} |
8 | :\email{$wims_email} |
| 9 | :\credits{} |
9 | :\credits{} |
| 10 | :$name_instruction |
10 | :$name_instruction |
| 11 | \text{instruction=$name_instruction01} |
11 | \text{instruction=$name_instruction01} |
| 12 | :$name_qu_cnt (<=10) |
12 | :$name_qu_cnt (<=10) |
| 13 | \integer{N=4} |
13 | \integer{N=4} |
| 14 | :$name_labelsize |
14 | :$name_labelsize |
| 15 | \text{eti=110,24} |
15 | \text{eti=110,24} |
| 16 | :$name_image |
16 | :$name_image |
| 17 | \text{image=$wims_deposit} |
17 | \text{image=$wims_deposit} |
| 18 | :$name_distractor |
18 | :$name_distractor |
| 19 | \integer{n=3} |
19 | \integer{n=3} |
| 20 | :$name_help_format1 |
20 | :$name_help_format1 |
| 21 | \text{format=dragfill} |
21 | \text{format=dragfill} |
| 22 | - | ||
| 23 | :$name_data |
22 | :$name_data |
| 24 | $name_help_data |
23 | $name_help_data |
| 25 | \matrix{data=$data} |
24 | \matrix{data=$data} |
| - | 25 | :$name_intrus |
|
| - | 26 | \text{intrus=} |
|
| - | 27 | :$name_nbintrus |
|
| - | 28 | \text{nbintrus=0} |
|
| 26 | 29 | ||
| 27 | :%%%%%%%%%%%%%%%%%%%%%%%% |
30 | :%%%%%%%%%%%%%%%%%%%%%%%% |
| 28 | \text{data=wims(embraced randitem \data)} |
31 | \text{data=wims(embraced randitem \data)} |
| 29 | \text{size= \data[1;]} |
32 | \text{size= \data[1;]} |
| 30 | \text{coord = \data[2..-1;]} |
33 | \text{coord = \data[2..-1;]} |
| 31 | \integer{N1=rows(\coord)} |
34 | \integer{N1=rows(\coord)} |
| 32 | \matrix{coord=\coord} |
35 | \matrix{coord=\coord} |
| - | 36 | \integer{intruscnt=items(\intrus)} |
|
| - | 37 | \text{intrus=shuffle(\intrus)} |
|
| - | 38 | \integer{nbintrus=min(\nbintrus,\intruscnt)} |
|
| - | 39 | \text{intrus2=\intrus[1..\nbintrus]} |
|
| 33 | \integer{N=min(\N,\N1)} |
40 | \integer{N=min(\N,\N1)} |
| 34 | \text{etix=\eti[1]} |
41 | \text{etix=\eti[1]} |
| 35 | \text{etiy=\eti[2]} |
42 | \text{etiy=\eti[2]} |
| 36 | \text{position=} |
43 | \text{position=} |
| 37 | \text{V = shuffle(\N1)} |
44 | \text{V = shuffle(\N1)} |
| Line 44... | Line 51... | ||
| 44 | \text{co=\co[1,2]} |
51 | \text{co=\co[1,2]} |
| 45 | \text{co=pari([\co] + [-\etix/2,-\etiy/2])} |
52 | \text{co=pari([\co] + [-\etix/2,-\etiy/2])} |
| 46 | \text{position=\position |
53 | \text{position=\position |
| 47 | r \k,\co[1] x \co[2]} |
54 | r \k,\co[1] x \co[2]} |
| 48 | } |
55 | } |
| 49 | \text{ |
56 | \text{figure=draw(\size |
| 50 | \dessinprelim)} |
57 | \dessinprelim)} |
| 51 | 58 | ||
| 52 | \text{liste=\M |
59 | \text{liste=\M>0? \coord[\V[\N+1..\N+\M];1]:} |
| - | 60 | \text{liste=\liste,\intrus2} |
|
| 53 | \text{Step=wims(makelist r x for x=1 to \N)} |
61 | \text{Step=wims(makelist r x for x=1 to \N)} |
| 54 | \steps{\Step} |
62 | \steps{\Step} |
| 55 | \statement{ |
63 | \statement{ |
| 56 | \instruction |
64 | \instruction |
| 57 | <div class="wimscenter"> |
65 | <div class="wimscenter"> |