Rev 13477 | Rev 13714 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13477 | Rev 13481 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | domino, a game} |
36 | domino, a game} |
37 | 37 | ||
38 | :Second word list |
38 | :Second word list |
39 | \text{data2=child |
39 | \text{data2=child |
40 | mother |
40 | mother |
41 |
|
41 | father} |
42 | 42 | ||
43 | :Third word list |
43 | :Third word list |
44 | \text{data3=house |
44 | \text{data3=house |
45 | building |
45 | building |
46 | villa |
46 | villa |
Line 52... | Line 52... | ||
52 | 52 | ||
53 | :Fifth word list |
53 | :Fifth word list |
54 | \text{data5=} |
54 | \text{data5=} |
55 | 55 | ||
56 | :%%%%%%%%%%%%%% Nothing to modify until statement %%%%%%%%%%%%%%%% |
56 | :%%%%%%%%%%%%%% Nothing to modify until statement %%%%%%%%%%%%%%%% |
- | 57 | \css{<style type="text/css"> |
|
- | 58 | .word_jumble{ |
|
- | 59 | font-size:large; |
|
- | 60 | padding:6px; |
|
- | 61 | margin-left:10px; |
|
- | 62 | border: 1px solid #555; |
|
- | 63 | }</style>} |
|
- | 64 | ||
57 | \matrix{data1=\data1} |
65 | \matrix{data1=\data1} |
58 | \text{mot1=wims(nonempty items \data1[;1])} |
66 | \text{mot1=wims(nonempty items \data1[;1])} |
59 | \text{mot1=items(\mot1)>=2 ? shuffle(\mot1)} |
67 | \text{mot1=items(\mot1)>=2 ? shuffle(\mot1)} |
60 | \text{mot1=\mot1[1]} |
68 | \text{mot1=\mot1[1]} |
61 | \text{indication1=wims(select \data1 where column 1 issametext \mot1)} |
69 | \text{indication1=wims(select \data1 where column 1 issametext \mot1)} |
Line 141... | Line 149... | ||
141 | \nextstep{\STEP} |
149 | \nextstep{\STEP} |
142 | 150 | ||
143 | ::You don't need to modify this in general. |
151 | ::You don't need to modify this in general. |
144 | 152 | ||
145 | \statement{ |
153 | \statement{ |
- | 154 | <div class="spacer"> |
|
146 | \for{a=1 to \step-1}{ |
155 | \for{a=1 to \step-1}{ |
147 | \if{\a <= \N}{ |
156 | \if{\a <= \N}{ |
- | 157 | <span class="word_jumble"> |
|
- | 158 | \Mot[\a;] |
|
148 |
|
159 | \if{ \indication[\a;] notsametext xxx }{ <em class="indication">(\indication[\a;])</em>} |
- | 160 | </span> |
|
- | 161 | } |
|
- | 162 | } |
|
- | 163 | </div> |
|
- | 164 | \if{\step <= \N}{ |
|
149 |
|
165 | <p class="instruction">\instruction</p> |
- | 166 | <div class="wimscenter"> |
|
- | 167 | \embed{r \step,50 x 50} |
|
150 | \if{ \indication[ |
168 | \if{ \indication[\step;] notsametext xxx }{ |
- | 169 | (<span class="indication">\indication[\step;]</span>) |
|
- | 170 | } |
|
- | 171 | </div> |
|
151 | } |
172 | } |
152 | } |
- | |
153 | \if{\step <= \N}{ |
- | |
154 | \instruction |
- | |
155 | <div class="wimscenter">\embed{r \step,50 x 50} |
- | |
156 | \if{ \indication[\step;] notsametext xxx }{ |
- | |
157 | (<span style="font-size:large;">\indication[\step;]</span>) } |
- | |
158 | </div> |
- | |
159 | } |
- | |
160 | } |
173 | } |
161 | 174 | ||
162 | \answer{}{\mot1}{type=dragfill}{option=nonstop} |
175 | \answer{}{\mot1}{type=dragfill}{option=nonstop} |
163 | \answer{}{\mot2}{type=dragfill}{option=nonstop} |
176 | \answer{}{\mot2}{type=dragfill}{option=nonstop} |
164 | \answer{}{\mot3}{type=dragfill}{option=nonstop} |
177 | \answer{}{\mot3}{type=dragfill}{option=nonstop} |