5 # Example file for `chem':
6 # Reserpine or C33H40N2O9
8 # Source file position: <groff-source>/contrib/chem/example/reserpine.chem
9 # Installed position: <prefix>/share/doc/groff/example/chem/reserpine.chem
11 # Copyright (C) 2006, 2009 Free Software Foundation, Inc.
12 # Written by Bernd Warken.
14 # Last update: 5 Jan 2009
16 # This file is part of `chem', which is part of `groff'.
18 # `groff' is free software; you can redistribute it and/or modify it
19 # under the terms of the GNU General Public License as published by
20 # the Free Software Foundation, either version 3 of the License, or
21 # (at your option) any later version.
23 # `groff' is distributed in the hope that it will be useful, but
24 # WITHOUT ANY WARRANTY; without even the implied warranty of
25 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
26 # General Public License for more details.
28 # You should have received a copy of the GNU General Public License
29 # along with this program. If not, see <http://www.gnu.org/licenses/>.
31 R1: benzene pointing up
32 bond -120 from R1.V5 ; O
34 R2: flatring5 pointing down double 4,5 with .V2 at R1.V3 with .V3 at R1.V2 put N at 1
36 R3: ring put N at 3 with .V5 at R2.V5
37 R4: ring put N at 1 with .V1 at R3.V3
38 back bond -120 from R4.V4 ; H
39 back bond 60 from R4.V3 ; H
40 R5: ring with .V1 at R4.V3
42 D1: double bond down ; O
43 bond left from D1.start ; O
45 back bond 60 from R5.V3 ; H
46 back bond down from R5.V4 ; O
48 bond 120 from R5.V3 ; O
50 D2: double bond up ; O
51 bond right length .1 from D2.start
52 B: benzene pointing right
55 bond right from B.V1 ; O
57 bond 135 from B.V2 ; O