Subversion Repositories wimsdev

Rev

Rev 13715 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3194 bpr 1
type=chemistry
13715 obado 2
textarea="data file pre post"
3
iEdit="pre post"
3194 bpr 4
 
13704 obado 5
:Draw a molecule in 2D
3194 bpr 6
 
13704 obado 7
The learner is asked to draw a molecule.
8
<p>To build an exercise with this model, just give the MDMol file of the molecule.</p>
3194 bpr 9
 
15179 lemaire 10
<p class="wims_credits">Model author : <a href="mailto:bernadette.m.riou@orange.fr">Bernadette Perrin-Riou</a></p>
3194 bpr 11
 
12
:%%%%%%%%%%%%%%%%%      ATTENTION      %%%%%%%%%%%%%%%%%%%%
13
 
11544 obado 14
Remove the above header if you destroy the model tags! (The lines starting
15
with a ':'.) Otherwise the exercise might not be taken back by Createxo.
3194 bpr 16
 
11544 obado 17
:%%%%%%%% Sample parameters to be redefined %%%%%%%%%%%%%%%%%
3194 bpr 18
 
13704 obado 19
:\title{Draw a molecule}
5147 bpr 20
:\author{Bernadette, Perrin-Riou}
3194 bpr 21
:\email{bpr@math.u-psud.fr}
5724 bpr 22
:\credits{}
3194 bpr 23
 
13704 obado 24
:MDMol File
3194 bpr 25
\text{file=xxx
26
JME 2006.05 Mon Jul 07 08:51:48 CEST 2008
27
 
28
  5  4  0  0  0  0  0  0  0  0999 V2000
29
    0.0000    1.4000    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
30
    3.6373    2.1000    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
31
    2.4249    0.0000    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
32
    1.2124    2.1000    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
33
    2.4248    1.4000    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
34
  1  4  1  0  0  0  0
35
  2  5  1  0  0  0  0
36
  3  5  1  0  0  0  0
37
  4  5  1  0  0  0  0
38
M  END
39
}
40
 
13704 obado 41
:Applet size, in pixels, width x height.
3194 bpr 42
\text{size1=300x300}
43
 
13704 obado 44
:Text before the applet
45
\text{pre=Draw the <strong>methylbutane</strong> molecule}
3194 bpr 46
 
47
:Options
48
\text{option=show_hydrogen=no show_carbon=yes}
49
 
13704 obado 50
:Text after the applet
51
\text{post=<i>Check that your browser's zoom is on the normal size.</i>}
3194 bpr 52
 
11544 obado 53
:%%%%%%%%%%%%%% Nothing to modify until statement %%%%%%%%%%%%%%%%
3194 bpr 54
 
13704 obado 55
\statement{<div class="pre">\pre</div>
56
<div class="wimscenter">
3194 bpr 57
\embed{reply 1, \size1
58
atoms="\atoms" \option}
13704 obado 59
</div>
60
<div class="post">\post</div>
3194 bpr 61
}
62
 
11544 obado 63
:%%%%%%%%%%%%% Nothing to modify after. %%%%%%%%%%%%%%%%%5
3194 bpr 64
 
7718 bpr 65
\answer{}{\file}{type=chemdraw}