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