Subversion Repositories wimsdev

Rev

Rev 11544 | Rev 13715 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11544 Rev 13704
Line 2... Line 2...
2
textarea="data file"
2
textarea="data file"
3
 
3
 
4
:Dessiner une molécule en 2D
4
:Draw a molecule in 2D
5
 
5
 
6
On demande de dessiner une molécule dans une applet.
6
The learner is asked to draw a molecule.
7
<p>
-
 
8
Pour construire un exercice avec ce modèle, il suffit de donner le fichier
7
<p>To build an exercise with this model, just give the MDMol file of the molecule.</p>
9
de structure.
-
 
10
 
8
 
11
<p>
-
 
12
Auteurs du modèle : Bernadette Perrin-Riou <bpr@u-psud.fr>
9
<p class="wims_credits">Model author : Bernadette Perrin-Riou <bpr@u-psud.fr></p>
13
 
10
 
14
:%%%%%%%%%%%%%%%%%      ATTENTION      %%%%%%%%%%%%%%%%%%%%
11
:%%%%%%%%%%%%%%%%%      ATTENTION      %%%%%%%%%%%%%%%%%%%%
15
 
12
 
16
Remove the above header if you destroy the model tags! (The lines starting
13
Remove the above header if you destroy the model tags! (The lines starting
17
with a ':'.) Otherwise the exercise might not be taken back by Createxo.
14
with a ':'.) Otherwise the exercise might not be taken back by Createxo.
18
 
15
 
19
:%%%%%%%% Sample parameters to be redefined %%%%%%%%%%%%%%%%%
16
:%%%%%%%% Sample parameters to be redefined %%%%%%%%%%%%%%%%%
20
 
17
 
21
:\title{Dessiner une molécule}
18
:\title{Draw a molecule}
22
:\author{Bernadette, Perrin-Riou}
19
:\author{Bernadette, Perrin-Riou}
23
:\email{bpr@math.u-psud.fr}
20
:\email{bpr@math.u-psud.fr}
24
:\credits{}
21
:\credits{}
25
 
22
 
26
:Fichier MDMol
23
:MDMol File
27
\text{file=xxx
24
\text{file=xxx
28
JME 2006.05 Mon Jul 07 08:51:48 CEST 2008
25
JME 2006.05 Mon Jul 07 08:51:48 CEST 2008
29
 
26
 
30
  5  4  0  0  0  0  0  0  0  0999 V2000
27
  5  4  0  0  0  0  0  0  0  0999 V2000
31
    0.0000    1.4000    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
28
    0.0000    1.4000    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
Line 38... Line 35...
38
  3  5  1  0  0  0  0
35
  3  5  1  0  0  0  0
39
  4  5  1  0  0  0  0
36
  4  5  1  0  0  0  0
40
M  END
37
M  END
41
}
38
}
42
 
39
 
43
:La taille de l'applet, en pixels, largeur x hauteur.
40
:Applet size, in pixels, width x height.
44
\text{size1=300x300}
41
\text{size1=300x300}
45
 
42
 
46
:Texte avant l'applet
43
:Text before the applet
47
\text{pre=Dessiner la molécule de <b>Méthylbutane</b>}
44
\text{pre=Draw the <strong>methylbutane</strong> molecule}
48
 
45
 
49
:Options
46
:Options
50
\text{option=show_hydrogen=no show_carbon=yes}
47
\text{option=show_hydrogen=no show_carbon=yes}
51
 
48
 
52
:Texte après l'applet
49
:Text after the applet
53
\text{post=<i>Vérifiez que le zoom de votre navigateur est sur la taille normale.</i>}
50
\text{post=<i>Check that your browser's zoom is on the normal size.</i>}
54
 
51
 
55
:%%%%%%%%%%%%%% Nothing to modify until statement %%%%%%%%%%%%%%%%
52
:%%%%%%%%%%%%%% Nothing to modify until statement %%%%%%%%%%%%%%%%
56
 
53
 
57
\statement{\pre
54
\statement{<div class="pre">\pre</div>
58
<p class="wimscenter">
55
<div class="wimscenter">
59
\embed{reply 1, \size1
56
\embed{reply 1, \size1
60
atoms="\atoms" \option}
57
atoms="\atoms" \option}
61
</p>
58
</div>
62
\post
59
<div class="post">\post</div>
63
}
60
}
64
 
61
 
65
:%%%%%%%%%%%%% Nothing to modify after. %%%%%%%%%%%%%%%%%5
62
:%%%%%%%%%%%%% Nothing to modify after. %%%%%%%%%%%%%%%%%5
66
 
63
 
67
\answer{}{\file}{type=chemdraw}
64
\answer{}{\file}{type=chemdraw}