Rev 11375 | Rev 12172 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11375 | Rev 12171 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | textarea="data" |
2 | textarea="data" |
3 | 3 | ||
4 | : |
4 | :Trieu una etiqueta corresponent a la imatge (o al text que es presenta) |
5 |
|
5 | Tingueu present que aquest model només funcionarà bé si carregueu les imatges a wims. |
6 | <p> |
6 | <p> |
7 |
|
7 | Per construir un exercici amb aquest model, simplement escriu la llista d'imatges i |
8 |
|
8 | etiquetes corresponents |
9 | </p> |
9 | </p> |
10 | $image_help |
10 | $image_help |
11 | <p> |
11 | <p> |
12 |
|
12 | Autor del model: Bernadette Perrin-Riou <bpr@math.u-psud.fr> |
13 | </p> |
13 | </p> |
14 | :%%%%%%%%%%%%%%%%% ATTENTION %%%%%%%%%%%%%%%%%%%% |
14 | :%%%%%%%%%%%%%%%%% ATTENTION %%%%%%%%%%%%%%%%%%%% |
15 | 15 | ||
16 | Enlevez l'en-tête ci-dessus si vous détruisez les balises pour le modèle ! |
16 | Enlevez l'en-tête ci-dessus si vous détruisez les balises pour le modèle ! |
17 | (Ce sont les lignes qui commencent par un ':'.) |
17 | (Ce sont les lignes qui commencent par un ':'.) |
18 | Sinon l'exercice risque de ne pas pouvoir repasser sous Createxo. |
18 | Sinon l'exercice risque de ne pas pouvoir repasser sous Createxo. |
19 | 19 | ||
20 | :%%%%%%%% Paramètres d'exemples à redéfinir %%%%%%%%%%%%%%%%% |
20 | :%%%%%%%% Paramètres d'exemples à redéfinir %%%%%%%%%%%%%%%%% |
21 | 21 | ||
22 | 22 | ||
23 | :\title{ |
23 | :\title{Trobar l'etiqueta correcta} |
24 | :\author{Bernadette, Perrin-Riou} |
24 | :\author{Bernadette, Perrin-Riou} |
25 | :\email{bpr@math.u-psud.fr} |
25 | :\email{bpr@math.u-psud.fr} |
- | 26 | :\credits{} |
|
26 | : |
27 | :Enunciat |
27 | \text{ |
28 | \text{instruction=Feu clic a la paraula corresponent a la imatge. |
28 | ( |
29 | (L'exercici només funcionarà quan es carreguin les imatges |
29 |
|
30 | a l'exercici)} |
30 | 31 | ||
31 | : |
32 | :Dades |
32 | \text{data=amphitheatre.png,l'amphithéâtre |
33 | \text{data=amphitheatre.png,l'amphithéâtre |
33 | aqueduc.png, l'aqueduc |
34 | aqueduc.png, l'aqueduc |
34 | arcdetriomphe.png,l'arc de triomphe |
35 | arcdetriomphe.png,l'arc de triomphe |
35 | cirque.png, le cirque |
36 | cirque.png, le cirque |
36 | domus.png, la domus |
37 | domus.png, la domus |
37 | temple.png, le temple |
38 | temple.png, le temple |
38 | theatre.png, le théâtre |
39 | theatre.png, le théâtre |
39 | thermes.png, les thermes |
40 | thermes.png, les thermes |
40 | } |
41 | } |
41 | 42 | ||
42 | :Nombre de |
43 | :Nombre de disruptors |
43 | \integer{cntpertub=3} |
44 | \integer{cntpertub=3} |
44 | :La |
45 | :La mida vertical de les caixes en píxels |
45 | \text{sizev=40} |
46 | \text{sizev=40} |
46 | :La |
47 | :La mida horitzontal de les caixes en píxels |
47 | \text{sizeh=200} |
48 | \text{sizeh=200} |
48 | :%%%%%%%%%%%%% Maintenant l'énoncé en code html. %%%%%%%%%%%%%%%%%%%% |
49 | :%%%%%%%%%%%%% Maintenant l'énoncé en code html. %%%%%%%%%%%%%%%%%%%% |
49 | 50 | ||
50 | \text{mot = randrow(\data)} |
51 | \text{mot = randrow(\data)} |
51 | \text{image=\mot[1]} |
52 | \text{image=\mot[1]} |
Line 57... | Line 58... | ||
57 | \text{perturb=\perturb[1..\cntpertub]} |
58 | \text{perturb=\perturb[1..\cntpertub]} |
58 | 59 | ||
59 | 60 | ||
60 | \statement{ |
61 | \statement{ |
61 | \instruction |
62 | \instruction |
62 | <p |
63 | <p class="wimscenter"> |
63 | \if{\ext isitemof png,gif,jpg,jpeg}{ |
64 | \if{\ext isitemof png,gif,jpg,jpeg}{ |
64 | \img{\imagedir/\image} |
65 | \img{\imagedir/\image} |
65 | } |
66 | } |
66 | {\image}</p> |
67 | {\image}</p> |
67 | 68 | ||
68 | <p |
69 | <p class="wimscenter"> |
69 | \embed{r1,\sizeh x \sizev} |
70 | \embed{r1,\sizeh x \sizev} |
70 | </p> |
71 | </p> |
71 | } |
72 | } |
72 | \answer{}{\mot;\perturb}{type=clickfill} |
73 | \answer{}{\mot;\perturb}{type=clickfill} |