Rev 8512 | Rev 13704 | 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 | |
5129 | bpr | 4 | :Dessiner une molécule en 2D |
3194 | bpr | 5 | |
5129 | bpr | 6 | On demande de dessiner une molécule dans une applet. |
3194 | bpr | 7 | <p> |
7718 | bpr | 8 | Pour construire un exercice avec ce modèle, il suffit de donner le fichier |
5129 | bpr | 9 | de structure. |
3194 | bpr | 10 | |
11 | <p> |
||
12 | Auteurs du modèle : Bernadette Perrin-Riou <bpr@u-psud.fr> |
||
13 | |||
14 | :%%%%%%%%%%%%%%%%% ATTENTION %%%%%%%%%%%%%%%%%%%% |
||
15 | |||
11544 | obado | 16 | 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. |
||
3194 | bpr | 18 | |
11544 | obado | 19 | :%%%%%%%% Sample parameters to be redefined %%%%%%%%%%%%%%%%% |
3194 | bpr | 20 | |
21 | :\title{Dessiner une molécule} |
||
5147 | bpr | 22 | :\author{Bernadette, Perrin-Riou} |
3194 | bpr | 23 | :\email{bpr@math.u-psud.fr} |
5724 | bpr | 24 | :\credits{} |
3194 | bpr | 25 | |
26 | :Fichier MDMol |
||
27 | \text{file=xxx |
||
28 | JME 2006.05 Mon Jul 07 08:51:48 CEST 2008 |
||
29 | |||
30 | 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 |
||
32 | 3.6373 2.1000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 |
||
33 | 2.4249 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 |
||
34 | 1.2124 2.1000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 |
||
35 | 2.4248 1.4000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 |
||
36 | 1 4 1 0 0 0 0 |
||
37 | 2 5 1 0 0 0 0 |
||
38 | 3 5 1 0 0 0 0 |
||
39 | 4 5 1 0 0 0 0 |
||
40 | M END |
||
41 | } |
||
42 | |||
43 | :La taille de l'applet, en pixels, largeur x hauteur. |
||
44 | \text{size1=300x300} |
||
45 | |||
46 | :Texte avant l'applet |
||
47 | \text{pre=Dessiner la molécule de <b>Méthylbutane</b>} |
||
48 | |||
49 | :Options |
||
50 | \text{option=show_hydrogen=no show_carbon=yes} |
||
51 | |||
52 | :Texte après l'applet |
||
53 | \text{post=<i>Vérifiez que le zoom de votre navigateur est sur la taille normale.</i>} |
||
54 | |||
11544 | obado | 55 | :%%%%%%%%%%%%%% Nothing to modify until statement %%%%%%%%%%%%%%%% |
3194 | bpr | 56 | |
57 | \statement{\pre |
||
5723 | bpr | 58 | <p class="wimscenter"> |
3194 | bpr | 59 | \embed{reply 1, \size1 |
60 | atoms="\atoms" \option} |
||
5723 | bpr | 61 | </p> |
3194 | bpr | 62 | \post |
63 | } |
||
64 | |||
11544 | obado | 65 | :%%%%%%%%%%%%% Nothing to modify after. %%%%%%%%%%%%%%%%%5 |
3194 | bpr | 66 | |
7718 | bpr | 67 | \answer{}{\file}{type=chemdraw} |